Hi Tim,
Thank you for sharing your progress on Arduino, Modbus, and Mach4. I am building a relatively gantry-type robot, for robotic welding. To achieve this, I need to define M codes (or any equivalent), to control multiple parameters of the welding machine from within the lines of G code. For instance, to increase arc voltage or wire feed speed, or accessing a memory slot in the welding machine, between lines of G code.
I wonder if you could help me understand how to define M codes to perform Modbus TCP communication. The relevant information from the welding machine manufacturer is here
https://resources.userdoc.kemppi.com/manuals/a7-mig-welder-integration-om-en.pdfAt the moment, I understand that it is possible to configure the Modbus TCP protocol on Mach4. I just haven't figured out how to relate this to M codes.
Thank you in advance for any insights you may be able to share with me. Or publicly on the forum, that would be even better I guess.
Cheers
Sergio