This section explains the basics of the feature. Please utilize the feature according to your site environment. |
Example: Exchanging PLC values using the data bridge function
In this section, you will register tag based model and transfer the value in PLC A to the PLC B. Each PLC is connected by Serial and Ethernet, and both of them are communicating with the Xpanel.
a) Enter the device name as ‘PLC A’ and ‘PLC B’ in the [Tools] – [I/O Device]. Each will registered by Serial device and Ethernet Device.
b) Create tags which are indicating points in each PLC. Enter the I/O addresses as ‘D100’ in ‘PLC A’ and ‘D200’ in ‘PLC B’.
c) Go to [Tools] – [Data Bridge] and add a data bridge model. Select model type as ‘Tag Base’ and ‘Sync.’ as ‘Always’. When the value of PLC A changes, the value of PLC B will be matched with it immediately.
d) Add a tag to synchronize the value. Enter the each tag name as ‘PLCA.D100’ in the original tag and ‘PLCB.D200’ in the target tag.
e) Launch the project in the Xpanel. You may see PLC A value is transferred to the PLC B via data bridge.