VariableInformation (FB)
FUNCTION_BLOCK VariableInformation IMPLEMENTS __SYSTEM.IQueryInterface
- InOut:
Scope
Name
Type
Initial
Comment
Input
MonitoringOffset__XWORDMonitoringSize__XWORDBitOffsetBYTEMethodCallIndexWORD_AccessRightsSymbolicNamePOINTER TO STRING
VariableTypeREFERENCE TO TypeDesc
_wFlagsDWORDOriginalVariableInformationStructPOINTER TO VariableInformationStruct3
0
NestingPathInfoPOINTER TO NestingPathInformation
0
CurrentNestingDepth__XWORDPropertyInformationPOINTER TO PropertyInfo
ReferenceInformationPOINTER TO BYTE
CallingVariableNodenextTypeForFindChildPOINTER TO TypeDesc
Used by array resolution to resolve correclty within the next element. This is because an array does not change the leave node.
UserRTS_IEC_HANDLERTS_INVALID_HANDLE
_UserAccessRightsDWORD_hVariableInstanceSymbolsSetMaskDWORDSymbolSetsActivatedBOOLHandleBrowseInfoBOOLInformationModelBOOLUserAccessRightsBYTEANY_TO_BYTE(-1)
ResolveNodeAfterBrowseBOOLCurrentBrowseNameIndexDINTUseVariableTypeForInitialResolutionBOOLSpecial value signalling that the typedesc VariableType should be used for resolving the initial node. This is probably only relevant when using GetSymbolicSubNode. One usecase of this is the resolution of nested arrays eg. …structCmp[0][1] as then the last node is the one of the structCmp but we need to resolve starting from the left hand array.
Properties:
AccessRights
ArrayOfArrayNesting
BitAccess
ClientAddressResolution
CompleteAccess
DontModifyOffset
ExecutableMember
Offset
SplitHugeVariables
VariableInstance
Methods:
AddBrowseInfo
AddNestingPathInfo
BackupOffset
CopyVariableInformation
CopyVariableInformationBack
DecrementOffset
GetBrowseInfo
GetNextBrowseInfo
GetOrAllocNestingPathInfo
IncrementOffset
OverwriteOffset
RemoveBrowseInfo
RemoveNestingPathInfo
RestoreOffset
Structure:
VariableInformation.AccessRights(PROP)VariableInformation.AddBrowseInfo(METH)VariableInformation.AddNestingPathInfo(METH)VariableInformation.ArrayOfArrayNesting(PROP)VariableInformation.BackupOffset(METH)VariableInformation.BitAccess(PROP)VariableInformation.ClientAddressResolution(PROP)VariableInformation.CompleteAccess(PROP)VariableInformation.CopyVariableInformation(METH)VariableInformation.CopyVariableInformationBack(METH)VariableInformation.DecrementOffset(METH)VariableInformation.DontModifyOffset(PROP)VariableInformation.ExecutableMember(PROP)VariableInformation.GetBrowseInfo(METH)VariableInformation.GetNextBrowseInfo(METH)VariableInformation.GetOrAllocNestingPathInfo(METH)VariableInformation.IncrementOffset(METH)VariableInformation.Offset(PROP)VariableInformation.OverwriteOffset(METH)VariableInformation.RemoveBrowseInfo(METH)VariableInformation.RemoveNestingPathInfo(METH)VariableInformation.RestoreOffset(METH)VariableInformation.SplitHugeVariables(PROP)VariableInformation.VariableInstance(PROP)