VariableInformationFlags (GVL) ¶ InOut: Scope Name Type Initial Comment Constant VIF_COMPLETE_ACCESS WORD 16#1 Complete access to this node, e.g. for array access VIF_DONT_MODIFY_OFFSET WORD 16#2 Internally used for resolving struct members VIF_BITACCESS WORD 16#4 A bit access is requested, e. g. for a direct address like %IX0.0 VIF_SPLIT_HUGE_VARIABLES WORD 16#8 Allow to read/write only a part of the requested variable VIF_CLIENT_ADDRESS_RESOLUTION WORD 16#10 Address/offset/size was resolved by client VIF_NATIVE_SIZE WORD 16#20 VarAccGetSize3() should return native size instead of (client) size VIF_EXTENDED_INFORMATION WORD 16#40 Obsolete, not used anymore VIF_EXECUTABLE_MEMBER WORD 16#80 Member is executable, since V3.5.11.0
VariableInformationStruct (STRUCT) ¶ TYPE VariableInformationStruct : STRUCT InOut: Name Type wStructSize WORD wFlags WORD dwOffset XWORD byBitOffset BYTE xwMonitoringOffset XWORD
VariableInformationStruct2 (STRUCT) ¶ TYPE VariableInformationStruct2 : STRUCT InOut: Name Type wStructSize WORD wFlags WORD dwOffset XWORD byBitOffset BYTE xwMonitoringOffset XWORD xwMonitoringSize XWORD
VariableInformationStruct3 (STRUCT) ¶ TYPE VariableInformationStruct3 : STRUCT WARNING! If you pass this struct to the IecVarAccess or CmpIecVarAccess, it MUST be initialized with IIecVarAccess9.VarAccInitVarInfo() or IecVarAccInitVarInfo() before usage, and it MUST be cleaned up with IIecVarAccess9.VarAccExitVarInfo() or IecVarAccExitVarInfo(). Weird side effects including crashes and memory leaks will result if you do not adhere to this rule. InOut: Name Type Comment wStructSize WORD wFlags WORD dwOffset XWORD byBitOffset BYTE xwMonitoringOffset XWORD xwMonitoringSize XWORD dwArrayOfArrayNesting DWORD hBrowseInfo RTS_IEC_HANDLE aBrowseInfoPool ARRAY [0..27] OF BYTE OBSOLETE: Only for backward compatibility. Not used anymore because data is stored in hBrowseInfo pool.
ITypeDescWithBaseType (ITF) ¶ INTERFACE ITypeDescWithBaseType EXTENDS ITypeDesc TypeDesc nodes which have a base type implement this interfaces. This can be used for the TypeDesc nodes of derived FBs, as well as e. G. for alias types or subrange types. Methods: GetBaseType FindNode , inherited from ITypeDesc Get , inherited from ITypeDesc GetNativeSize , inherited from ITypeDesc GetSize , inherited from ITypeDesc GetSize2 , inherited from ITypeDesc GetSwapSize , inherited from ITypeDesc GetTypeClass , inherited from ITypeDesc GetTypeDesc , inherited from ITypeDesc GetTypeNode , inherited from ITypeDesc NodeFound , inherited from ITypeDesc Set , inherited from ITypeDesc Swap , inherited from ITypeDesc Swap2 , inherited from ITypeDesc Structure: GetBaseType (Method)
ITypeDescWithBaseType.GetBaseType (METH) ¶ METHOD GetBaseType : ITypeDesc InOut: Scope Name Type Return GetBaseType ITypeDesc
ITypeDescWithReferenceType (ITF) ¶ INTERFACE ITypeDescWithReferenceType EXTENDS ITypeDesc TypeDesc nodes which have a base type implement this interfaces. This can be used for the TypeDesc nodes of derived FBs, as well as e. G. for alias types or subrange types. Methods: GetReferenceBaseType FindNode , inherited from ITypeDesc Get , inherited from ITypeDesc GetNativeSize , inherited from ITypeDesc GetSize , inherited from ITypeDesc GetSize2 , inherited from ITypeDesc GetSwapSize , inherited from ITypeDesc GetTypeClass , inherited from ITypeDesc GetTypeDesc , inherited from ITypeDesc GetTypeNode , inherited from ITypeDesc NodeFound , inherited from ITypeDesc Set , inherited from ITypeDesc Swap , inherited from ITypeDesc Swap2 , inherited from ITypeDesc Structure: GetReferenceBaseType (Method)
ITypeDescWithReferenceType.GetReferenceBaseType (METH) ¶ METHOD GetReferenceBaseType : ITypeDesc InOut: Scope Name Type Return GetReferenceBaseType ITypeDesc
IVariableInformation (ITF) ¶ INTERFACE IVariableInformation EXTENDS IBase This interface is intended for internal use only, use the CmpIecVarAccess interface instead. Properties: AccessRights BitAccess BitOffset CompleteAccess DontModifyOffset MonitoringOffset Offset SplitHugeVariables SymbolicName VariableType Methods: IncrementOffset Structure: AccessRights (Property) BitAccess (Property) BitOffset (Property) CompleteAccess (Property) DontModifyOffset (Property) IncrementOffset (Method) MonitoringOffset (Property) Offset (Property) SplitHugeVariables (Property) SymbolicName (Property) VariableType (Property)
IVariableInformation.AccessRights (PROP) ¶ PROPERTY AccessRights : ACCESSRIGHTS