...
Create a new Device | To create a new device, select ‘Tools’ → ’I/O Devices’ or click the The following picture shows the first step in creating a new device: 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 ‘SIEMENS S7 MPI’ and configure the remaining communication parameters. These parameters must match those chosen for the PLC. Local ID: Give a station (node) number for the Xpanel. This number must not be used by any of the S7 MPI PLCs. The node number can be an integer value between 0 and 126. Network Opt: Designate the maximum station (node) number used in the connected network. If the Xpanel is the unique master in the network, the integer value of (1,000+maximum station number) should be designated. Ex) 15, 31, 63, 126 (when the Xpanel is not the unique master in the network). 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. 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 ‘S7 MPI’ (this is the only available option). Network ID: N/A Station No: Specify a decimal number between 0 and 126. This must be a unique number, matched with the settings of the chosen PLC. 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 secondsSee the Communication Configuration section for more information about the remaining parameters. |
Address Notation
Tags in the database must use the following device address format:
...