DynamicTextIterateIndices (FUN) ¶ FUNCTION DynamicTextIterateIndices : RTS_IEC_RESULT This function can be used to iterate over all indices of a given textlist. An according callback will be called once for each entry in the textlist. Please remark: The order of the entries that are returned may be undefined. InOut: Scope Name Type Comment Return DynamicTextIterateIndices RTS_IEC_RESULT Input pstTextList POINTER TO STRING The name of the textlist that should be iterated pfIterationCallback POINTER TO BYTE The callback function that will be called for every index in the textlist The expected signature is a function returning BOOL with two arguments: a POINTER TO STRING argument reflecting an ID within the textlist. The given POINTER should not be stored for time longer than the overall iteration and the POINTER should not be dereferenced directly but instead it should be copied to a temporary variable before access. a __UXINT value reflecting the value passed in iterationData If the callback function returns FALSE, then the iteration will be cancelled. iterationData __UXINT User provided value that will transparently be passed to all calls of pfIterationCallback
DynamicTextLoadDefaultTexts (FUN) ¶ FUNCTION DynamicTextLoadDefaultTexts : RTS_IEC_RESULT This function loads the default texts from the currently registered text files. as a IEC-String (char* in the runtime) InOut: Scope Name Type Return DynamicTextLoadDefaultTexts RTS_IEC_RESULT
DynamicTextRegisterFile (FUN) ¶ FUNCTION DynamicTextRegisterFile : RTS_IEC_RESULT This function registers a dynamic text file. These registered text files are considered when load or reload is called on the CmpDynamicText component. InOut: Scope Name Type Return DynamicTextRegisterFile RTS_IEC_RESULT Input szFile REFERENCE TO STRING
DynamicTextRegisterPath (FUN) ¶ FUNCTION DynamicTextRegisterPath : RTS_IEC_RESULT This function sets an optional path where the dynamic text files are searched when they are loaded or reloaded by the CmpDynamicText component. InOut: Scope Name Type Return DynamicTextRegisterPath RTS_IEC_RESULT Input szPath REFERENCE TO STRING
DynamicTextReloadTexts (FUN) ¶ FUNCTION DynamicTextReloadTexts : RTS_IEC_RESULT This function reloads all currently registered text files for the currently assigned language. This function could be used for example when you know that a textfile was updated externally and you want to reload those files. InOut: Scope Name Type Return DynamicTextReloadTexts RTS_IEC_RESULT
DynamicTextUnRegisterFile (FUN) ¶ FUNCTION DynamicTextUnRegisterFile : RTS_IEC_RESULT This function unregisters a dynamic text file. The registered text files are considered when load or reload is called on the CmpDynamicText component. InOut: Scope Name Type Return DynamicTextUnRegisterFile RTS_IEC_RESULT Input szFile REFERENCE TO STRING
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.