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,709
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
2
Views
99
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
110
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
261
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
192
Back
Top Bottom