GetAncestorRange (FUN) ¶ FUNCTION GetAncestorRange : AncestorRange Returns the range of all ancestors of a given instance including this instance. InOut: Scope Name Type Comment Return GetAncestorRange AncestorRange Input itfM IModule The instance whose ancestors are of interest
GetChildRange (FUN) ¶ FUNCTION GetChildRange : SiblingRange Returns the range of all children of an instance. InOut: Scope Name Type Comment Return GetChildRange SiblingRange Input itfM IModule The instance whose child are of interest
GetDepthFirstRange (FUN) ¶ FUNCTION GetDepthFirstRange : DepthFirstRange Returns a range of all instances in the module tree in depth-first preorder of InOut: Scope Name Type Comment Return GetDepthFirstRange DepthFirstRange Input itfModule IModule The module which the depth first range shall use to start from
GetInstancePath (FUN) ¶ FUNCTION GetInstancePath : STRING(255) Returns the instance path of a module instance. The instance path is built by concatenating the instance names of all ancestors, starting from the toplevel module down until to the given instance. The instance names are separated by dots.l If the resulting instance name is longer than 255 characters, an empty string is returned. InOut: Scope Name Type Comment Return GetInstancePath STRING(255) Input itfM IModule The module instance for which the instance path is computed (must not be 0)
GetLastChild (FUN) ¶ FUNCTION GetLastChild : IModule Returns the last child module instance of a given instance. Returns 0 if (and only if) itfM has no children. InOut: Scope Name Type Comment Return GetLastChild IModule Input itfM IModule The instance that is queried for the last child (must not be 0)
ProxyInstance.Main (METH) ¶ METHOD PUBLIC Main
ProxyInstance.SetProxyIdentification (METH) ¶ METHOD PUBLIC FINAL SetProxyIdentification InOut: Scope Name Type Input pbyName POINTER TO BYTE udiAddr UDINT udiLocAddr UDINT pEnvironment POINTER TO MEnv
TreeNavigation ¶ Functionalities used for navigating through the module instance tree from within IEC. AncestorRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method) DepthFirstRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method) GetAncestorRange (Function) GetChildRange (Function) GetDepthFirstRange (Function) GetInstancePath (Function) GetLastChild (Function) GetLastInRange (Function) GetLastSibling (Function) GetNextModule (Function) GetPrevModule (Function) GetToplevelInstance (Function) GetToplevelRange (Function) IModuleRangeForward (Interface) First (Property) IsEmpty (Property) PopFirst (Method) SiblingRange (FunctionBlock) First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)
AncestorRange (FB) ¶ FUNCTION_BLOCK FINAL AncestorRange IMPLEMENTS IModuleRangeForward The range of all ancestors of a module instance, starting with the instance itself and ending with the toplevel instance. Properties: First IsEmpty Methods: Init PopFirst Structure: First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)
DepthFirstRange (FB) ¶ FUNCTION_BLOCK FINAL DepthFirstRange IMPLEMENTS IModuleRangeForward The range of all instances in depth-first preorder of the module tree, starting at a given instance. Properties: First IsEmpty Methods: Init PopFirst Structure: First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)