Modbus TCP Question

Yay it works! Modbus TCP is fun because everyone implements it differently but the protocol is so simple.
If anyone knows the modbus creator, please ask them if they regret defining address 0x00 as Address 1.
 
Now that I know it is working I have to figure out the rest of my headaches:
- Reading this through either my Red Lion HMI or through the CompactLogix.
If using the Red Lion you might not need the offset. I was set up using the PLC to read the data and for that I had to subtract 1, but for the Red Lion I didn't. If I had to choose again I would go straight for the Red Lion, it made Modbus very easy. Well very easy once I got my head round 'Gateway Blocks'.
 
You can use modbus TCP as a TCP to RTU gateway. So if you had address 34, it would send a message on the 485 bus to node 34. If I were implementing a TCP slave stack I would accept any address. If I was implementing a TCP master stack I would allow to change this number. But not every stack maker does it this way.
 

Similar Topics

Hello guys, I got a question. I have a Wago 750-841 with some modules. I try to control the PLC using Modbus TCP which is working great so far...
Replies
0
Views
1,271
Hi all, I'm working on a wastewater plant where I have a ControlLogix PLC as the master PLC, alongside three packaged systems that are being...
Replies
10
Views
3,862
Hello!! I have a question for you guys, I understand that you can only enable one Message Instruction at a time. I had to use counters and timers...
Replies
9
Views
3,170
Hello, I am trying to read registers from my servo drive and I am having problems. I set up a Modbus TCP driver in Proficy ME that is pointing...
Replies
4
Views
3,354
Hi, Could anyone help me with the following problem? The setup is as follows: Schneider M340 with a NOE 0100.2 ethernet card connected to a...
Replies
3
Views
8,341
Back
Top Bottom