/
15.1.2 Serial Communication Configuration

15.1.2 Serial Communication Configuration

The General configuration page will appear once a new Serial Data Server device has been added successfully. An additional configuration is below the General configuration section and will differ based on the device protocol selected.

Modbus RTU

Item

Description

Device Name

Allows the user to assign a name for the selected data server device.

Device Protocol

Allows the user to select a protocol for a device.

Serial Port

Assigns the local (Xpanel) COM port to use Modbus RTU Slave.
COM1: RS-422/485
COM2: RS-232-C
COM3: RS-232-C (10”/12”/15” Only)

Comm Type

Determine the communication type used (i.e. RS-485 or RS-422).

Baudrate

Configures the baud rate (300bps – 230,400bps).

Parity

Determines whether to use an even, odd, or no parity bit for error checking.

Data Bits

Determines the number of data bits per packet. You can select between 5 and 8 bits. If the data contains Korean characters, please select 8 bits to avoid errors.

Stop Bits

Determines the number of stop bits between frames.

Flow Control

Allows the user to enable or disable flow control. With this option enabled, the MODBUS Master will wait for an acknowledgement signal from the target device before sending another command.

Unit ID

Allows the user to set the Modbus Address of the slave (client) device.

String Encoding

Specifies the string encoding method that external devices will see when accessing tag data.

Note that this option is separate from the string encoding option used by tags in the Tag Editor. This setting cannot be overridden by individual tags.

String Encoding Method

When an invalid character is encountered in a hosted tag’s value, the gateway will use one of the following options:

  • Replace: Replace the character with the question mark character ?.

  • Skip: Skip the character and continue with the next one.

  • Stop: End the string at the previous character and truncate any remaining characters.

Note that this option is separate from the string encoding method option used by tags in the Tag Editor. This setting cannot be overridden by individual tags.

Related content