...
Create a new device | To create a new device, select 'Tools' → 'I/O device' in the menu or click on the I/O Device Name: Set 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 ‘Serial Communication Configuration’ dialog box will appear as shown in following picture. In this window, select ‘PGuard gateway’ as the device type, then configure the remaining communication parameters appropriately. These parameters must be matched with the PGuard device. |
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 then appear. Configure the options as shown below, then click the “OK” button.
Station Name: Give a name to the PLC. This name will be used to assign device tag names in the Database, accompanied by the 'Device Name'. Station Type: Choose 'SGW'.(No other type can be slected) Network ID: N/A Station No: Write the designated PLC station No. 16Bit Data Swap: N/A 32Bit Data Swap: N/A Using checksum: N/A Comm. Error Message Pop Up: If When this item is checked, Xpanel displays a communication error notification message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display the a message for communication errors. Only when there is a data transmit error (writing a tag value to the station) will the notification message pop up. The message This message box will close automatically after 5 a few seconds. |
Address Notation
Command Device
Notation: “C00”
Only analog tags may be registered.
Used to command the ‘Device Scan’ feature. Tags are write-only.
Read Buffer Device
6 Bytes of data are received per device.
Notation: “Bm.n.x”
m: received order (0-15)
n: the byte address within the 6-byte group (0-5)
x: The bit address within the specified byte (0-7). This is only used for digital tags.
Examples:
Analog, Word: B0.3, B12.5, B15.0
Digital: B0.4.0, B1.3.7, B14.2.5
If stored to a string tag, the string should have a length of 6 or less.
Tags for this mode are read-only. Writing to tags is not supported by this driver.