Commands And Events
The OpcUa module has the following Commands and Events:
Events
Name | Description | Event Type |
---|---|---|
ExternalItems | Timer 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_DataPush | This 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 |
ServerConnected | The OPC server if connected. | Normal |
ServerDataChanged | The OPC server has sent a subscription based data change notification. | Normal |
ServerDataChanged_DataPush | The 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 |
ServerFirstTimeDataChanged | The OPC server has sent a subscription based data change notification first time after reconnect. | Normal |
Catchup-StepNextDone | Event telling that one data set from catch-up-manager has been applied to items of the module! | Normal |
Catchup-Done | Event telling that the catch-up opertation has completed and that module is running in normal real-time mode. | Normal |
Commands
Name | Description | Command Type |
---|---|---|
HandleExternalItems | Command for reading external items. When fired, the module will read all its external items, and update/notify the ones that has changed. | Synchronous |
HandleExternalItems_DataPush | This 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 |
ResetExternalItems | Resets the external item manager, by forcing a full refresh of all external items when the 'HandleExternalItems' is fired next time. | Synchronous |
Reconnect | Reconnects to the OPC server. | Asynchronous |
Reset | Resets the OPC items in the client by performing a synchronous read from server. | Synchronous |
SyncStdProperties | Start synchronization of standard OPCUA properties for all items | Asynchronous |
UpdateItemTimestamp | Command used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured. | Synchronous |
Catchup-StepNext | Step 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