Weidmuller WI-I/O-9-U2: Wireless Mesh I/O & Gateway User Manual V1.2.2 User Manual

Page 94

Advertising
background image

93

Each Expansion I/O module has the following registers.

30017 + Offset = Modbus Error Counter (number of errors the modules has had)

30018 + Offset = Last WI-I/O-EX-1-S Status Code / Modbus Error Code.

Will display the following WI-I/O-EX-1-S Status Codes (Hex code 1-5 & 129), as
well as the standard Modbus Response Codes shown in Appendix D with a slight
difference in the code.

The MSB will be one of the following bytes, 82, 84, 8F or 90 followed by the
standard Modbus Response codes (01 -0B).

Dec

Code

Hex

Code

Name

Meaning

1

0001

No Response

No response from a poll

2

0002

Corrupt/invalid

Corrupt or invalid data

3

0003

CRC Fail

CRC error check does not match the message, Different
message or possible data corruption.

4

0004

Response did
not match
request.

The response heard was not the correct ID, possibly heard
other RS485 traffic.

5

0005

Message type
did not match
request.

The response heard did not match the requested poll, i.e.
different command response, possibly heard other RS485
traffic.

81

0129

Problem
accessing
local memory

Could not access register location, possibly because the
register is not initialised.

??01-

??0B

Standard
Modbus Error
Codes

As per Appendix D: Modbus Error Codes

30019 + Offset = Modbus Lost Link Counter (number of Communication Errors)

30020 + Offset = Modbus Module Type

dec 257 (101hex) indicates a WI-I/O-EX-1-S-11

dec 513 (201hex) indicates a WI-I/O-EX-1-S-12

dec 769 (301hex) indicates a WI-I/O-EX-1-S-13

Advertising