Copyright © 2014 ICP DAS Co., Ltd. All Rights Reserved. ∗ E-mail: service@icpdas.com - 51 -
Q5: How to read the status of each connection?
A5: The status for each connection is saved in the sequence of polling definition from local register
address 39600. The maximum number of polling definition in the config.csv file is 250, so the
available address for the connection status is from 39600 to 39849. A Modbus master use
function code 04 to read the status, up to 126 register of status can be read in one command.
For example, the status of the graph shown above is presented as the third column in the
following table.
The value of status:
0: Good
0xFFFF: Timeout
0x8XYY: Exception Rresponse. X - Modbus Function Code. YY - Exception Code.
The function code received is not an allowable action.
The data address received in the query is not an
allowable address.
A value contained in the query data field is not an
allowable value.
The request would generate a response with size bigger
than that available for MODBUS protocol.
Status display on web page
ERROR: ILLEGAL DATA ADDRESS