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)
GetLastInRange (FUN) ¶ FUNCTION GetLastInRange : IModule Returns the last element of a given range. Returns 0 if (and only if) the last element of the range is 0 or the range is empty. Note: after the call, the range will be empty. InOut: Scope Name Type Comment Return GetLastInRange IModule Input rng IModuleRangeForward The forward range (i.e. AncestorRange , DepthFirstRange or SiblingRange ) for which the last element shall be returned for
Module.Environment (PROP) ¶ PROPERTY FINAL Environment : POINTER TO MEnv
Module.Handle (PROP) ¶ PROPERTY FINAL Handle : ModuleHandle
Module.ModuleInfo (PROP) ¶ PROPERTY FINAL ModuleInfo : POINTER TO ModuleInfo
Module.SetIdentification (METH) ¶ METHOD PUBLIC FINAL SetIdentification InOut: Scope Name Type Input pbyName POINTER TO BYTE pMI POINTER TO ModuleInfo udiComAddr UDINT handle ModuleHandle pEnvironment POINTER TO MEnv
Module.Init (METH) ¶ METHOD Init InOut: Scope Name Type Input bOnlineChange BOOL
Module.Main (METH) ¶ METHOD Main