User Manual
XYR301E Wireless Ethernet
34-XY-25-41
Page 51
Registers
Purpose
1 – 4299
General purpose I/O registers (read/write)
4300
On-board Digital Input value (read only)
4301
Link Status (read only)
4302
Serial Gateway (RS232) Connection Status
4303
Serial Gateway (RS485) Connection Status
4304
TCP-RTU (RS232) Connection Status
4305
TCP-RTU (RS485) Connection Status
4306
TCP-RTU Modbus Server Connection Status
4307
Multicast Pipe Connection Status
4310
TCP-RTU (RS232) Number of Connections
4311
TCP-RTU (RS485) Number of Connections
4312
TCP-RTU Modbus Server Number of Connections
4320
On-board Digital Output value (read/write)
3.13
Digital Input/Output
The functionality of the shared Digital Input/Output pin may be configured via the “I/O Transfer” webpage. As this pin
is shared, the Digital Input status will be ON when the Digital Output is set ON.
The Digital I/O channel can be transferred to/from another device using Modbus (see section 3.14 Modbus I/O
Transfer”) or it can be configured to provide status of the module communications. If the XYR301-E disassociates
from another unit (that is, there is no wireless link), you can configure the digital output to turn ON (set) or OFF
(drop).
3.14
Modbus I/O Transfer
The XYR301-E provides Modbus TCP Client and Modbus TCP Server functionality for I/O transfer. 5000 x 16bit
general purpose registers are provided for Modbus (including the onboard Digital Input/Output) and are shared for both
Client and Server. Modbus TCP Client (Master) and Modbus TCP Server (Slave) are both supported simultaneously,
and when combined with the built in Modbus TCP to RTU Gateway the XYR301-E can transfer I/O to/from almost
any combination of Modbus TCP or RTU devices.
The layout of the XYR301-E I/O Registers is summarized in the table below. Each register is internally saved as a 16
unsigned integer value. A Modbus transaction may access the entire 16 bit value of any register, or alternatively the
most significant bit of a register may be accessed as a discrete value. The main use for the general purpose I/O registers
is for intermediate storage, i.e. when transferring I/O from one Modbus Slave device to another. Also provided is the
status of the onboard digital I/O, as well as the status of the wireless link and any serial or TCP connections.
An inverted status of registers 4300 – 4307 are also available and can be found at register locations 4370 – 4377.
The status register will contain the value FFFF (hex) for ON and 0000 (hex) for OFF.
Table 4 Modbus Registers
Содержание XYR301E
Страница 2: ...Page ii April 2012 ...
Страница 18: ......