ModuleHandle (ALIAS) ¶ TYPE ModuleHandle : INT The handle of a module (internally an integer number). Every module instance gets his own (project wide) unique module handle, which is created during a generation run of the standard generator of the composer. This handle even is unique through out application borders.
ModuleInfo (FB) ¶ FUNCTION_BLOCK ModuleInfo Contains information common to all instances of one module Properties: ModuleType Structure: ModuleType (Property)
ModuleInfo.ModuleType (PROP) ¶ PROPERTY FINAL ModuleType : STRING(255) The qualified module type (this is the qualified name of the module description)
ProxyInstance (FB) ¶ FUNCTION_BLOCK ProxyInstance EXTENDS BaseInstance This implementation can be extended by Proxy-FBs. It already contains the proper Initialize method and the properties from interface IBaseInstance. Properties: LocalComAddress ComAddress , inherited from BaseInstance InitParametersDone , inherited from BaseInstance InstanceName , inherited from BaseInstance Methods: Main SetProxyIdentification FB_EXIT , inherited from BaseInstance Init , inherited from BaseInstance OnAfterOnlineChange , inherited from BaseInstance OnBeforeOnlineChange , inherited from BaseInstance SetBaseIdentification , inherited from BaseInstance Structure: LocalComAddress (Property) Main (Method) SetProxyIdentification (Method)
ProxyInstance.LocalComAddress (PROP) ¶ PROPERTY FINAL LocalComAddress : UDINT The local communication address of the proxy instance.
GetLastSibling (FUN) ¶ FUNCTION GetLastSibling : IModule Returns the last child module instance of a given instance. Never returns 0. InOut: Scope Name Type Comment Return GetLastSibling IModule Input itfM IModule The instance that is queried for the last sibling (must not be 0)
GetNextModule (FUN) ¶ FUNCTION GetNextModule : IModule Returns the next module in depth-first preorder of the module tree. Returns 0 if (and only if) itfM is the last module in the preorder of the tree. InOut: Scope Name Type Comment Return GetNextModule IModule Input itfM IModule The module instance that is queried for the next instance (must not be 0)
GetPrevModule (FUN) ¶ FUNCTION GetPrevModule : IModule Returns the previous module in depth-first preorder of the module tree. Returns 0 if (and only if) itfM is the first module in the preorder of the tree. InOut: Scope Name Type Comment Return GetPrevModule IModule Input itfM IModule The module instance that is queried for the previous instance (must not be 0)
GetToplevelInstance (FUN) ¶ FUNCTION GetToplevelInstance : IModule Returns the toplevel instance of itfM. Never returns 0. InOut: Scope Name Type Comment Return GetToplevelInstance IModule Input itfM IModule The module instance that is queried for the toplevel instance (must not be 0)
GetToplevelRange (FUN) ¶ FUNCTION GetToplevelRange : SiblingRange Returns the range of all toplevel instances. InOut: Scope Name Type Comment Return GetToplevelRange SiblingRange Input itfMTree IModuleTree The module tree that holds all instances