Igital, Nput, Utput – Weidmuller WI-MOD-945-E: 900Mhz Wireless Ethernet & Device Server v2.16 User Manual

Page 47: Odbus, Ransfer, 13 - digital input/output, 14 - modbus i/o transfer

Advertising
background image

Weidmuller Wireless Ethernet Modem & Device Server WI-MOD-945-E User Manual

Page 47

www.weidmuller.com

Rev 2.136

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.15
Modbus I/O Transfer”) or it can be configured to
provide status of the module communications. If
the WI-MOD-945-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 WI-MOD-945-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-945-E can transfer I/O to/from almost any
combination of Modbus TCP or RTU devices.

The layout of the WI-MOD-945-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.

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)

4305

TCP-RTU Connection Status (RS485)

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)

4371

Link Status (read only) inverted

4372

Serial Gateway Connection Status (RS232) inverted

4373

Serial Gateway Connection Status (RS485) inverted

Figure 27 - Digital I/O

Advertising