IBaseInstance.InstanceName (PROP) ¶ PROPERTY InstanceName : STRING(255) The instance name of the node.
IBaseInstance.Main (METH) ¶ METHOD Main This method should call the body of the function block.
IBaseInstance.OnAfterOnlineChange (METH) ¶ METHOD OnAfterOnlineChange This method is called during an online change, after all parameter values have been set, all submodules and referenced modules have been assigned, and the tree structure has been completely created.
IBaseInstance.OnBeforeOnlineChange (METH) ¶ METHOD OnBeforeOnlineChange This method is called during an online change, before the old tree structure has been erased and before any parameter values have been set or any submodules and referenced modules have been assigned.
IBaseInstance2 (ITF) ¶ INTERFACE IBaseInstance2 EXTENDS IBaseInstance Properties: InitParametersDone ComAddress , inherited from IBaseInstance InstanceName , inherited from IBaseInstance Methods: Init , inherited from IBaseInstance Main , inherited from IBaseInstance OnAfterOnlineChange , inherited from IBaseInstance OnBeforeOnlineChange , inherited from IBaseInstance Structure: InitParametersDone (Property)
IBaseInstance2.InitParametersDone (PROP) ¶ PROPERTY InitParametersDone : BOOL If this is TRUE the next time AC_Init is called (no matter if OnlineChange or not) the module parameters will NOT be initialized. By default this flag is set in AC_Init in case of no OnlineChange so that in case of an OnlineChange later on the module parameters keep their values. If this is not your desired behaviour for selected modules you might want to set it to FALSE in e.g. IBaseInstance.OnBeforeOnlineChange . However one can also disable this in the settings of the Standard Generator.
IEnvironmentExtender (ITF) ¶ INTERFACE IEnvironmentExtender EXTENDS __SYSTEM.IQueryInterface Interface used by the composer to extend the module environment by custom extensions. This can only be done when i.e. providing a composer extension via the automation plattform. Properties: GetID Structure: GetID (Property)
IEnvironmentExtender.GetID (PROP) ¶ PROPERTY GetID : STRING Returns the id of the environemnt extender, i.e. the id of the composer extension provided via the Automation Plattform.
IModule (ITF) ¶ INTERFACE IModule EXTENDS IBaseInstance Base interface that must be implemented by every function block that implements an application composer module. Properties: ComAddress , inherited from IBaseInstance Environment FirstErrorInstance FirstErrorNumber Handle InstanceName , inherited from IBaseInstance LastErrorInstance LastErrorNumber ModuleInfo Methods: CallPrioHighEnd CallPrioHighStart CallPrioLowEnd CallPrioLowStart CallPrioMediumEnd CallPrioMediumStart ClearErrors GetErrorMessage GetFirstErrorMessage GetLastErrorMessage Init , inherited from IBaseInstance Main , inherited from IBaseInstance OnAfterOnlineChange , inherited from IBaseInstance OnBeforeOnlineChange , inherited from IBaseInstance Structure: 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)
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)