IModuleTree.PrevSibling (METH) ¶ METHOD PrevSibling : IModule Returns the previous sibling of a module instance. Returns 0 if (and only if) md has no previous sibling. Note: can be called for toplevel instances, too. InOut: Scope Name Type Comment Return PrevSibling IModule Input md IModule The module instance that is queried (must not be 0)
MEnv (STRUCT) ¶ TYPE MEnv : STRUCT The environment that is passed to each instance. InOut: Name Type Initial Comment mtree IModuleTree The module tree. Never 0. rmps IRmpService The RMP messge service. 0 if RMP communication is disabled. prsman AC_PERSIST.IPersistenceManager The persistence manager if created, 0 otherwise. exts POINTER TO IEnvironmentExtender Extenders possibly provided by other composer plugins. ATTENTION : Returned externder FBs might be not initialized properly (depending on activated generators, etc.) uiexts UINT 0 Number of possible EnvironmentExtenders visus POINTER TO POINTER TO AC_Visu_Base Pointer to the AC_Visu_FBs for frame changing. ATTENTION : This pointer may be 0 (meaning that i.e. no visus were generated)
Module (FB) ¶ FUNCTION_BLOCK Module EXTENDS BaseInstance IMPLEMENTS IModule Base implementation, should be extended by every function block that implements a module. The standard task methods, the Init method abd the methods OnBeforeOnlineChange and OnAfterOnlineChange call the corresponding methods of all submodules in tree order. The properties have the monitoring attribute ‘call’. For details see IModule . Properties: ComAddress , inherited from BaseInstance Environment FirstErrorInstance FirstErrorNumber Handle InitParametersDone , inherited from BaseInstance InstanceName , inherited from BaseInstance LastErrorInstance LastErrorNumber ModuleInfo Methods: Init Main OnAfterOnlineChange OnBeforeOnlineChange CallPrioHighEnd CallPrioHighStart CallPrioLowEnd CallPrioLowStart CallPrioMediumEnd CallPrioMediumStart ClearErrors FB_EXIT , inherited from BaseInstance GetErrorMessage GetFirstErrorMessage GetLastErrorMessage ReportError SetBaseIdentification , inherited from BaseInstance SetIdentification Structure: ErrorHandling ClearErrors (Method) FirstErrorInstance (Property) FirstErrorNumber (Property) GetErrorMessage (Method) GetFirstErrorMessage (Method) GetLastErrorMessage (Method) LastErrorInstance (Property) LastErrorNumber (Property) ReportError (Method) Identification Environment (Property) Handle (Property) ModuleInfo (Property) SetIdentification (Method) Init (Method) Main (Method) OnAfterOnlineChange (Method) OnBeforeOnlineChange (Method) StandardCalls CallPrioHighEnd (Method) CallPrioHighStart (Method) CallPrioLowEnd (Method) CallPrioLowStart (Method) CallPrioMediumEnd (Method) CallPrioMediumStart (Method)
ErrorHandling ¶ ClearErrors (Method) FirstErrorInstance (Property) FirstErrorNumber (Property) GetErrorMessage (Method) GetFirstErrorMessage (Method) GetLastErrorMessage (Method) LastErrorInstance (Property) LastErrorNumber (Property) ReportError (Method)
Module.ClearErrors (METH) ¶ METHOD ClearErrors
Module.FirstErrorInstance (PROP) ¶ PROPERTY FirstErrorInstance : IModule returns the interface of the module instance that has caused the first error. 0 means: the error occured in this module instance or no error has occured.
Module.FirstErrorNumber (PROP) ¶ PROPERTY FirstErrorNumber : UINT
Module.GetErrorMessage (METH) ¶ METHOD GetErrorMessage : STRING(255) InOut: Scope Name Type Return GetErrorMessage STRING(255) Input uiErrorNumber UINT sLanguage STRING
AC_ModuleBase Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title AC_ModuleBase Version 4.2.0.0 Categories Application|Composer Namespace AC Author 3S - Smart Software Solutions GmbH Placeholder AC_ModuleBase Description 1 ¶ Base library for the application composer Contents: ¶ AC_Module BaseInstance (FunctionBlock) CopyStr (Function) IBaseInstance (Interface) IBaseInstance2 (Interface) IEnvironmentExtender (Interface) IModule (Interface) IModuleTree (Interface) MEnv (Struct) Module (FunctionBlock) ModuleHandle (Alias) ModuleInfo (FunctionBlock) ProxyInstance (FunctionBlock) TreeNavigation AC_RMP_ReliableMessageProtocol AC_RMP_FBCommunication IRMPService (Interface) IRmpService2 (Interface) IRmpService3 (Interface) RMPBufferedMessage (Struct) RMPConnection (FunctionBlock) RMPExchangeData (Struct) RMPMessageBuffer (FunctionBlock) RMPSendMessage (FunctionBlock) RMPService (FunctionBlock) RMP_GVL (GVL) RMP_GVL_CONST (GVL) GenVisu AC_Visu_Base (FunctionBlock) GVL_Visu (GVL) GenVisu_Toplevel_Template GetCurrentDisplayedModuleInstance (Function) IModuleVisuClientListener (Interface) OnClientCreatedOrDestroyed (Function) OnClientCreatedOrDestroyed_2 (Function) Toplevel_Vertical_Template GlobalTextList (GlobalTextList) Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Indices and tables ¶ 1 Based on AC_ModuleBase.library, last modified 16.02.2023, 16:33:29. LibDoc 4.4.0.0-b.27 The content file AC_ModuleBase.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 16.02.2023, 16:33:30.
AC_Module ¶ General functionalities and function blocks used as base for all module instances and for handling module instances from within IEC. BaseInstance (FunctionBlock) ComAddress (Property) FB_EXIT (Method) Init (Method) InitParametersDone (Property) InstanceName (Property) Main (Method) OnAfterOnlineChange (Method) OnBeforeOnlineChange (Method) SetBaseIdentification (Method) CopyStr (Function) IBaseInstance (Interface) ComAddress (Property) Init (Method) InstanceName (Property) Main (Method) OnAfterOnlineChange (Method) OnBeforeOnlineChange (Method) IBaseInstance2 (Interface) InitParametersDone (Property) IEnvironmentExtender (Interface) GetID (Property) IModule (Interface) ErrorHandling ClearErrors (Method) FirstErrorInstance (Property) FirstErrorNumber (Property) GetErrorMessage (Method) GetFirstErrorMessage (Method) GetLastErrorMessage (Method) LastErrorInstance (Property) LastErrorNumber (Property) Identification Environment (Property) Handle (Property) ModuleInfo (Property) StandardCalls CallPrioHighEnd (Method) CallPrioHighStart (Method) CallPrioLowEnd (Method) CallPrioLowStart (Method) CallPrioMediumEnd (Method) CallPrioMediumStart (Method) IModuleTree (Interface) GetFirstChild (Method) GetFirstToplevelInstance (Method) GetParent (Method) NextSibling (Method) PrevSibling (Method) MEnv (Struct) Module (FunctionBlock) ErrorHandling ClearErrors (Method) FirstErrorInstance (Property) FirstErrorNumber (Property) GetErrorMessage (Method) GetFirstErrorMessage (Method) GetLastErrorMessage (Method) LastErrorInstance (Property) LastErrorNumber (Property) ReportError (Method) Identification Environment (Property) Handle (Property) ModuleInfo (Property) SetIdentification (Method) Init (Method) Main (Method) OnAfterOnlineChange (Method) OnBeforeOnlineChange (Method) StandardCalls CallPrioHighEnd (Method) CallPrioHighStart (Method) CallPrioLowEnd (Method) CallPrioLowStart (Method) CallPrioMediumEnd (Method) CallPrioMediumStart (Method) ModuleHandle (Alias) ModuleInfo (FunctionBlock) ModuleType (Property) ProxyInstance (FunctionBlock) LocalComAddress (Property) Main (Method) SetProxyIdentification (Method) TreeNavigation 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)