Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 13, 2008, 10:01 PM   #1
dieseltwitch
macrumors regular
 
Join Date: Jan 2008
PLC's & OS X

Has any one had any experience working with PLC's and mac. I don't want to use any PC for this project. also what would be the best code to learn to program the HMI in? my biggest fear is trying to interface the PLC processor and the OS together and get them talking.

This is more of a proof of concepts for some bigger project ideas i have. please any help would be wonderful!
dieseltwitch is offline   0 Reply With Quote
Old Nov 14, 2008, 03:01 PM   #2
wrldwzrd89
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Assuming you can get the hardware interface working and the computer + PLC to communicate, any fully compiled language will work, as long as you can compile it to code the PLC understands. C is probably the best choice, but C++ should work just fine also.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Nov 14, 2008, 04:55 PM   #3
dieseltwitch
Thread Starter
macrumors regular
 
Join Date: Jan 2008
The PLC uses ladder logic and has its own programing software. for that i plan on using windows. but just for the programing i can use parallels. want I need is a language that will allow for serial inputs or an ethernet. and be able to out put. this is a project that i just came up with to work the kinks out of before i use it for any thing larger.
dieseltwitch is offline   0 Reply With Quote
Old Nov 17, 2008, 12:53 PM   #4
killerwhack
macrumors regular
 
Join Date: Aug 2004
Location: Los Angeles, California
Process control and Macintosh

Mac's are not famous for their application to process control.

The world is a big place and I am certain somebody has done something with Macs in Process Control but the offerings are going to be scarce.

You might check out Labview by National Instruments. I am pretty sure the virtual solutions would work well too. The development environments offered by Allen Bradley talk to the PLCs via ethernet. Macs and Mac Virtual Machines support ethernet.
killerwhack is offline   0 Reply With Quote
Old Nov 17, 2008, 02:50 PM   #5
yeroen
macrumors 6502a
 
yeroen's Avatar
 
Join Date: Mar 2007
Location: Cambridge, MA
Since OS X is UNIX, I'd search around to see what's been done for UNIX, or Linux in particular.
__________________
all Jarvis, all the time
yeroen is offline   0 Reply With Quote
Old Nov 20, 2008, 11:05 PM   #6
mojiody
macrumors newbie
 
Join Date: Nov 2008
Mac's are also not cost-effective for an industrial solution -

You'd have to write the code to interface with the PLC - generally, you'd need the driver protocols and you'd have to custom-write your own I/O driver, then youd have to code the HMI to communicate.

Its a noble idea, but not practical based on my experience in the industry -

Last edited by mojiody; Nov 20, 2008 at 11:13 PM.
mojiody is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Thinking of buying a G5. Need advice from the plc pros OliverOSX93 PowerPC Macs 24 Aug 1, 2012 03:45 AM

Forum Jump

All times are GMT -5. The time now is 09:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC