/
Fatek PLC Cnet (Serial)

Fatek PLC Cnet (Serial)

Communication Setup: Xpanel

Create a new device

To configure the communication device of LSIS PLC, select [Tools] β†’ [I/O Devices] or click the icon in the main toolbar.

The β€˜I/O Device Configuration’ dialog box will pop up. Click the [New Device] button.

I/O Device Name: Give a device name. The Device Name will be used in the Station Name and tag configuration of the database.

Select a device type

After selecting [Ok] in the previous step, the β€˜Serial Communication Configuration’ dialog box will pop up as shown below.

Select β€˜Fatek PLC Cnet’ from the β€˜Device Type’ dropdown menu, and choose the 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 in the β€˜Serial 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 in runtime).

Station No.: Specify a decimal number between 0 and 126.

16Bit Data Swap: This field has no effect.

32Bit Data Swap: This field has no effect.

Using Checksum: This field has no effect. This communication driver always checks the box.

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. Using CPU Loader Port

  • Run β€˜WinProLadder’.

  • Select [PLC] - [On-Line] from the menu.

  • Select β€˜RS232' in the β€˜Connection Name’ field, and push [Auto Check] to open the β€˜Connect Auto Check’ window.

  • Select the serial port on β€˜Select Port No'.

  • Select PLC Type on β€˜Select PLC Series’.

  • Select PLC side port on β€˜Select Port’.

  • Press [OK] to do the connection auto check.

  • Now that the connection is finished, select [PLC] β†’ [Setting] β†’ [Station Number] to popup the β€˜Station Number’ window.

  • After inputting the PLC station number, press [OK].

  • Select the port parameters on [PLC] β†’ [Setting].

  • Select β€˜Fatek Communication Protocol’ on Protocol.

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

  • If you use a serial loader port, check the Port0 parameter on [PLC] β†’ [Setting].

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.

Β 

Related content