Meanwhile....
Automation Professionals is pleased to announce a BETA release of this module, with a significant new feature: Tag Actors.
For Ignition v8.1+: v2.1.0.250841756
The details of the new functionality are in the freshly updated documentation, under Tag Actors.
The Republish action provides a built-in alternative to the Modbus Publishing algorithm I recommend over here:
The Republish action can also be used with expression tags to revive the old OPC writeback functionality, without needing any scripting.
The Bulk Script action can replace most uses of the queueUtil.py
script I introduced in this topic:
The key advantage of the Bulk Script action is that it relieves you of the task managing a long-lived queue object.
The Divert Write actions will likely be the most popular, though, due to a couple key use cases:
-
When subscribing to complete complex objects from an OPC server due to performance or licensing limitations, where the OPC server does support direct access to the leaf nodes of that complex object, any Derived tags that are used to "fan out" the leaf nodes can have their write path hijacked to write directly to the leaf node. No race conditions or any unnecessary complex writes will occur.
-
When receiving tags at high speed from a path that is fundamentally read-only, like Class1 EtherNet/IP buffered data, the writes to such tags can be diverted through another path that can write to the source node. This makes it possible to copy sealed AOI raw data into an I/O buffer or into a DINT array produced tag, decode the raw data into a byte-by-byte equivalent type in Ignition for efficient subscriptions, then divert any desired writes directly to the AOI instance members.
Lightly tested.