Once a Serial Device is added, the communication configuration page will appear:
General Properties
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 | Select the COM port to be used by the local device (Xpanel). Each COM port may support different communication methods depending on the Xpanel model. You can choose a COM port number up to COM4, or a TTYMCX port up to TTYMCX4 . Refer to the table below for more information. |
Baudrate | Assign the baud rate. You can select a rate from 300 to 115,200 bps. The rate must be identical to the target device’s configuration. |
Parity | Select an option for parity bit usage. Users may select none, even or odd. |
Data Bits | Assign the number of data bits per packet. This option must be equal to the target device’s configuration. Choosing 5~7 bits provides faster communication speed but can cause errors if the data contains Korean characters. If Korean characters are included in the frames, select the 8-bit option. |
Flow Control | Allows the user to enable or disable flow control. |
Stop Bits | Select the number of bits used to signal the end of the frame. You can select 1 or 2 bits. This option must be identical to the setting on the target device. |
Comm Type | Select the communication type used by the target device. You can select RS232, RS422, or RS485. |
Station Number | Enter the station number of the target device. |
※ Please refer to the corresponding driver manual for further configuration.
The following table lists the communication types supported by each COM port of different Xpanel models.
| XT04 | XT07 | XT08 | XT10 | XT12 | XT15 |
COM1 | RS-232C | RS-232C | RS-232C | RS-422/485 | RS-422/485 | RS-422/485 |
COM2 | RS-422/485 | RS-422/485 | RS-422/485 | RS-232C | RS-232C | RS-232C |
COM3 | - | - | - | RS-232C | RS-232C | RS-232C |
Device-Specific Properties
Depending on the selected Device Protocol, the available properties in the PLC Type tab change and a new tab unique to the device type may appear depending on the selection.
Item | Description | |
PLC Type | Allows the user to assign a specific model of PLC for the selected Device Protocol. This option is only enabled for the CIMON CI-bus, LSIS Cnet, and Mitsubishi MELSEC drivers. | |
ModbusRTU | When the ModbusRTU option is selected for the Device Protocol, the following properties are revealed. | |
Swap 16 | Enable/Disable 16-bit data swaps. | |
Swap 32 | Enable/Disable 32-bit data swaps. | |
Swap String | Enable/Disable string swaps. | |
Melsec: Sum Check | Allows the user to enable or disable Sum Checks. |
Station
Users can define the Station Name and Station Number of the selected Serial Device in the Station tab.