Skip to main content

Data Forwarding

Data Forwarding sends collected variables, device states, alarms, and events to external systems. It can also write real-time data, historical data, or historical alarms to storage targets.

There are two objects to configure: the forwarding group decides what to send and when; the forwarding target decides where to send it.

Quick setup

  1. Open Development Configuration → Data Forwarding and create a forwarding group.
  2. Select a variable range and trigger mode. Use a small range for the first verification.
  3. Add a target under the group and select a target plugin.
  4. Fill in the target connection properties. Maintain target variable properties only when a variable needs an external field or address.
  5. Enable the group and target, then confirm that the target is online without continuous errors.
  6. Open the target's Debug tab or check its logs and verify that the external system received a test record.

Quick terminology

TermMeaning
Forwarding groupA set of variables and trigger rules to send.
Forwarding targetA data destination such as MQTT, a database, a webhook, or a protocol server.
Group variableA variable member of the group. In a manual range, it determines the actual members.
Target variable propertyThe external mapping of one variable for one target, such as a field name, address, or write permission.
Trigger modeWhen data is sent: on change, on a schedule, or on either.
Online filteringSends only online variables. Offline variables are excluded when enabled.
Offline cacheStores data locally while the external system is unavailable and sends it after recovery.
Target redundancyA standby target that takes over when the primary target fails.
DebugA target detail page used to verify publishing, subscription, client, or server status.

Page entry

Menu path: Development Configuration → Data Forwarding.

Forwarding groups, targets, and runtime state

AreaPurpose
Forwarding group listAdd, edit, delete, enable, disable, and restart groups.
Forwarding target listManage targets, target variable properties, and target runtime state for the selected group.
Detail areaView group logs, target logs, details, and the debug page.

Configure a forwarding group

Click Add in the forwarding group panel to open the group editor.

Forwarding group editor

SettingDescription
NameDisplay name of the group. Include the business scope, for example Line-A_Realtime.
EnableControls whether the group runs. A disabled group does not start its targets.
Log levelGroup log detail. Temporarily use a higher level during commissioning, then restore Info.
Variable rangeAll variables, manual selection, collection devices, or collection groups.
Range settingsNames used by a collection-device or collection-group range. Separate multiple names with English commas.
Trigger modeOn change, scheduled, or scheduled/on change.
Schedule intervalRequired when the trigger includes scheduling. Enter milliseconds or a Cron expression; routine cycles should use milliseconds such as 1000.
Online filteringSends only online variables when enabled.
Batch modeNo batching, one combined batch, by data group, by device, or by collection group.
Maximum batch sizeMaximum variables in one request or message. Use it to control payload size.
DescriptionRecords the group purpose, range, and maintenance notes.

Select a variable range

RangeUse it when
All variablesThe whole installation must be uploaded.
Manual selectionOnly key points or a pilot set should be sent.
Collection deviceThe target should follow one device or a device set.
Collection groupVariables are already organized by collection group.

Select triggers and batches

RequirementRecommended setting
Send when the value changesOn change.
Send at a fixed intervalScheduled, with an interval in milliseconds.
Send on change and periodicallyScheduled/on change.
One message per deviceBatch by device.
One message per business groupBatch by data group or collection group.
Let the target handle a small payloadNo batching.

Maintain group variables

When the range is manual, the group variable list is the member list. For other ranges, it can override variable-level settings.

SettingDescription
VariableVariable to add or configure for this group.
EnableIncludes or excludes the variable from this group.
Data groupGroup name used by by data group batching.
UpdateOverrides the variable trigger mode for this group.
Group triggerAllows a variable change to wake the whole group.
AliasExternal variable name used by the target.

Configure a forwarding target

Select a forwarding group, then click Add in the target panel.

Forwarding target editor

SettingDescription
Forwarding groupThe group that owns the target. The target consumes only that group's range.
Target nameUnique name within the group. It is used in logs, redundancy, and import/export.
EnableStarts the target and makes its debug page available.
PluginSelects the data-forwarding plugin and exposes its target properties.
Log levelTarget log detail.
Startup timeoutTime allowed for the target to connect or initialize, in seconds.
DescriptionRecords the target purpose and maintenance notes.
Plugin target propertiesProperties provided by the selected plugin. Use the matching page in the Plugin Manual Index for field details.

Where to find plugin properties

This page covers the common target workflow. MQTT, Kafka, RabbitMQ, Webhook, Modbus, OPC UA, IEC104, IEC61850, database, and SyncBridge-specific properties, templates, debug tabs, and troubleshooting are documented in the matching data-forwarding plugin manual.

Target variable properties

Target variable properties define the external mapping of one variable for one target. They do not define the forwarding group's member range.

Typical uses include:

  • External field names, aliases, and custom data fields.
  • Modbus slave addresses, data types, and write permissions.
  • Upload fields for MQTT, Kafka, RabbitMQ, and Webhook targets.
  • Sampling strategy, sampling interval, and condition expressions for historical-data targets.

Select a valid target and variable before editing these properties. The variable must be inside the group's range for the mapping to take effect.

Target variable properties panel

Enable and verify

After saving, confirm in order:

  1. The forwarding group is enabled.
  2. The target is enabled and shows a running state.
  3. The target's variable range is not empty.
  4. Target logs contain no connection, authentication, or send errors.
  5. The external system receives one test record.

An online target does not prove that data has arrived. Check both the target log and the receiving system.

Debug and logs

Select a target and click Debug. The page varies by plugin and may provide publishing, subscription, client-list, server-status, or protocol operations.

MQTT client publish debug page

When a target does not start or sends no data, check the Forwarding Target Log first, then the Forwarding Group Log.

SymptomCheck first
Target does not startGroup and target enable states, plugin enable state, and required target properties.
No data is sentVariable range, variable enable state, trigger mode, and online filtering.
Target is online but the receiver has no dataTarget log, receiver credentials, Topic/URL/table name, and payload format.
Scheduled forwarding does not runTrigger mode includes scheduling and the interval is milliseconds or a valid Cron expression.
Change forwarding does not runThe variable really changed; check Group trigger when a whole-group wake-up is required.
Offline cache keeps growingExternal service recovery, disk space, upload batch size, and concurrency.

Target redundancy

Target redundancy switches sending from a primary target to a standby target.

  1. The primary and standby targets must belong to the same forwarding group.
  2. The standby target should use the same plugin, with its own connection and credentials.
  3. A standby target must not also be the standby for another target, and it should not enable its own redundancy.
  4. Perform one controlled switch before production and verify that the standby target can send.

Import and export

Data-forwarding configuration can be imported and exported for backup, migration, and batch changes. After importing, check failed rows and recheck the group range, target plugin, and target variable properties.