Hello Guest it is December 08, 2021, 10:27:49 PM

Author Topic: Need help with Mach3 Modbus to BRX PLC  (Read 272 times)

0 Members and 1 Guest are viewing this topic.

Need help with Mach3 Modbus to BRX PLC
« 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.

Re: Need help with Mach3 Modbus to BRX PLC
« Reply #1 on: January 01, 2021, 06:47:44 PM »
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?