Communication Setup: Xpanel
Create a new device | To configure the communication device of LGIS PLC, select [Tools] → [I/O Devices] or click the 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 selecting [Ok] in the previous step, the ‘Serial Communication Configuration’ dialog box will pop up. Select ‘LSIS GLOFA PLC Loader’ as the ‘Device Type’, and configure the parameters accordingly. Comm. Port: COM1 Select 'COM1'. When the RS-232 communication type of COM1 port is used, a 9P DSUB connector is used. When RS-422/485 communication type of COM1 port is used, the 5P plug connector is used. Baud rate: 38,400 The configuration of the communication speed of Xpanel must be the same as the equipment. If the speed of both devices is different, they will not communicate with each other. Parity: None Data bits: 8 bits Stop bits: 1 bit RTS/CTS: OFF 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. See the Communication Configuration section for more information about the remaining parameters. |
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 the device number exceeds two, the station number is used to differentiate between the devices on the Xpanel. Station Type: Select ‘GLOFA’. Network ID: This field has no effect. Station No.: 0 16Bit Data Swap: This field has no effect. 32Bit Data Swap: This field has no effect. Using Checksum: This field has no effect. It is automatically checked. 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. |
Wiring Diagram
Wire the communication cables as shown in the following images.
Xpanel connects three lines to the PLC as shown above. If lines other than the ones shown are connected, it can cause problems.
Device Memory Range
Use device memories as shown in the table below:
Direct Variable | Data type | Remark |
%QX0.0.0 - %QX63.7.63 | BIT | Output image area |
%IX0.0.0 - %QX63.7.63 | BIT | Input image area |
%MX0 - %MX524287 | BIT | Direct variable area |
%MW0.0 - %MW32767.15 | BIT | Direct variable area |
%MD0.0 - %MD16383.31 | BIT | Direct variable area |
%QW0.0.0 - %QW63.7.3 | WORD | Output image area |
%IW0.0.0 - %QW63.7.3 | WORD | Input image area |
%MW0 - %MX32767 | WORD | Direct variable area |
%QD0.0.0 - %QD63.7.1 | DWORD | Output image area |
%ID0.0.0 - %QD63.7.1 | DWORD | Input image area |
%MD0 - %MD16383 | DWORD | Direct variable area |