PLC's & OS X

Discussion in 'Mac Programming' started by dieseltwitch, Nov 13, 2008.

  1. dieseltwitch macrumors regular

    Jan 24, 2008
    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!
  2. wrldwzrd89 macrumors G5


    Jun 6, 2003
    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.
  3. dieseltwitch thread starter macrumors regular

    Jan 24, 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.
  4. killerwhack macrumors regular


    Aug 5, 2004
    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.
  5. yeroen macrumors 6502a


    Mar 8, 2007
    Cambridge, MA
    Since OS X is UNIX, I'd search around to see what's been done for UNIX, or Linux in particular.
  6. mojiody macrumors newbie

    Nov 20, 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 -

Share This Page