
Appendix B _________________________________________________________ Modbus Reference
VAISALA _______________________________________________________________________ 187
Diagnostic Sub-Functions
DMT340 supports some of the Modbus diagnostic functions described in
the Modbus Application Protocol Specification V1.1b. These diagnostic
functions are accessed with function code 08. See Table 43 below for
details.
Table 43 DMT340 Modbus Diagnostics
Option
Cancels the “Listen Only” mode.
Data field must be set to “00 00”
for Restart Communications
Option. Sub-Function 01 with
data field “FF 00” is rejected.
Return Diagnostic Register
Non-zero if there are active
transmitter errors.
For same error information, see
status registers 0516 and 0517.
The value of the Diagnostic
Register is a logical OR of these
Clear Counters and
Diagnostic Register
Diagnostic Register cannot be
cleared
Total number of messages seen
on the bus/interface
Error Count
Number of messages with bad
Modbus RTU CRC or Modbus
Return Bus Exception Error
Count
Number of Modbus exception
responses sent
Return Slave Message Count
Number of Modbus messages
processed
Count
Number of Modbus messages
received without sending a
response. This happens for
received broadcast messages
(Modbus RTU only) or when
DMT340 is in the “Listen Only”
Although Modbus Diagnostics are standardized only for serial line
devices, DMT340 supports the same diagnostic functions also on
Modbus TCP.
NOTE
Resetting, powering up the transmitter, or reselecting the
Modbus mode
(by serial command or with the user interface) resets all
Modbus
diagnostic counters and cancels any “Listen Only” mode.
Commentaires sur ces manuels