...
Create a new device | To create a new device, go to [Tools] → [I/O Devices] or click on the I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’. |
Select a network type
| After selecting the [Ok] button on the previous step, the 'Ethernet Communication Configuration' dialog box will pop up as shown below. In this window, select ‘LSIS XGT Series FEnet' in the 'Device Type’ dropdown menu and configure the remaining Ethernet communication parameters. See the Communication Configuration section for more information. |
Create a station | Move to the [Station] tab of the 'Ethernet Communication Configuration' dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel. Each field can be configured as follows: Station Name: Give a name to the PLC. This name will be used in the database window accompanied by the ‘Device Name’. Station Type: Choose the ‘XGL-EFMT’ (no other type can be selected). Network ID: This field has no meaning in this driver (ignored during runtime). IP Address: Input the IP address of the PLC with a dotted-decimal format. Socket Port No.: The socket number should be configured as 2005 for UDP and 2004 for TCP. Please verify your configuration (UDP or TCP) in the [Communication Port] setup tab.
16Bit Data Swap: This field has no effect. 32Bit Data Swap: This field has no effect. Fixed ATVXEL XPANEL Socket Port/ATVXEL XPANEL Socket Port No.: If this option was checked, Xpanel will use only one port defined in the 'ATVXEL XPANEL Socket Port No.' field for connection with the PLC. Otherwise, Xpanel will change the port at every TCP connection or communication error. This option is provided for Xpanel to deal with various TCP port management ways of PLC. Some PLCs have a limit on the number of TCP services. In that case, this option can be applied. The default setting of this option is the unchecked state. Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. See the Communication Configuration section for more information about the remaining parameters. |
Communication Setup: XG5000
...
The address of a tag in Xpanel has the following format.
Tag Type | Format | Example |
Analog | [Symbol][Address] | D064 |
Digital | [Symbol][Address].[Bit Number] or [Symbol][Address][Bit Number] | M012.A or M012A |
Address: decimal number (0..65535)
Bit number: hexadecimal number (0..F)
The following table shows the list of devices that can be referenced in the Xpanel database.
Symbol | Description | Range(Word) | Word Notation | Bit Notation | Type | Access |
P | I/O Relay | 2048 | P123 | P123A | Bit/Word | R/W |
M | Auxiliary Relay | 2048 | M123 | M123A | Bit/Word | R/W |
L | Link Relay | 11264 | L123 | L123A | Bit/Word | R/W |
K | Keep Relay | 8192 | K123 | K123A | Bit/Word | R/W |
F | Special Relay | 2048 | F123 | F123A | Bit/Word | R |
T | Timer (CV) | 2048 | T123 | - | Word | R/W |
C | Counter (CV) | 2048 | C123 | - | Word | R/W |
D | Data Reg | 32768 | D123 | D123.A(1) | Bit/Word | R/W |
N | Comm. Data Reg | 28763 | N123 | N123.A(1) | Bit/Word | R/W |
(1) When a 'D' or 'N’ register is referenced by a digital tag with bit notation, it cannot be written (read-only).
...
The following table shows the list of functions that are supported by the ‘LSIS XGT Series Ethernet’ communication driver.
Function | Support | Remark |
Block Data Read | O |
|
Block Data Write | O |
|
String Real Tag | O |
|
Word Swap | X |
|
Dword Swap | X |
...