Configure the Serial Encapsulation mode
- Last UpdatedSep 16, 2024
- 2 minute read
From the Serial Encapsulation list, select one of the encapsulation modes:
-
None: Direct serial communication with the device.
-
TCP/IP: Serial encapsulation over a TCP/IP Ethernet connection.
-
UDP/IP: Serial encapsulation over a UPD/IP Ethernet connection
-
If the Serial Encapsulation is set to None, the Serial Port section appears, and should be configured.
-
COM: Select the COM port to which the target device is connected.
-
Stop Bits, Baud Rate, Parity and Data Bitsarity: Configure the serial communication settings to match the settings that have already been configured on the target device.
-
-
If the Serial Encapsulation is set to TCP/IP or UDP/IP, the Network section appears, and should be configured.
-
IP Address: Enter the IP address of the terminal server.
-
Port Number: Enter the port number on the terminal server that has been assigned to the target device.
-
Server Mode: Select Server Mode check-box if you want to make the target device responsible for establishing communication with this Communication Driver.
Note: This option is not available for UDP/IP.
-
-
In the Block Size (Words) field, enter the maximum number of bytes that will be requested from the device in a single read operation.
Note: You can type any value from 1 to 15. The default value is 7.
-
In the Write word bits (0=No/1=Yes) field:
-
Enter 1, to allow writing to the individual bits of a Word.
-
Enter 0, to not allow writing to individual bits of a Word.
-
-
In the Signed or Unsigned Value dropdown list, select the type of the register value.
-
Use Advanced option to modify additional communication settings. For more information see Advanced Settings.