Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: garyhlucas on December 14, 2020, 08:45:11 PM
-
I am trying to get Modbus communication going between Mach3 and a BRX PLC. This looks like it should be simple but I am stumped. On the PLC Ethernet Monitor I can see packets going back and forth as the PLC programming software communicates with the PLC. I have added some screen shots here that may give someone with expertise here in Modbus to help me. At the moment the only thing I want to do is send the Spindle Speed S to the PLC as I have 3 different spindles and the PLC can then send the appropriate signals to each device. That part works just fine already.
Thanks
-
I got Mach3 sending ethernet data to the PLC registers using the ModBus TCP test mode. What I want to send is just the S word, Spindle speed. Based on using Machscreen to view the displayed DRO value this should be OemDRO code 17. However I can’t seem to transmit the value of that code. The modbus tutorials all seem to be for serial.
Anyone point me in the right direction?