OpcUa Replication Item
This itemtype is used to trigger a replication of another ApisHive instance. Each module with items in the replicated server will get an equally named OpcUa module in the replicating client, and one OpcItem for each item in the server. Global attributes for Logger and AlarmArea modules will also be replicated to the client.
The OpcUa Replication item has the following properties:
Name | Description | ID | Flags |
---|---|---|---|
ExtraProperties | Array of additional item properties to replicate for each item | 10130 | Persisted |
ModulenameFilter | Optional filter used to restrict which modules to replicate. Supports wildcards such as '*', '?' and '#' | 10150 | Persisted |
ModuletypeFilter | Semicolon-separated list of moduletypes to replicate. If empty, all moduletypes are replicated. | 10160 | Persisted |
OpcUa server | The name of the OpcUa connection or cluster which should be replicated | 10120 | Persisted |
PublishingInterval | The publishing interval to use on all OpcUa modules | 10140 | Persisted |
ReplicationMode | Specifies how the replication should work | 10125 | Persisted, Enumerated |
SamplingInterval | The sampling interval in milliseconds set on each replicated item | 10145 | Persisted |
StandardPropSync | When to synchronize selected OpcUA Standard Properties from server nodes to local apis item attributes | 10128 | Persisted, EnumeratedFlags |
SyncGlobalAttrs | If enabled, the replication item will synchronize global attributes | 10135 | Persisted |
Value | Boolean value indicating if a replication is currently running. Set this to TRUE to trigger the replication. | 2 | NormalPage |
The ExtraProperties setting specifies an array of Apis Attributes that should be replicated when the SyncStdProperties command is executed on each module.
When ReplicationMode is "Copy", all items found on the server gets a matching OpcItem in the client. When ReplicationMode is "Mirror", a normal "Copy" replication is performed but any OpcItem in the client that is not found on the server gets deleted from the client.
StandardPropSync is a multi-select property with the following options:
- First time adding items
- Each session
- After replication
If "After replication" is activated, the "SyncStdProperties" command is executed on each module after synchronizing the module properties and items.