User’s Manual
Wireless Serial Server GW5120
Copyright © 2009 Neteon Technologies, Inc.
All rights reserved.
8
4.2.1. Virtual COM Mode
The
Virtual COM
software/driver emulates a serial port with Internet or LAN topology. In the Virtual
COM Mode, COM port data (RS232) is encapsulated to Ethernet data format. By creating a virtual
COM port on a PC, the Virtual COM driver redirects communications from the virtual COM port to
the destination IP address (and the designated port number) by encapsulated COM data into IP
data.
Fig 5.
illustrates a Virtual COM connection diagram.
Fig 5. TCP Connection in Virtual COM Mode
4.2.2. TCP Server (and Virtual COM)
With TCP server mode (PC as a client), GW5120 can be set with a unique IP and Port number, and
waits passively for the PC to establish a connection. After the connection is established, PC can
communicate to serial devices through GW5120. Virtual COM can also be enabled if needed.
GW5120 can be configured as TCP Server via one of the following three configuration methods
(Telnet, Web, and console).
Fig 6.
illustrates a TCP Server connection diagram.
Disabled the IP filter (default)
Set the port number (default port is 4660 for COM1, 4661 for COM2).
If IP filter is enabled, only the assigned source IP is allowed to be connected to GW5120.
Fig 6. TCP Server in Virtual COM Mode