How to determine comm timing

jimpad

Member
Join Date
Sep 2004
Location
Paducah, KY
Posts
88
I'm designing a system which will have up to 9 D06's communicating on a Modbus network using port 2. I'll probably be gathering 20 registers from each unit. How do I determine the communications delay to acquire the 20 registers from all 8 units. The ninth unit is the master.

Thanks,
Jim
 
The overhead on modbus is roughly 11 bytes (that includes the 3 byte time delay required by the protocol). You'll be issuing a read command (12 bytes) and waiting for a response of 11 + 20 bytes (if you use block reads. You're up to 12 + 11 + 20 = 43 bytes per node * 8 nodes = 328 bytes. 344 bytes * 11 bits per byte (start, 8 data, parity, stop) = 3784 bits total.

Divide by your baud rate (bits per second), and that should be your magic number.

AK
 
It's been close enough for me, in most cases.

I just noticed that I corrected one of my total byte counts and not the other. I rechecked the modbus spec and had to increase the bytes per node. The right number is 344.

AK
 

Similar Topics

Hello, i am a beginner with a Siemens Logo 8 PLC. I would determine the direction of an object if it passes a whole cycle of 2 input sensors. See...
Replies
2
Views
177
Hi all, Just looking through the CIP_AXIS_DRIVE data type in a Logix controller to look for something that can tell me whether the current...
Replies
2
Views
1,059
I'm currently working on an MES interface PLC which passes around a whole bunch of strings. A lot of these strings are really just to allow for an...
Replies
0
Views
1,112
I don't use AB much these days, and any installs I've done in years past have been setup by myself from scratch, so I've always known what...
Replies
8
Views
2,078
Hello: I wonder if there is a way to find the CPU load of a Logix processor, and if it is not possible to determine this in an absolute way, I...
Replies
6
Views
1,984
Back
Top Bottom