ICP DAS, MDC-211-ZT user manual , v1.0 Page 40
Copyright © 2018 by ICP DAS. All rights are reserved.
Q5 - How to read each MDC
‐
211
-ZT command status via the Modbus
communication?
MDC-211-ZT can view the real-time status of each Modbus command directly in a Web
UI, and also store the status in the Internal Register starting with the address 39600 (0x2580),
that meaning the Modbus Master can use function code 04 to read the command status.
One command can read up to 126 Internal Register data.
Figure 5.2 Modbus command real-time status example
For example of Figure 5.2 above, Modbus Master uses the function code 04 to read the
connection status from 39600 as Table 5.1.
Table 5.1 The corresponding Internal Register address of the command status
Command No. Addresses State Code
Web Page Display
#001
39600
00 00
GOOD
#002
39601
83 02
ILLEGAL DATA ADDRESS
#003
39602
83 03
ILLEGAL DATA VALUE
#004
39603
FF 00
DISABLED
#005
39604
FF FF
TIMEOUT