CIFX_xChannelPLCIsReadReady (FUN) ¶ FUNCTION CIFX_xChannelPLCIsReadReady : RTS_IEC_RESULT InOut: Scope Name Type Return CIFX_xChannelPLCIsReadReady RTS_IEC_RESULT Input hChannel RTS_IEC_HANDLE udiAreaNumber UDINT pudiReadState POINTER TO UDINT
OPCUAClient_GetEndpoints (FUN) ¶ FUNCTION OPCUAClient_GetEndpoints : RTS_IEC_RESULT This function sends a GetEndpoints request to an OPC UA server. As this service does not need a valid session this service can be sent using a client instance. An unsecure channel is automatically created to send this service. InOut: Scope Name Type Comment Return OPCUAClient_GetEndpoints RTS_IEC_RESULT Input hClient RTS_IEC_HANDLE Handle to the client to send the GetEndpoints service. psEndpointURL POINTER TO OpcUa_String The URL to send the GetEndpoints request to. callback IOPCUAClientDiscoveryCallback Callback interface to get the results.
Method ¶ OPCUAClient_Call (Function)
OPCUAClient_Call (FUN) ¶ FUNCTION OPCUAClient_Call : RTS_IEC_RESULT This function sends a Call request to the OPC UA server. Several method calls can be done in one operation. The results of the method call are returned by an callback interface. InOut: Scope Name Type Comment Return OPCUAClient_Call RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where to send the read request. pMethodsToCall POINTER TO OpcUa_CallMethodRequest Methods an parameters to call numMethods OpcUa_Int32 Number of nodes to read. iCallCallback IOPCUAClientMethodCallback Callback interface to get the results.
MonitoredItems ¶ OPCUAClient_CreateMonitoredItems (Function) OPCUAClient_DeleteMonitoredItems (Function) OPCUAClient_ModifyMonitoredItems (Function) OPCUAClient_SetDataChangeFilterStatic (Function) OPCUAClient_SetEventFilterStatic (Function) OPCUAClient_SetMonitoringMode (Function)
OPCUAClient_CreateMonitoredItems (FUN) ¶ FUNCTION OPCUAClient_CreateMonitoredItems : RTS_IEC_RESULT This function creates monitored items and addes these items to an existing subscription. Monitored items can be used to sample a single data point or to watch for events sent by specific event notifiers. To get informed on state changes and the actual new values sent by the monitored item the callback interface IOPCUAClientMonitoredItemCallback can be added to each monitored item. The interface contains callbacks for data changes and event notifications as well as for state and parameter changes. InOut: Scope Name Type Comment Return OPCUAClient_CreateMonitoredItems RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the subscription which should be used to handle the monitored items. eTimestampsToReturn OpcUa_TimestampsToReturn The timestamps to be returned by the Monitored items. noOfItemsToCreate OpcUa_Int32 Number of monitored items to create. pMonitoredItemsToCreate POINTER TO OPCUAClientMonitoredItemConfiguration Pointer to an array of monitored item configurations
OPCUAClient_DeleteMonitoredItems (FUN) ¶ FUNCTION OPCUAClient_DeleteMonitoredItems : RTS_IEC_RESULT This function deletes a set of monitored items from a subscription. InOut: Scope Name Type Comment Return OPCUAClient_DeleteMonitoredItems RTS_IEC_RESULT Input hSubscription RTS_IEC_HANDLE Handle to the subscription of the monitored items noOfItemsToDelete OpcUa_Int32 Number of items to delete. phItems POINTER TO RTS_IEC_HANDLE Pointer to an array of monitored item handles.
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