
79
Rev Version 1.4.1
Rev Version 1.4.1
Figure 85 I/O Diagnostics
Modem Module Information Registers
There are registers available in the module that show modules characteristics, such as serial number and firmware
version. This information is available on the home webpage of the
module’s Web Server. Having the information
available in registers allows a host system to read the values via Modbus (provided the Modbus has been
activated).
•
Register 30494, 30495, and 30496 = Module serial number
•
Register 30497, 30498, and 30499 = Module firmware version
•
Register 30500 = Firmware patch level.
Expansion I/O Diagnostic/Error Registers
The WI-MOD-xxx-E-5W has a number of diagnostics registers are allocated for expansion I/O diagnostic
information. Every connected module has its own diagnostic information that indicates the module type, error
counts, error codes, and so on. The register locations are dynamic with regard to the module address, and require
an offset to read the correct location. The offset can be calculated by reading the
module’s Modbus address,
which can be read on the rotary switches on the end on the expansion module, and multiplying this by 20. For
example, if a module has an address of 2, the offset is (2 x 20) = 40. If it has an address of 18, the offset is (18 x
20) = 360.
Each expansion I/O module has the following diagnostic registers. Add the offset to the fixed register number to get
the actual register location.
Fixed Register
Description
Example
30017
Modbus Error Counter
Number of Modbus errors the modules has had
since it was powered on.
If the module address is #2, the register location will
be 30017+ (2*20) = 30057.
30018
Last 115S Status Code
Modbus Error Code that the module has had.
If the module address is #2, the register location will
be 30018 + (2*20) = 30058.
30019
Modbus Lost Link Counter
Number of communication errors.
If the module address is #2, the register location will
be 30019 + (2*20) = 30059.
30020
Expansion I/O Module Type
•
dec 257 (101hex) indicates a WI-EX-IO-11
module
•
dec 513 (201hex) indicates a WI-EX-IO-12
module
•
dec 769 (301hex) indicates a WI-EX-IO-13
module
If the module address is #2, the register location will
be 30020 + (2*20) = 30060.
115S Expansion I/O Error Codes
These error codes are initiated by the WI-MOD-xxx-E-5W when trying to communicate with 115S expansion I/O
modules, and will only be available if
“Expansion I/O” has been selected as the port type on the Serial
configuration page
(see “4.7 Serial Configuration” on page 35).
Appendix D describes Modbus Error Response Codes that are responses from the slave device showing any errors
it has with the communications.