/
14.2.1 Settings

14.2.1 Settings

Select [Tools] - [Data Server Editor] to open the [Data Server Editor] window. With this window open, press the icon and select [Add Serial Device]. This will bring up another small window where the user can assign a [Device Name] and [Device Type].

Users are currently only able to select [MODBUS_RTU_SLAVE] for the [Device Type] field. After pressing the [OK] button, the user will be presented with another window that displays the communication parameters for the Modbus server.

Item

Description

Device Name

Allows the user to assign a name for the I/O Device.

Device Protocol

Select the type of target device. This also selects the driver used to communicate with the device.

Time Out

The timeout feature periodically checks whether the connection is still valid. If a requested frame is not received in the assigned time, it will be processed as a communication failure. This option is not applied if the protocol is TCP/IP. Values represent multiples of 100ms. For example, a value of 10 represents 1000ms or 1 second.

Retry Count

Assign the number of communication retry attempts after a communication failure.

Serial Port

Assigns the local (Xpanel) COM port to use Modbus RTU Slave.

Baudrate

Configures the baud rate (300bps ~ 256,000bps).

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.

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.

Stop Bits

Determines the number of stop bits between frames.

Comm Type

Allows the user to select from RS232, RS422, and RS485 communication types.

Unit ID

Allows the user to set the Modbus Address of the slave.

Related content