OpcUa_ContentFilterElement (STRUCT) ¶ TYPE OpcUa_ContentFilterElement : STRUCT InOut: Name Type FilterOperator OpcUa_FilterOperator NoOfFilterOperands OpcUa_Int32 FilterOperands POINTER TO OpcUa_ExtensionObject
OpcUa_EventFilter (STRUCT) ¶ TYPE OpcUa_EventFilter : STRUCT InOut: Name Type NoOfSelectClauses OpcUa_Int32 SelectClauses POINTER TO OpcUa_SimpleAttributeOperand WhereClause OpcUa_ContentFilter
OpcUa_EventFilterResult (STRUCT) ¶ TYPE OpcUa_EventFilterResult : STRUCT InOut: Name Type NoOfSelectClauseResults OpcUa_Int32 SelectClauseResults POINTER TO OpcUa_StatusCode NoOfSelectClauseDiagnosticInfos OpcUa_Int32 SelectClauseDiagnosticInfos POINTER TO OpcUa_DiagnosticInfo WhereClauseResult OpcUa_ContentFilterResult
OpcUa_EventNotificationList (STRUCT) ¶ TYPE OpcUa_EventNotificationList : STRUCT InOut: Name Type NoOfEvents OpcUa_Int32 Events POINTER TO OpcUa_EventFieldList
OpcUa_ExpandedNodeId (STRUCT) ¶ TYPE OpcUa_ExpandedNodeId : STRUCT InOut: Name Type NodeId OpcUa_NodeId NamespaceUri OpcUa_String ServerIndex OpcUa_UInt32
OpcUa_ExtensionObject (STRUCT) ¶ TYPE OpcUa_ExtensionObject : STRUCT InOut: Name Type TypeId OpcUa_ExpandedNodeId Encoding OpcUa_ExtensionObjectEncoding Body OpcUa_ExtensionObject_Body BodySize OpcUa_Int32
DirOpen (FB; Prefix fildop) ¶ FUNCTION_BLOCK DirOpen EXTENDS CBM.ETrig This function block opens a directory. The entries (files and sub-directories) of which should be read with the help of the function block ”FILE. DirList ”. The return value is a handle. There may be restrictions concerning the specification of the directory name, e.g. only capital letters allowed, for different targets. The function ”FILE. GetProperty ” shows these restrictions. InOut: Scope Name Type Comment Input sDirName CAA.FILENAME Directory name, absolute or relative path specification Output eError ERROR Local library error ID (0: no error; 5101: time out) hDir CAA.HANDLE Directory handle
DirRemove (FB; Prefix fildrm) ¶ FUNCTION_BLOCK DirRemove EXTENDS CBM.ETrigToA This function block deletes a directory. Contrary to the original CAA specification the directory may be removed even if it is opened via ”FILE. DirOpen ”. This behavior is dependent of the underlying operating system and file system. InOut: Scope Name Type Comment Input sDirName CAA.FILENAME Directory name xRecursive BOOL TRUE: Remove all files and sub-directories, FALSE: Directory is only deleted, if empty, i.e. if no files and sub-directories are left; otherwise an error will be dumped Output eError ERROR Local library error ID (5107 - FILE_NOT_EMPTY: Directory not empty; will be generated only if xRecursive = FALSE)
DirRename (FB; Prefix fildrn) ¶ FUNCTION_BLOCK DirRename EXTENDS CBM.ETrig This function block can be used to rename a directory and is optional for the different targets. Contrary to the original CAA specification the directory may be renamed even if it is opened via ”FILE. DirOpen ”. This behavior is dependent of the underlying operating system and file system. Whether this function block is implemented or not is explicitly stated and encoded in the return value of the function ”FILE. GetProperty ”. It is not recommended to use this function block to move files (it may work but is system dependent). Please use the appropriate function block ”FILE. Rename ” instead. InOut: Scope Name Type Comment Input sDirNameOld CAA.FILENAME Old directory name sDirNameNew CAA.FILENAME New directory name Output eError ERROR Local library error ID (0: no error; 5101: time out)
File ¶ Close (FunctionBlock) Copy (FunctionBlock) Delete (FunctionBlock) EOF (FunctionBlock) Flush (FunctionBlock) GetAttribute (FunctionBlock) GetPos (FunctionBlock) GetSize (FunctionBlock) GetTime (FunctionBlock) Open (FunctionBlock) Read (FunctionBlock) Rename (FunctionBlock) SetPos (FunctionBlock) Write (FunctionBlock)