VariableInformation (FB)

FUNCTION_BLOCK VariableInformation IMPLEMENTS __SYSTEM.IQueryInterface

InOut:

Scope

Name

Type

Initial

Comment

Input

MonitoringOffset

__XWORD

MonitoringSize

__XWORD

BitOffset

BYTE

MethodCallIndex

WORD

_AccessRights

AccessRights

SymbolicName

POINTER TO STRING

VariableType

REFERENCE TO TypeDesc

_wFlags

DWORD

OriginalVariableInformationStruct

POINTER TO VariableInformationStruct3

0

NestingPathInfo

POINTER TO NestingPathInformation

0

CurrentNestingDepth

__XWORD

PropertyInformation

POINTER TO PropertyInfo

ReferenceInformation

POINTER TO BYTE

CallingVariableNode

ILeafTreeNode

nextTypeForFindChild

POINTER TO TypeDesc

Used by array resolution to resolve correclty within the next element. This is because an array does not change the leave node.

User

RTS_IEC_HANDLE

RTS_INVALID_HANDLE

_UserAccessRights

DWORD

_hVariableInstance

ILeafTreeNode

SymbolsSetMask

DWORD

SymbolSetsActivated

BOOL

HandleBrowseInfo

BOOL

InformationModel

BOOL

UserAccessRights

BYTE

ANY_TO_BYTE(-1)

ResolveNodeAfterBrowse

BOOL

UseVariableTypeForInitialResolution

BOOL

Special 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: