Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

Communication Setup: Xpanel

Create a new device

To create a new device, go to [Tools] → [I/O Devices] or click on the (blue star) icon in the main toolbar.

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.

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.

  •  UDP/IP Port: 2005

  •  TCP/IP Port: 2004

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

Fixed XPANEL Socket Port/XPANEL Socket Port No.: If this option was checked, Xpanel will use only one port defined in the '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.

Communication Setup: XG5000

The following image shows a screenshot of the ‘Network Manager’ of the XG5000 programming tool. This window can be activated from the menu through [Tools] → [Network Manager].

IP Address

Give the IP address of the PLC with a dotted-decimal format. This address has to be registered in the device configuration of XpanelDesigner as described before.

Subnet Mask,

Gateway

Give the appropriate values which are provided by the network administrator of your system.

DHCP

Do not use this option. The Xpanel supports fixed IP address devices only.

Driver

Choose the ‘XGT server’ from the dropdown menu.

Address Notation

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).

Support Function Table

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

Block Data Read

This function makes it possible to read bulk data at once. It is applied when using the Recipe, Data Bridge, and Trends on the Xpanel.

Block Data Write

This function makes it possible to write bulk data at once. It is applied when using the Recipe, Data Bridge, and Trends on the Xpanel.

String Real Tag

It makes the device the serialized memory so you can communicate string data of Xpanel with PLC.

Word Swap

This function swaps bytes of all word- or double-word-sized data. It depends upon the 16Bit Data Swap configuration.

Dword Swap

This function swaps words of all double-word-sized data. It depends upon the 32Bit Data Swap configuration.

  • No labels