
ECHIPAMENTE PENTRU AUTOMATIZĂRI
Electric Film S.R.L. — Aleea Scarisoara 3, Apt.42 ▪ Cluj Napoca, Cluj ▪ 400445 ▪ www.electricfilm.eu
VÂNZĂRI ▪ 0364 710319 ▪ [email protected] ▪ SUPORT TEHNIC ▪ 0788 250583
cele mai sensibile
26
9. Application
The TRP-C31S allows serial devices to communicate over a LAN or Intranet network. Serial
devices are no longer limited to a physical connection to the PC COM port. They can be installed
anywhere on the LAN using TCP/IP or UDP/IP communications. This will also allow traditional
PC COM ports access to a serial device anywhere on the LAN network.
9-1 Direct IP Mod
e
Direct IP connections allow applications using TCP/IP or UDP/IP network socket programs to
communicate with the asynchronous serial port on the TRP-C31S. In this type of application the
TRP-C31S is configured to TCP or UDP server. The socket program running on the PC
establishes a communication connection with the TRP-C31S. The raw data is sent directly to and
from the serial port
.
9-1 Virtual COM Mode
The Virtual COM mode requires the installation of a driver. When installed a new COM port is
added to the Device Manager. Windows programs using standard Windows API calls will be able
to interface with Virtual ports. The PC will act as the host connecting to the TRP-C31S when the
program opens the virtual COM port.
Once the connection is made, the LAN is transparent to the serial device. Applications work just
as if the serial device is connected a host’s physical COM port. The virtual COM port converts the
application’s data into IP packet destined for the TRP-C31S, which in turn converts the IP packet
back to serial data.
In this mode, theTRP-C31S must be set to either TCP/server or UDP/server in the menu with a
designated communication port number. The virtual COM driver is a TCP or UDP client.
9-3 Paired Mode
Paired mode is also called serial tunneling. When this type of configuration is selected additional
software will not have to be loaded on a host PC. In fact a PC is not required to make the
connection. Any two dumb serial devices that can communicate with each other through a serial