Q5: How To Read The Status Of Each Connection - ICP DAS USA MDC-714i User Manual

Table of Contents

Advertisement

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.
Def.
Address
number
Def.#001
39600
Def.#002
39601
Def.#003
39602
Def.#004
39603
Def.#005
39604
Def.#006
39605
The value of status:
0: Good
0xFFFF: Timeout
0x8XYY: Exception Rresponse.
Exception
Name
Code
01
Illegal Function
02
Illegal Data Address
03
Illegal Data Value
04
Illegal response
length
Copyright © 2014 ICP DAS Co., Ltd. All Rights Reserved. ∗ E-mail: service@icpdas.com
Status
Status display on web page
0
GOOD
0
GOOD
0xFFFF
TIMEOUT
0x8201
ERROR: ILLEGAL FUNCTION
0
GOOD
0x8402
ERROR: ILLEGAL DATA ADDRESS
X
- Modbus Function Code.
Meaning
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.
YY
- Exception Code.
- 51 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mdc-711Mdc-714Mdc-700 seriesMdc-741Mdc-771

Table of Contents