bridge

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Action Edition > Action Reference >

bridge

How to read the manual

This chapter is for reference information only.

For construction procedures, please refer to "Building a gateway between PLC" in the monitoring system construction guide.

 

 

 

 

 

Features of this action

Bridge actions allow you to transfer data from tag to tag.

 

By calling it periodically from Periodic event, the value of the source tag can be automatically transferred to the destination tag.

 

c_action_0356

 

Bridge actions can also be defined across tag units, so they can be used as a gateway function for sharing data between PLCs in environments where multiple device manufacturers or different types of PLCs are mixed.

 

c_action_0357

 

 

 

Action Settings

The settings for this action are explained below.

 

Action specifications

Parameters

none

 

dialog

■ Bridge

 

c_action_0026

 

Take the source value as the cache value
By retrieving the source value from the cache, stable processing can be performed without affecting other actions or communications. Therefore, if you want to transfer in real time, be sure to use the cache.
If this is not checked, the cache value will not be used and communication with the PLC will be performed to obtain the real value each time the bridge action is executed. For batch-like processing where transfers are not performed very frequently, a setting that does not use the cache value is suitable.

 

 

 

hint

In the "Advanced Settings" tab, you can specify the timing for executing a script (SC1) before an action is executed, or the timing for adjusting the execution of the action (setting the execution wait time). For details on the advanced settings of each action, see "Settings on the Advanced Settings tab of an action".

 

 

■ Field settings

 

When configuring a bridge action, you need to add "fields" to define where tags will be forwarded from and to.

To add a field, right-click the action and select Add from the menu that appears.

 

c_action_0358

 

The added fields will be displayed in the multi-view. When multiple fields are added, they will be automatically assigned consecutive numbers such as "B01", "B02", etc. You can use these names as is, but you can also change them freely.

 

c_action_0359

 

The settings in the field property setting dialog are explained below.

 

Setting the Bridge Action Fields

dialog

■ Basic settings

 

c_action_0027

 

Source tag name/Destination tag name
Specifies the source and destination tags. The tag value is transferred from the source tag to the destination tag.
 

Disable
Checking this box will disable processing of that field.

 

hint

Even if consecutive device address areas are not specified in the source and destination tag settings, the internal processing of this action will be optimized to perform communication as quickly as possible.

You can also specify array tags for the source and destination tags. By setting array tags for both, you can transfer consecutive areas at high speed all at once. For more information on array tags, see "Tag Arrays".

 

 

 

hint

The server configuration file for FA-Server is a text file in xml format. If you need to set a large number of tags for a bridge action, you can directly open and edit the server configuration file using a text editor. However, when editing directly using a text editor, be careful not to accidentally delete necessary tags or data.