Digital Input/Output; Modbus I/O Transfer - Weidmuller WI-MOD-E-G User Manual

Wireless ethernet modem & device server
Table of Contents

Advertisement

Weidmuller Wireless Ethernet Modem & Device Server WI-MOD-E-G/A User Manual

3.14 - 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 "Modbus I/O Transfer" below) or it
can be configured to provide status of the module communications. If the WI-MOD-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.15 - Modbus I/O Transfer

The WI-MOD-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 WI-MOD-E can transfer I/O to/from almost any combination
of Modbus TCP or RTU devices.
The layout of the WI-MOD-E I/O Registers is summarized in the table below. Each register is internally saved as a 16 bit
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. The 16 bit status register contains the value FFFF (hex)
for ON and 0000(hex) for OFF. Inverted status registers are also provided where the registers contain 0000(hex) for ON
and FFFF (hex) for OFF.
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 Connection Status (RS232)
4303
Serial Gateway Connection Status (RS485)
4304
TCP-RTU Connection Status (RS232)
TCP-RTU Connection Status (RS485)
4305
4306
TCP-RTU Modbus Server Connection Status
4307
Multicast Pipe Connection Status
4310
TCP-RTU Number of Connections (RS232)
4311
TCP-RTU Number of Connections (RS485)
4312
TCP-RTU Number of Connections (Modbus Server)
4320
On-board Digital Output value (read/write)
4370
On-board Digital Input inverted value (read only)
Link Status (read only) inverted
4371
4372
Serial Gateway Connection Status (RS232) inverted
Rev. 2.16 
Figure 34 - Digital I/O
www.weidmuller.com  
 
45 

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wi-mod-e-a

Table of Contents