I'm reworking my mill, moving from Mach to UCCNC and integrating a PLC. I have the UC300ETH_5LPT talking to the PLC via Modbus and can pass data back and forth.
My question is what is the "right way" to pass UCCNC functionality to the PLC? For example, instead of setting a port and pin for flood coolant, do I add some Modbus commands into the M8 macro? Or do a GetLED and set Modbus values in my macro loop?
I just want to start down the right path and I know a lot of you guys have already done this type of thing. I'll take whatever advice and suggestions I can get.