Versions Compared

Key

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

(blue star)

This section explains the basics gives an illustrative example of the Data Bridge feature. Please utilize the feature according to your site environmentSettings may differ depending on your project’s configuration.

Example: Exchanging PLC values using the data bridge function

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

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

...

b)     Create tags which are indicating points in  Create a real tag for each PLC. Enter the I/O addresses as ‘D100’ in for ‘PLC A’ and ‘D200’ in for ‘PLC B’.

...

c)     Go  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  Add 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  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.

...