Commands And Events

The OpcUa 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
ServerConnectedThe OPC server if connected.Normal
ServerDataChangedThe OPC server has sent a subscription based data change notification.Normal
ServerDataChanged_DataPushThe OPC server has sent a subscription based data change notification. This event is fired when the UA client receives data from the UA server, and the items and samples in the data push package are the ones that is received from the server.
See also: APIS data transfer mechanism; Data Push
Normal
ServerFirstTimeDataChangedThe OPC server has sent a subscription based data change notification first time after reconnect.Normal
Catchup-StepNextDoneEvent telling that one data set from catch-up-manager has been applied to items of the module!Normal
Catchup-DoneEvent telling that the catch-up opertation has completed and that module is running in normal real-time mode.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
ResetExternalItemsResets the external item manager, by forcing a full refresh of all external items when the 'HandleExternalItems' is fired next time.Synchronous
ReconnectReconnects to the OPC server.Asynchronous
ResetResets the OPC items in the client by performing a synchronous read from server.Synchronous
SyncStdPropertiesStart synchronization of standard OPCUA properties for all itemsAsynchronous
UpdateItemTimestampCommand used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured.Synchronous
Catchup-StepNextStep the catch-up data 'playback' one step ahead, updating the item values according to next step. The event Catchup-StepNextDone, is fired when all items have their updated values set, to hook other commands onto.Synchronous

See also Commands And Events