Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this section, you will register a tag-based model and transfer a value from PLC A to PLC B. Each PLC A is connected by either serial or Ethernet, and both of them are communicating with serial, while PLC B is connected by Ethernet. Both will be connected to the Xpanel.

a)     Enter the device names as ‘PLC A’ and ‘PLC B’ in the [Tools] – [I/O Device] menu. Register PLC A as a serial device, and PLC B as an Ethernet device. Add a station and configure the remaining I/O device settings for each.

...

b)     Create tags which are indicating points in a real tag for 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 'Tag Base' for the model type as ‘Tag Base’ and ‘Sync.’ as ‘Always’and ‘Always’ for the Sync. Properties option. When the value of in PLC A changes, the value of in PLC B will be matched with it immediately.

...

d)     Add a tag tags to the model to synchronize the valuevalues. Enter the each tag name as ‘PLCA.D100’ in for the original tag and ‘PLCB.D200’ in for the target tag.

...

e)     Launch the project in the Xpanel. You may see PLC A value is transferred to the PLC B via data bridgeWhenever D100 in PLC A updates, D200 in PLC B should update automatically. Notice that the inverse is not true: updating D200 in PLC B does not change the value of D100 in PLC A. To make this happen, you must add another tag pair with D200 as the source and D100 as the destination.

...