...
Communication Setup: Xpanel
Create a new device | To configure a communication device, select 'Tools' -> 'I/O Device' in the menu or click the I/O Device Name: Select a device name. This name will be used in the tag configuration window of the database, accompanied by the ‘Station Name’. |
Select a device type | After selecting the ‘OK’ button in the previous step, the ‘Ethernet Communication Configuration’ dialog box will appear as shown in the following picture. In this window, set the ‘Device Type’ to ‘LSIS GLOFA PLC' 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, each connected PLC can be configured and registered to the Xpanel. Each field can be configured with the following rules. Station Name: Set a name for the station. This name will be used in the database window, accompanied by the ‘Device Name’. Station Type: Choose ‘GLOFA’ (this is the only option available). IP Address: Give the IP address of the connected PLC using the dotted decimal format (e.g. 1.2.3.4). Socket Port No: Enter the port number of the connected PLC. For UDP, select 2005. For TCP, select 2004. These ports are reserved exclusively for this communication method. 16-Bit Data Swap: N/A 32Bit Data Swap: N/A String Data Swap: N/A 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. Fixed ATVXEL Socket Port: When checked, allows a specific socket port to be chosen for the Xpanel. This option should generally be left unchecked. I/O Device Write Enable: Enables writing to the I/O device. Data Request Size Limit: When selected, allows maximum data sizes which may be requested by the I/O device. |
Parameter Setup: Enet Frame Editor
Run Enet Frame Editor | Run ‘Enet Frame Editor’ from the GLOFA Loader, then configure the I/O options. PLC Type: GM1 / 2 / 3 (Select the type of PLC which you are using.) IP Address: Input the IP address of the PLC. This must match the value chosen in the Xpanel Designer I/O Device configuration. Subnet Mask: Input the correct Subnet Mask. This must match the value chosen in the Xpanel Designer I/O Device configuration. Gateway: If the PLC is connected outside of the Xpanel’s local network, you must input the IP address of the gateway here. |
Enet Frame Editor: Write | Once Ethernet configuration is complete, select 'Online – Write' in the GLOFA Loader menu. Select the proper slot for the Enet module, then click [Write]. |
...