Modbus Decode

Well RA asserts that in the entire history of Modbus serial no one ever has used FF00 to set a coil. It's always been done by a boolean in that address and then translated within the device doing the sending to FF00.

It's what works in this AOI so I guess its true.
 
I agree it sounds like a strange method to set a single coil, but that's what the Modbus spec says to do. Perhaps because 'under the hood' the Modbus server's response to command code 05 is to read a byte from memory, modify the desired bit within that byte and write the full byte back to memory.
Well RA asserts that in the entire history of Modbus serial no one ever has used FF00 to set a coil. It's always been done by a boolean in that address and then translated within the device doing the sending to FF00.
It sounds like that's the way Rockwell has always done it. And of course there are two ways to do anything, Rockwell's way and the wrong way, correct?
 
Last edited:
I'm sure they just use the last bit anyway. If I was so far off base I would have expected Ken Roach to come here and hammer me about this. :) Love Ya Ken!

Just to make sure this horse is deceased... If they wanted to simplify something they could have encapsulated the registers into the desired data structure so all the bit banging would no longer be necessary! Essentially it's the same thing carried to its logical conclusion.

Bah I'm done. See ya
 

Similar Topics

Where am I going wrong here? I'm trying to turn a modbus register into the expected value of around 375 as displayed on the instrument. According...
Replies
21
Views
5,741
Hello Everyone, I am using a raC_Opr_NetModbusTCPClient AOI module, as below,. So, I need some assistance to restrict in reducing the poling...
Replies
2
Views
152
I want to communicate my Q series PLC with Factory IO using GX works 2 software, I want to use modbus as server and the ips are as follows plc...
Replies
0
Views
103
Hi folks, I have a Controllogix in communication with a zigbee coordinator using Logix AIO for modbus tcp. This zigbee coordinator have 3 slaves...
Replies
10
Views
386
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
150
Back
Top Bottom