OPCUAClient_ModifyMonitoredItems (FUN) ¶ FUNCTION OPCUAClient_ModifyMonitoredItems : RTS_IEC_RESULT This function changes the parameters of a monitored item. The new parameters are sent to the server. The server thae revices these parameters and send back the selected values. The client will be informed using the parameter change callback. InOut: Scope Name Type Comment Return OPCUAClient_ModifyMonitoredItems RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the subscription of the monitored items. eTimestampsToReturn OpcUa_TimestampsToReturn The timestamps that should be returned by the notifications. noOfItemsToModify OpcUa_Int32 Number of items to be modified. pMonitoredItemsToModify POINTER TO OPCUAClientMonitoredItemConfiguration Pointer to an array of monitored item configurations. Note: It is only possible to change the following values: SamplingInterval Filter QueueSize DiscardOldest
OPCUAClient_SetDataChangeFilterStatic (FUN) ¶ FUNCTION OPCUAClient_SetDataChangeFilterStatic : RTS_IEC_RESULT Use this function to convert the DataChangeFilter into a OPC UA extension object needed to create or modify monitored items. InOut: Scope Name Type Return OPCUAClient_SetDataChangeFilterStatic RTS_IEC_RESULT Input pFilterExtensionObject POINTER TO OpcUa_ExtensionObject pDataChangeFilter POINTER TO OpcUa_DataChangeFilter
OPCUAClient_SetEventFilterStatic (FUN) ¶ FUNCTION OPCUAClient_SetEventFilterStatic : RTS_IEC_RESULT Use this function to convert the EventFilter into a OPC UA extension object needed to create or modify monitored items. InOut: Scope Name Type Return OPCUAClient_SetEventFilterStatic RTS_IEC_RESULT Input pFilterExtensionObject POINTER TO OpcUa_ExtensionObject pEventFilter POINTER TO OpcUa_EventFilter
OPCUAClient_SetMonitoringMode (FUN) ¶ FUNCTION OPCUAClient_SetMonitoringMode : RTS_IEC_RESULT This function changes the monitoring mode of set of monitored items. InOut: Scope Name Type Comment Return OPCUAClient_SetMonitoringMode RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the subscription of the monitored items. monitoringMode OpcUa_MonitoringMode The new monitorng mode for the sent items. noOfMonitoredItems OpcUa_Int32 Number of monitored items to be changed. phItems POINTER TO RTS_IEC_HANDLE Pointer to an array of monitored item handles to be changed.
Subscription ¶ OPCUAClient_CreateSubscription (Function) OPCUAClient_DeleteSubscription (Function) OPCUAClient_ModifySubscription (Function) OPCUAClient_SetPublishingMode (Function)
OPCUAClient_CreateSubscription (FUN) ¶ FUNCTION OPCUAClient_CreateSubscription : RTS_IEC_HANDLE This function creates a subscription on the OPC UA server. The subscription parameters are typically changed by the OPC UA server and sent back as reviced parameters. These parameters are used for timeout calculation and so on. The sending of publish requests is done by the runtime system itself. So no publish requests must be sent. InOut: Scope Name Type Comment Return OPCUAClient_CreateSubscription RTS_IEC_HANDLE A handle to the subscription. Input hConnection RTS_IEC_HANDLE Handle to the connection where to create the subscription. publishingInterval OpcUa_Double The publishing interval that should be used by the server. lifetimeCount OpcUa_UInt32 The liftetime count of the subscription. maxKeepAliveCount OpcUa_UInt32 The maximum number of publishing intervals befor a keepalive is sent. maxNotificationsPerPublish OpcUa_UInt32 The maximum number of notificaitons returned by one publihs response. publishingEnabled OpcUa_Boolean Flag if publishing is enabled on the server. priority OpcUa_Byte The priority of the subscription in respect to other subscriptions of the same session. pResult POINTER TO RTS_IEC_RESULT Result of the operation. callback IOPCUAClientSubscriptionCallback Callback interface to get informed on state and parameter changes.
OPCUAClient_DeleteSubscription (FUN) ¶ FUNCTION OPCUAClient_DeleteSubscription : RTS_IEC_RESULT This function deletes a subscription and all assigned monitored items on the server. InOut: Scope Name Type Comment Return OPCUAClient_DeleteSubscription RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the subscription to delete.
OPCUAClient_ModifySubscription (FUN) ¶ FUNCTION OPCUAClient_ModifySubscription : RTS_IEC_RESULT This function modifies the parameters of a subscription. InOut: Scope Name Type Comment Return OPCUAClient_ModifySubscription RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the connection where to create the subscription. reqPublishingInterval OpcUa_Double The publishing interval that should be used by the server. reqLifeTimeCount OpcUa_UInt32 The liftetime count of the subscription. reqMaxKeepAliveCount OpcUa_UInt32 The maximum number of publishing intervals befor a keepalive is sent. maxNotificationsPerPublish OpcUa_UInt32 The maximum number of notificaitons returned by one publihs response. priority OpcUa_Byte The priority of the subscription in respect to other subscriptions of the same session.
OPCUAClient_SetPublishingMode (FUN) ¶ FUNCTION OPCUAClient_SetPublishingMode : RTS_IEC_RESULT This function can be used to enable or disable the publishing of a subscription. InOut: Scope Name Type Comment Return OPCUAClient_SetPublishingMode RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the connection where to create the subscription. publishingEnabled OpcUa_Boolean True: if publishing should be enabled, False if publishing should be disabled.
View ¶ OPCUAClient_Browse (Function) OPCUAClient_BrowseNext (Function) OPCUAClient_RegisterNodes (Function) OPCUAClient_TranslateBrowsePathsToNodeIds (Function) OPCUAClient_UnregisterNodes (Function)