19
« on: April 29, 2020, 08:29:45 AM »
Hi All,
I'm not actively trying to make this work this second, but I'm interested in learning about trying to interface Mach 4 to an industrial PLC. I had a lot of success implementing a serial communication function within LUA so that got me thinking about other methods.
I have an Allen Bradley ControlLogix PLC. It can talk on almost any industrial communication protocol, but the most common is Ethernet/IP. The quick and dirty way to get this to work would to be to add a Modbus TCP module to the PLC and connect that to the PC, however is Mach 4 capable of Ethernet messaging? Is this functionality built into LUA natively?
I'm thinking mostly about just generic I/O consumption from the inputs on the PLC, but perhaps more involved schemes could be created that would allow Mach 4 to instruct the PLC to do things (not coordinated to the motion planner). Ethernet is wicked fast so I think this would be pretty successful.