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)
ErrorHandling ¶ ClearErrors (Method) FirstErrorInstance (Property) FirstErrorNumber (Property) GetErrorMessage (Method) GetFirstErrorMessage (Method) GetLastErrorMessage (Method) LastErrorInstance (Property) LastErrorNumber (Property)
IModule.ClearErrors (METH) ¶ METHOD ClearErrors A call of this method clears the error history
IModule.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.
IModule.FirstErrorNumber (PROP) ¶ PROPERTY FirstErrorNumber : UINT Returns the number of the first error that occured. 0 means: no error.
IModule.GetErrorMessage (METH) ¶ METHOD GetErrorMessage : STRING(255) This method returns a textual error message in the specified language according to the error number, that is given in InOut: Scope Name Type Return GetErrorMessage STRING(255) Input uiErrorNumber UINT sLanguage STRING
IModule.GetFirstErrorMessage (METH) ¶ METHOD GetFirstErrorMessage : STRING(255) Returns the textual error message in the speified language of the first error that occured in case of no error, the returned string stays empty. InOut: Scope Name Type Return GetFirstErrorMessage STRING(255) Input sLanguage STRING
IModule.GetLastErrorMessage (METH) ¶ METHOD GetLastErrorMessage : STRING(255) Returns the textual error message in the speified language of the last error that occured in case of no error, the returned string stays empty. InOut: Scope Name Type Return GetLastErrorMessage STRING(255) Input sLanguage STRING
IModule.LastErrorInstance (PROP) ¶ PROPERTY LastErrorInstance : IModule Returns the interface of the module instance that has caused the last error. 0 means: the error occured in this module instance or no error has occured.
IModule.LastErrorNumber (PROP) ¶ PROPERTY LastErrorNumber : UINT Returns the number of the last error that occured. 0 means: no error.