Weidmuller Wireless Ethernet Modem & Device Server WI-MOD-E-G/A User Manual
Rev.
2.16
www.weidmuller.com
40
Serial Gateway (Server/Client/Multicast)
Serial Gateway functionality is available for both RS-232 and RS-485 ports independently, and enables serial data to be
routed via the wired or wireless network connection. Serial Gateway functionality is similar to radio modem functionality,
allowing point-to-point and multipoint serial data transfer.
The Serial Gateway can be configured as either as Server, Client, Multicast Group, or Modbus.
When configured as “Server”, the module will wait for a TCP connection to be initiated by a remote client.
When configured as “Client”, the module will automatically attempt to connect to a specified remote server using TCP.
When configured as “Multicast Group”, the module will broadcast data to all members of the same Multicast Group using
UDP.
With the Serial Gateway Server, Client and Multicast functions it is possible for serial data from a WI-MOD-E to be
transferred to any other WI-MOD-E serial ports including the corresponding port on the same WI-MOD-E.
Serial Gateway (Modbus RTU to TCP)
When configured as “Modbus”, will allow a serial Modbus Client (Master) to connect with a single Ethernet Modbus TCP
Server (Slave)
With the Modbus Function the serial data is encapsulated within a TCP/IP data frame and made available on the Ethernet
network.
Both WI-MOD-E serial ports and the hard wired Ethernet port can be configured to communicate completely separate
data streams which can all be communicating at the same time.
Some of the possible Serial Gateway topologies are illustrated below.
Figure 31 - Serial Gateway
There are software packages available (i.e. SerialIP Redirector by Tactical Software) that can create a virtual serial port
on a PC. This virtual serial port can be configured to connect to a WI-MOD-E serial port. Standard programs can then be
used to access this serial port as if it were actually connected to the PC. Alternatively HyperTerminal may be used to
connect to a serial port on the WI-MOD-E. When creating the HyperTerminal connection, select “Connect Using: TCP IP
(Winsock)”, enter the IP address of the WI-MOD-E, and the port selected in the “Network port” field.