To bring up the data bridge editor window, double-click ‘Data Bridge’ in the project workspace, select [Tools] – [Data Bridge], or press the icon. The data bridge editor window will appear as shown below.
Add Data Bridge Model
Pressing the icon adds a new data bridge model. Specific settings vary depending on the model type.
Common Settings
Item | Description |
Model Name | Enter the model name in the text field. Duplicate names are not allowed. |
Model Type | Select the method for synchronizing device data. You can exchange data based on individual tags, contiguous memory blocks, or system memory. |
Tag-Based Model
Item | Description | |
Model Type (Tag Base) | Select ‘Tag base’ as the model type. Source and destination data will be exchanged based on Xpanel tags. This method is used when the number of data points is small, or when values are stored in different values on different devices. You must add source and destination tags (addresses) after configuring the model settings. | |
Sync. Properties | Select the frequency for synchronizing the data. | |
Always | Source and destination data are synchronized immediately when source data is changed. | |
Trigger | Source and destination data are synchronized when the selected tag has a non-zero value. You can choose an analog or digital tag/device address. | |
Periodically | Source and destination data are synchronized at a specified interval. You can assign an interval from 1 to 10,000,000 seconds. |
Using the data bridge function, data is processed on a time scale of seconds. Within a single PLC, or for general device communication, data is processed in milliseconds. Avoid using the data bridge feature for values which need to be updated more than once per second. |
Block-Based Model
Item | Description | |
Model Type (Block Base) | Select ‘Block base’ as the model type. Source and destination data will be exchanged by memory block units. This method is used for transferring consecutive data addresses between destinations. | |
Sync. Properties | Select the frequency for synchronizing the data. | |
Trigger | Source and destination data are synchronized when the trigger tag has a non-zero value. You can choose an analog or digital tag/device address. | |
Periodically | Source and destination data are synchronized at a specified interval. You can assign an interval from 1 to 10,000,000 seconds. | |
Block Size | Enter the number of consecutive addresses (block size) for the block. This will be based on the data type of the starting block. For example, if the block starts with a DWORD (INT32, UINT32, Float, etc.), then the block size represents the number of DWORD's in the block. | |
Source Block Start Addr / Tag | Enter the starting tag or address (on the source device) of the continuous addresses to send to the destination. | |
Source Handshake Start Addr / Tag | This is used internally when Xpanel reads the data. You must enter a digital tag including the same I/O device assignment as the source block. | |
Destination Block Start Addr / Tag | Enter the starting tag or address (on the destination device) for receiving block data from the source. | |
Destination Handshake Start Addr / Tag | This is used internally when Xpanel sends the data. You must enter a digital tag including the same I/O device assignment with destination block. |
Data Bridge for Uploading Device Data to System Memory
Item | Description | |
Model Type (Upload Data to Sys-mem) | Select ‘Upload data to sys-mem’ as the model type. This model reads data from the source to Xpanel’s system memory and synchronizes it. | |
Sync. Properties | Select the frequency for synchronizing the data. | |
Trigger | Source and destination data are synchronized when the trigger tag has a non-zero value. You can choose an analog or digital tag/device address. | |
Periodically | Source and destination data are synchronized at a specified interval. You can assign an interval from 1 to 10,000,000 seconds. | |
Block Size | Enter the number of consecutive addresses (block size) for the block. This will be based on the data type of the starting block. For example, if the block starts with a DWORD (INT32, UINT32, Float, etc.), then the block size represents the number of DWORD's in the block. | |
Source Block Start Addr / Tag | Enter the starting tag or address (on the source device) of the continuous addresses to send to the destination. | |
Source Handshake Start Addr / Tag | This is used internally when Xpanel reads the data. You must enter a digital tag including the same I/O device assignment as the source block. | |
Start Address of System Memory | Assign the starting address in system memory for receiving data. Source data is transferred to system memory beginning at the start address and ending at an offset location determined by the block size. |
Data Bridge for Downloading Device Data from System Memory
Item | Description | |
Model Type (Download Data from Sys-mem) | Select ‘Download data from sys-mem’ as the model type. This model writes system memory data to the destination device. | |
Sync. Properties | Select the frequency for synchronizing the data. | |
Trigger | Source and destination data are synchronized when the trigger tag has a non-zero value. You can choose an analog or digital tag/device address. | |
Periodically | Source and destination data are synchronized at a specified interval. You can assign an interval from 1 to 10,000,000 seconds. | |
Block Size | Enter the number of consecutive addresses (block size) for the block. This will be based on the data type of the starting block. For example, if the block starts with a DWORD (INT32, UINT32, Float, etc.), then the block size represents the number of DWORD's in the block. | |
Destination Block Start Addr / Tag | Enter the starting tag or address (on the destination device) for receiving block data from system memory. | |
Destination Handshake Start Addr / Tag | This is used internally when Xpanel sends the data. You must enter a digital tag including the same I/O device assignment with destination block. | |
Start Address of System Memory | Assign the starting address of system memory for transferring data. System memory data is transferred to the destination and ends at an offset location determined by the block size. |
Edit Data Bridge Model
Pressing the icon modifies the selected model. The model type cannot be changed.
Delete Data Bridge Model
Pressing the icon deletes the selected model.
Add Data Bridge Tag
When the model type is ‘Tag Base’, you must add individual source and destination tags (addresses) for exchanging data. Pressing the icon adds these tags to the selected model.
Item | Description |
Original Addr / Tag | Enter the tag name or address on the source device to send data from. |
Target Addr / Tag | Enter the tag name or address on destination device to transfer data to. |
Edit Data Bridge Tag
Pressing the icon modifies the selected original and target tags (addresses) from the selected (tag-based) model.
Delete Data Bridge Tag
Pressing the icon deletes the selected original and target tags (addresses) from the selected (tag-based) model.