
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
www.control.com/rss
code 8, sub function Code 00.
The Modbus Application Protocol Spec V1.1a shows the Data section of the message to be N x 2 bytes in size, yet the message does not contain any additional byte count information. This may be ok for Serial ASCII which wraps each message in special characters (':"<message>"\n") but Serial RTU does not. It is unclear to me how a
Modbus Slave could determine the end of such a message.
Does anyone have any input on this? could this be a typo in the spec? All additional function code 8 sub function codes show fixed size (two
byte) Data sections.
Thanks.
Each subfunction has it's own special definition for the packet.
From the book:
"Most of the diagnostic queries use a *two–byte* data field to send diagnostic data or control information to the slave."
Function 8, sub function 0000 only has a fixed length, 2 bytes long, data field. Therefore there is no need to send 'N' and it should be easy to determine the end of the packet.
FYI: One of the methods used to determine the end of the packet is to use the packet timeout which is typically 3.5t (byte-time) (and a fixed time for fast baud rates).
-Max
In Modbus RTU the interval of at least 3.5 character times marks the end of the message. A new message can begin after this interval.
Regards,
Andrzej
www.modbus.pl
http://groups.google.com/group/NModbus-discuss/browse_thread/threa d/d642162d5f68a36c
- Temperature, relative humidity sensors pair with wireless network
- Industrial Ethernet: High density I/O, no-tool RJ45 Ethernet connector, extenders
- RFID: Tag for boxes or polymeric containers, future trends, training
- Wireless: Free software enhances remote keyless entry security
- Radioland: Wireless spread spectrum, frequency hopping, data radio devices
- NEMA publishes code for electrical metering; ZigBee for wireless smart metering
- Free webinar on Zigbee for embedded systems
- WirelessHART compliance verification receiver available
- PTO reports high growth, cross-industry collaboration
- Wireless helps Hexion with smoke detection, control room reporting
Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.
Patronize our advertisers!



