CallGlueDeserializeParameters (FUN) ¶ FUNCTION CallGlueDeserializeParameters : RTS_IEC_RESULT InOut: Scope Name Type Comment Return CallGlueDeserializeParameters RTS_IEC_RESULT Input pArgumentBuffer POINTER TO BYTE buffer where the (not-yet parsed) struct with the arguments is located, the out arguments and result will also be written back to the buffer. nArgumentBufferSize __XWORD size of the argument buffer ITypeDesc REFERENCE TO TypeDesc The TypeDesc of the calleable, it will be used to (de)serialize the parameter struct. pParsedArguments POINTER TO BYTE buffer for the parsed struct with the arguments (this is on the stack) nParsedArgumentSize __XWORD size of the parsed arguments (for safety checks)
CallGlueFunctionParameterSet (STRUCT) ¶ TYPE CallGlueFunctionParameterSet : STRUCT InOut: Name Type Comment pArgumentBuffer POINTER TO BYTE nArgumentBufferSize __XWORD ITypeDesc REFERENCE TO TypeDesc pInstance POINTER TO BYTE pInterface __SYSTEM.IQueryInterface not used yet. RESULT RTS_IEC_RESULT
CallGlueSerializeReturnValues (FUN) ¶ FUNCTION CallGlueSerializeReturnValues : RTS_IEC_RESULT InOut: Scope Name Type Comment Return CallGlueSerializeReturnValues RTS_IEC_RESULT Input pArgumentBuffer POINTER TO BYTE buffer where the (not-yet parsed) struct with the arguments is located, the out arguments and result will also be written back to the buffer. nArgumentBufferSize __XWORD size of the argument buffer ITypeDesc REFERENCE TO TypeDesc The TypeDesc of the calleable, it will be used to (de)serialize the parameter struct. pParsedArguments POINTER TO BYTE buffer for the parsed struct with the arguments (this is on the stack) nParsedArgumentSize __XWORD size of the parsed arguments (for safety checks)
GVL_LibraryDefines (GVL) ¶ InOut: Scope Name Type Initial Comment Constant IECVARACCESS_VERSION_GE_3_1_3_0 INT 1 this variable will be referenced by generated code, so delete and change with care! IECVARACCESS_VERSION_GE_3_2_0_1 INT 2 CMPID_IecVarAccess DWORD 16#1007 IECVARACCESS_LIB_VERSION DWORD 16#3050340 CMPNAME_IecVarAccess STRING ‘IecVarAccess’
GetTypeNodeOptions (ENUM) ¶ TYPE GetTypeNodeOptions : Attributes: qualified_only InOut: Name Initial NoOption 0 GetBaseType 16#1 GetBrowseType 16#2
Helper Functions ¶ AsciiUpper (Function) CompareBrowseName (Function) ConvertToIBranchTreeNode (Function) ConvertToILeafTreeNode (Function) ConvertToITreeWalker (Function) FindByBrowseName (Function) FindNextByBrowseName (Function) IsAcceptedLeafNode (Function) IsInvalidMemoryAddress (Function) MemCpy (Function) MemSet (Function) ReparseIOMemoryAccessExpression (Function) SetResult (Function)
AsciiUpper (FUN) ¶ FUNCTION AsciiUpper : BYTE InOut: Scope Name Type Return AsciiUpper BYTE Input character BYTE
CompareBrowseName (FUN) ¶ FUNCTION CompareBrowseName : DINT Return a value < 0 if name1 is ordered before name2 Returns 0 if both names are equal Return a value > 0 if name1 is ordered before name2 The namespace index is compared first. After that the actual name is compared InOut: Scope Name Type Return CompareBrowseName DINT Input name1 POINTER TO OpcUa_QualifiedName name2 POINTER TO OpcUa_QualifiedName
ConvertToIBranchTreeNode (FUN) ¶ FUNCTION ConvertToIBranchTreeNode : IBranchTreeNode InOut: Scope Name Type Return ConvertToIBranchTreeNode IBranchTreeNode Input pNode IBaseTreeNode
DirectIoAccess ¶ DirectIOBits16 (Struct) DirectIOBits8 (Struct)