CIFX_xChannelOpen2 (FUN) ¶ FUNCTION CIFX_xChannelOpen2 : RTS_IEC_RESULT InOut: Scope Name Type Return CIFX_xChannelOpen2 RTS_IEC_RESULT Input hDriver RTS_IEC_HANDLE szBoard POINTER TO BYTE udiChannel UDINT phChannel POINTER TO RTS_IEC_HANDLE udiQueueMode UDINT
CIFX_xChannelPLCActivateRead (FUN) ¶ FUNCTION CIFX_xChannelPLCActivateRead : RTS_IEC_RESULT InOut: Scope Name Type Return CIFX_xChannelPLCActivateRead RTS_IEC_RESULT Input hChannel RTS_IEC_HANDLE udiAreaNumber UDINT
CIFX_xChannelPLCActivateWrite (FUN) ¶ FUNCTION CIFX_xChannelPLCActivateWrite : RTS_IEC_RESULT InOut: Scope Name Type Return CIFX_xChannelPLCActivateWrite RTS_IEC_RESULT Input hChannel RTS_IEC_HANDLE udiAreaNumber UDINT
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.