Configuration

Prev Next

Note:

Before starting configuration, a new module instance must be created. Click here for more information about creating Module instances.

Agent

An agent is where different links that share some common options are stored. Each agent has the following parameters, which affect all links contained within the agent.

Setting

Description

Write rate

Defines the interval between receiving an input value and writing it to the output. If multiple values are received during this interval, only the most recent one will be recorded. This applies to nodes that lose connection and begin buffering data, so when the connection is restored, all buffered data is sent simultaneously. However, only the latest value received during this interval, often reflecting the real-time value, will be written. This value is displayed in milliseconds with a minimum value of 100 milliseconds.

Number of retries

Set the number of times a value can be retried if it fails to write. Once this limit is reached, the write process stops, and the value is discarded.

Retry interval

Time to wait after write fails before retrying. The minimum value is 1000 milliseconds.

Link

Each link, as the name suggests, connects a source tag to an output tag. The screenshot below illustrates an example of a Linked Tags configuration.

Setting

Description

Input

Input tag that will be copied to the output.

Ouput

Output tag where the input will be copied.

On bad quality input

Action to execute when the input quality is not good:

  • Write default value: Writes the defined default value.

  • Keep last value: Writes the latest good quality value to the output.

Default value

Default value to write when Write default value is selected.

On output change

This setting defines the behavior if the Output tag is modified by an external source (For example, if there’s a manual write or an external system writes to the output tag).

  • Enforce input: Establishes a bidirectional synchronization. If the Output tag value is modified externally and has Good quality, the Linked Tags agent accepts this change and immediately updates the Input tag with the new value to maintain consistency between both tags.

    Example: A Modbus Client tag (Link Input) is linked to an OPC UA Client tag (Link Output).

    1. Standard Operation: Writing to the Modbus Link Input tag automatically updates the OPC UA Link Output tag.

    2. Reverse Operation: When the external OPC UA Server writes a value of 35 to the Link Output tag with good quality, the Linked Tags agent automatically updates the Link Input tag (Modbus) to 35, ensuring both systems stay in sync.

  • Do nothing: Keeps the changed output until the input changes, in which case the input will be copied to the output.

Note:

The Output tag must be configured with Read/Write (RW) access to allow the agent to update values.

If multiple links are configured to target the same Output tag, priority is given to the first link created. To prevent data races, any subsequent links targeting the same destination will be ignored and not executed. A warning will be generated in the system logs indicating that duplicate targets exist.