Commands And Events

The Worker module has the following Commands and Events:

Events

NameDescriptionEvent Type
ExternalItemsTimer event for handling of external items. By default, the command 'HandleExternalItems' is connected to this event, but that can be modified. The timer resolution is specified by the 'ExchangeRate' property.Timer
ExternalItemsHandled_DataPushThis event is fired after it has executed a HandleExternalItems_DataPush command. The data push package part of this ExternalItemsHandled_DataPush event, are all the resulting VQTs (Function items, ordinary external item transfer, etc.) from the HandleExternalItems_DataPush command.
On this ExternalItemsHandled_DataPush event, one can hook any _DataPush command(s) (Log; Scan; UaServerUpdateMonitorItems; HandleExternalItems), to chain a path of execution with data transferred alongside.
APIS data transfer mechanism; Data Push
Timer
TrigEvt1Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt1'Normal
TrigEvt2Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt2'Normal
TrigEvt3Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt3'Normal
TrigEvt4Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt4'Normal
TrigEvt5Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt5'Normal
TrigEvt6Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt6'Normal
TrigEvt7Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt7'Normal
TrigEvt8Event triggered by a TrigEvtBrokerCmd item with 'EventBrokerEntry=TrigEvt8'Normal

Commands

NameDescriptionCommand Type
HandleExternalItemsCommand for reading external items. When fired, the module will read all its external items, and update/notify the ones that has changed.Synchronous
HandleExternalItems_DataPushThis command ensure that all samples for all items and samples in the data push package are applied/used in the external item manager, including in services as Data Validation, Ext Items Transfer Control, etc.
See also: APIS data transfer mechanism; Data Push
Synchronous
UpdateItemTimestampCommand used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured.Synchronous

See also Commands And Events