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 |
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 catchup-manager has been applied to items of the module! | Normal |
Catchup-Done | Event telling that the catchup 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 |
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 |
UpdateItemTimestamp | Command used for updating the value of the item specified in the 'TimeReferenceItem' property, when configured. | Synchronous |
Catchup-StepNext | Step the catchup 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