...
This driver provides a software interface and communication protocol between Xpanel and the SAIA PCD family of devices via the data mode S-BUS protocol.
Communication Setup: Xpanel
Create a new Device | To create a new device, select ‘Tools’ → ’I/O Devices’ or click the I/O Device Name: Give a device name. This name will be used in the tag 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 the following picture: In this window, set the 'Device Type' to ‘SAIA S-BUS’ and configure the remaining serial communication parameters. Ensure that these parameters are matched with the device's configuration. |
Create a station | Move to the ‘Station’ tab of the ‘Ethernet Communication Configuration’ dialog box. In this dialog box, connected PLC stations can be configured and registered to the XPanel. Each field can be configured with the following rules: Station Name: Give a name to the PLC. This name will be used in the tag database, accompanied by the ‘Device Name’. Station Type: Choose the type of connected device (‘PCD Family’ is the only type supported). Network ID: N/A Station No: Specify a decimal number between 0 and 254. This number must match the station number chosen within the device configuration. 16-Bit Data Swap: This option swaps bytes for all word- or double-word-sized data. The following diagram shows an example of byte swapping: Almost all data types will be influenced by this option except INT8 / UINT8 / BCD8 / UBCD8. 32-Bit Data Swap: This option swaps words of all double-word-sized data. The following diagram shows an example of word swapping: Tag values with data types INT32 / UINT32 / BCD32 / UBCD32 / FLOAT will be influenced by this option. String Data Swap: N/A Using Checksum: 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. |
Communication Setup: SAIA PCD Family
The following picture shows device configuration using the PG5 tool from SAIA.
...
$SASI |
Address & Function Codes
The following table lists the valid address ranges for each memory area.
...
Area | Symbol | Word Notation | Bit Notation | Read | Write |
Input | I |
| I0000 - I8191 | YES | NO |
Output | O |
| O0000 - O8191 | YES | YES |
Flag | F |
| F0000 - F8191 | YES | YES |
Timer | T | T0000 - T1599 |
| YES | YES |
Counter | C | C0000 - C1599 |
| YES | YES |
Register | R | R0000 - R4095 |
| YES | YES |
Communication Cable Wiring
Xpanel COM/CPM2 RS-232C | |
XPANEL COM1 RS-422/485 | |
Connection example - RS-232C: PCD2.M150 with PCD7 F120 |
|
The above picture shows the RS-232C and RS-422/485 ports of the Xpanel. Refer to the manual of your device for signal descriptions. In the case of the RS-232C port, Xpanel provides the standard DB9 RS-232C pin assignment.
Supported Functions
The following table lists functions that are supported by the 'SIEMENS S7-200 PPI Direct' communication driver.
...