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
28
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-C38 when the
program opens the virtual COM port.
*RS422/485 interface (No support)
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-C38, which in turn converts the IP packet
back to serial data.
In this mode, theTRP-C38 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
link will be able to communicate using two TRP-C38 and the LAN.
Two TRP-C38 are configured with one setup as a TCP or UDP client and the other to TCP/UDP
server. When setting up the Server, the Remote IP address section must contain the address of
the Client. This will allow the Client’s IP address to pass the IP address-filtering feature of the
Server. Conversely, the Remote IP address of the Client must contain the Server’s IP address.
*RS422/485 interface (No support)
9-4 Heart Beat
The TRP-C38 provides a convenient way to establish reliable communications between two
devices. Communication port 5300 is reserved for the Heartbeat Protocol. Without this feature a
device that loses a connection and stops communicating would not be able to reconnect without
personally attending to the problem. A TCP data connection can be lost when there is a power