This driver provides a software interface and communication protocol between Xpanel and LSIS Master-K H Series through RS-232 or RS-422/485.
Communication Setup: Xpanel
Create a new device | To create a new device, select ‘Tools’->’I[Tools] → [I/O Devices’ Devices] or click the icon in the main toolbar. The following picture shows the first step in creating a new device. I/O Device Name: Give a device name. This name will be used in the tag database, accompanied by the ‘Station Name’. |
Select a device type
| After selecting the ‘OK’ [OK] button in the previous step, the ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture. In this window, set the ‘Device Type’ to ‘LSIS Master-K S-Series PLC Cnet’ and configure the remaining communication parameters. Ensure that these parameters are matched with the device’s configuration. See the Communication Configuration section for more information. |
Create a station | Move to the ‘Station’ tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, connected PLC stations can be configured and registered to the Xpanel. Each field can be configured with the following rules. Station Name: Give a name to the PLC. This name will be used in the tag database, accompanied by the ‘Device Name’. Station Type: Choose ‘S Series’ (No other options are available). Network ID: N/A Station No: This number must match the station number used by the PLC. See the Communication Configuration section for more information about the remaining parameters. |
Communication Setup: Frame Editor
Configure the PLC communication card settings using the LSIS Cnet Frame Editor.
...
Complete the following steps:
Option -> → Port: Select the PC port used to connect to the loader.
Online -> → Connect
Online -> → Read: Read the configuration from the communication card.
Online -> → Write: Save the changed configurations for communication, and download the changed configurations to the card.
Refer to the Frame Editor manual for more details.
Address Notation
Symbol | Range | Size | Access |
P | P0 - P63F | 64 | R/W |
M | M0 - M203F | 192 | R/W |
L | L0 - L63F | 64 | R/W |
K | K0 - K31F | 32 | R/W |
F | F0 - F63F | 64 | R |
T | T0 - T256 | 256 | R/W |
C | C0 -C256 | 256 | R/W |
D | D0 -D9999 | 10000 | R/W |
S | S0 - S99 | 100 | R/W |
Refer to the above table for available device ranges. If you reference the P, M, L, K, or F devices using a digital tag, the last digit in the address is hexadecimal, while all other digits are decimal. For example, 'P63F' refers to the 16th (F) bit of word 63 in the P device.
For analog tags referencing the P, M, L, K, or F devices, all numbers are decimal, with no reference to sub-bits.
Communication Cable Wiring
RS-232C wiring
| |
RS-422 wiring | Use a terminal resistance of 330 Ω. For more stable communication, connect SG and use an STP cable to securely ground the connection. |
RS-485 wiring | Use a terminal resistance of 120 Ω. When using RS-485, do not connect the RDA and RDB output wires from the PLC to the Xpanel RDA and RDB inputs, but instead to the Xpanel SDA and SDB inputs (as shown). For more stable communication, connect SG and use an STP cable to securely ground the connection. |