User’s Manual
Wireless Serial Server GW5120
Copyright © 2009 Neteon Technologies, Inc.
All rights reserved.
9
4.2.3. TCP Client (and Virtual COM)
With TCP Client mode (PC as a server), GW5120 will actively establish a TCP connection to an
application server on PC, or the Remote Control Host. Once the connection is established, PC or
Remote Control Host can exchange data with several serial devices at the same time through
GW5120. Virtual COM can also be enabled if needed.
GW5120 can be set as TCP Client, and PC, as a server, has IP address 10.0.0.100 with listening
port 1000. Each GW5120, connected with serial device, configured as TCP client mode with
destination IP address 10.0.0.100 and the destination port 1000 (IP filter is disabled by default).
Fig 7.
illustrates a TCP Client connection diagram.
Fig 7. TCP Client in Virtual COM Mode
4.2.4. Tunneling Mode
Tunneling Mode is used for multiple serial devices to “talk” among one another through GW5120’s
through wireless LAN or wired Ethernet. This mode is particularly useful when two or more serial
devices are far away. This mode can be used to extend the normal serial communication distance
of 15 meters to 100 meters or longer.
One GW5120 can be configured to be the TCP Server Mode with serial device connected and also
another GW5120 is configured as TCP client with serial device connected. After the connection is
established, both serial devices can exchange data to each other transparently. For example, user
can implement GW5120 tunneling mode for Master /Slave mode PLCs or between other serial
devices.
Fig 8. TCP Link in Tunneling mode