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 2 Next »

Communication Setup: Xpanel

Create a new device

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

I/O Device Name: Type the device name to identify the equipment. This name will be used in the Tag configuration window of the database accompanied by the station name.

Select a device type

After clicking [Ok] in the previous step, the ‘Serial Communication Configuration’ dialog box will appear.

Select ‘LSIS XGT/XGB Series PLC Cnet’ as the ‘Device Type’, and configure the parameters accordingly.

Comm. Port: COM1

Select communication port to communicate. This example shows you selecting COM1 port.

Baud rate: 38,400

Parity: None

Data bits: 8 bits

Stop bits: 1 bit

RTS/CTS: OFF

This example doesn’t use RTS-CTS control.

Comm. Type: RS232

This example shows communication via RS-232C.

Retry No.: 3

If communication failed with the devices, it will try to reconnect 3 times.

Time Out: 30

The time out count will be 30 seconds.

Using Dial Up Modem: Not Select

This item can be chosen only when using the Dial Up modem.

Create a station

Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box and click the [Add Station] button. The ‘Station’ dialog box will pop up. Configure the contents and click the [OK] button.

Station Name: ST

When device number exceeds 2, the station number is used to differentiate between the devices on the Xpanel.

Station Type: XGT Series

Network ID: This field has no effect.

Station No.: 0

When field equipment number exceeds two, they are assigned different station numbers to differentiate between the devices.

16Bit Data Swap: This field has no effect.

32Bit 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.

Parameter Setup: Network Manager

Run Network Manager

Run ‘Network Manager’ from XGT Loader program and activate I/O configurations.

Comm. Type: RS232C

To Communicate by RS-232C, configure Type to RS232C at Channel 1.

When using RS-422 communication, select RS422. When using RS-485 communication, select RS485.

Speed: 38,400

Data Bit: 8

Stop Bit: 1

Parity: None

Modem type: Null Modem

Modem Initialization: This field has no effect.

Station No.: 0

Station Number is needed for distinction when communicating with several PLCs. When field equipment exceeds two, a different station number is assigned to each unit.

Delay time: 0

Time out: 1

Wiring Diagram

Wire the communication cables as shown below.

RS-232C

       

 

RS-422

       

The wiring in the terminal resistance must be 330 Ω. To improve the stability of communication, devices should connect through SG, using STP cables. Shielded cables must be earthed.

RS-485

 

The wiring in the terminal resistance must be 120 Ω. When using RS-485, connect SDA and SDB, but disconnect RDA and RDB. To improve stability of communication, devices should connect through SG, using STP cables. Shielded cables must be earthed.

Device Memory Range

Use device memories in the following ranges.

Error Codes

When Xpanel communicates with a PLC it can receive a NAK that includes an error code.

For reference, see the error codes in the table below.

  • No labels