![Cooper Crouse-Hinds D2 W MDME 2400 1 Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/cooper-crouse-hinds/d2-w-mdme-2400-1/d2-w-mdme-2400-1_manual_2662005052.webp)
D2 W MDME 2400 Wireless Ethernet Modem
IF 1584 Rev. 1
IF 1584 Rev. 1
Page 52
3.13
Digital Input/Output
The functionality of the shared Digital Input/Output pin may be configured via the “I/O Transfer”
internal web page. 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” below) or it can be configured to provide status of the module
communications. If the D2 W MDME 2400 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 D2 W MDME 2400 provides Modbus TCP Client and Modbus TCP Server functionality for
I/O transfer. 5000 x 16-bit general-purpose registers are provided for Modbus (including the on-
board 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 D2 W MDME 2400 can transfer I/O to/from
almost any combination of Modbus TCP or RTU devices.
The layout of the D2 W MDME 2400 I/O Registers is summarized in the table below. Each register
is internally saved as a 16-bit 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 on-
board 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.