![Cooper Crouse-Hinds D2 W MDME 2400 1 Скачать руководство пользователя страница 51](http://html1.mh-extra.com/html/cooper-crouse-hinds/d2-w-mdme-2400-1/d2-w-mdme-2400-1_manual_2662005051.webp)
Chapter Three
Operation
Page 51 November
2008
The above example demonstrates how a Modbus/TCP Client (Master) can connect to one or more
Modbus RTU (i.e. serial) Slaves. In this example, the D2 W MDME 2400 Access Point is
configured with the “RS232 Modbus/TCP to RTU Gateway” enabled. Once enabled, the gateway
converts the Modbus/TCP queries received from the Master into Modbus RTU queries and
forwards these over the RS232 port to the Slave. When the serial response to the query arrives
from the Slave, it is converted to a Modbus/TCP response and forwarded via the network to the
Modbus/TCP Master. If no response was received serially by the D2 W MDME 2400 within the
configured Response Timeout, the D2 W MDME 2400 will initiate a number of retries specified by
the configured Maximum Request Retries.
The Modbus TCP to RTU Gateway may be configured to operate on either the RS232 or RS485
port. It does not support operation on both ports at the same time.
Enable RS232 Modbus TCP
to RTU Gateway
Check this box to enable the Modbus TCP to RTU Gateway on the
RS232 port. Only a single serial port is allowed at a time.
Enable RS485 Modbus TCP
to RTU Gateway
Check this box to enable the Modbus TCP to RTU Gateway on the
RS485 port. Only a single serial port is allowed at a time.
Data Rate
The serial data rate desired. Serial data rates available range from
110bps to a maximum of 115,200bps.
Data Bits Parity Stop Bits
The data format desired. Data formats of 8N1, 7E1, 7O1, 7E2, 7O2 are
supported.
Pause Between Requests
Enter the delay between serial request retries in milliseconds
Response Timeout
Enter the serial response timeout in milliseconds – a serial retry will be
sent if a response is not received within this timeout.
Connection Timeout
Enter the TCP connection timeout in seconds – if no Modbus/TCP data
is received within this timeout, then the TCP connection will be
dropped. Set this field to zero for no timeout.
Maximum Request Retries
Enter the maximum number of request retries performed serially.
Maximum Connections
Enter the maximum number of simultaneous TCP connections to the
server allowed.
Client
LAN
Modbus/TCP Client
(Master)
RS232
Modbus
RTU
Slave
RS232
Modbus/TCP to
RTU Gateway
Access
Point