User Tools

Site Tools


vclient

Virtual Serial Client

The Virtual Serial Client mode is used to provide a TCP interface to a serial device. The serial device will then appear as an IP client to an IP server.

Virtual Serial Client

The Virtual Serial Client mode does not require the end points to use a request/response protocol. However, there is one exception. When COM2 is used in the RS-485 two-wire mode then a write to the COM2 port must be followed by a read. The COM2 serial port, in that mode, is therefore the recipient of a request from the IP100 and returns a response to the IP100.

The configuration parameters are:

IP Address IP address of the client port. Must be x.x.x.x where each x is in the range 0 to 255.
IP Port IP port number. It is best to use 1024 and above since lower numbers are well-known ports.
COM Port Serial port number in the range 0 to 4.

Example: Modbus Master

In this example one modbus master is connected to the Internet using an IP100 configured as a virtual serial client. Even though modbus is shown in this example the Virtual Serial Client mode can use any protocol.

Modbus Master

vclient.txt · Last modified: 2023/08/29 13:56 by