Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a new device

To configure the communication device of LSIS PLC, go to [Tools] - [I/O deviceDevices] or click the (blue star) icon in the main menu. The ‘I/O Configuration’ dialog box will show up. Click on the [New Device] button.

I/O Device Name: Give a device name. This name will be used in the Tag tag configuration window of the database accompanied by the Station Name‘Station Name’.

Select a device type

After selecting [Ok] on the previous step, the ‘Ethernet Communication Configuration’ dialog box will pop up as shown in the following picture.

Select ‘Fatek PLC Enet’ in the ‘Device Type’ dropdown menu, and choose appropriate communication parameters. Those parameters must be matched with the PLC. See the Communication Configuration section for more information.

Create a station

Move to the [Station] tab of the ‘Ethernet Communication Configuration’ dialog box and click [Add Station]. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel.

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 'FATEK PLC' (no other type can be selected).

Network ID: This field has no meaning in this driver (ignored during runtime).

IP Address: Input IP Address FATEK PLC

Socket Port No.: Input Major Port FATEK PLC.

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

String Data Swap: This field has no effect.

Using Checksum: This field has no effect.

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 Setting: FATEK PLC

1. IP Setting

...

  • Go to the [General] tab to set the IP address, Subnet Mask, and Gateway.

  • Check the ‘Remote Config’ box to enable it.

  • Select ‘Server’ for the ‘Operation Mode’.

...

  • Go to the [Misc.] tab to set the Major Port, on the 'FATEK Service Port Number'.

  • After finishing the parameter setting, press the [OK] button.

Address Notation

...

Name

Symbol

Digital

Analog

16-Bit

32-Bit

Input discrete

X

X00-X9999

WX00-WX9984

DWX00-DWX9984

Output relay

Y

Y00-Y9999

WY00-WY9984

DWY00-DWY9984

Internal relay

M

M00-M9999

WM00-WM9984

DWM00-DWM9984

Step relay

S

S00-S9999

WS00-WS9984

DWS00-DWS9984

Timer discrete

T

T00-T9999

WT00-WT9984

DWT00-DWT9984

Counter discrete

C

C00-C9999

WC00-WC9984

DWC00-DWC9984

Timer register

TMR

 

RT00-RT9999

DRT00-DRT9999

Counter register

CTR

 

RC00-RC9999

DRC00-DRC9999

Data register

HR

 

R00-R65535

DR00-DR65535

Data register

DR

 

D00-D65535

DD00-DD65535

(1) Word tag is supported by 16-Bit only.

(2) Digital address is used only for digital tags.

(3) The 32-Bit address is used only for 32-Bit analog tags.

...

You can configure the cable and allocation pin number of RJ45 as shown below.

...

RJ45 Connector

RJ45 Jack

Image AddedImage Added

Direct Cable: Host ↔︎ HUB

...

Cable

No

Color

Color

No

Cable

Image Added

1

Orange/White

Orange/White

1

Image Added

2

Orange

Orange

2

3

Green/White

Green/White

3

4

Blue

Blue

4

5

Blue/White

Blue/White

5

6

Green

Green

6

7

Brown/White

Brown/White

7

8

Brown

Brown

8

Crossover Cable: Host ↔︎ Host

...

Cable

No

Color

Color

No

Cable

Image Added

1

Orange/W

Green/W

1

Image Added

2

Orange

Green

2

3

Green/W

Orange/W

3

4

Blue

Blue

4

5

Blue/W

Blue/W

5

6

Green

Orange

6

7

Brown/W

Brown/W

7

8

Brown

Brown

8