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.
IBACnetARRAYN_of_BACnetPortPermission.GetCount (METH) ¶ METHOD GetCount : CmpBACnet.IEC_BACNET_STATUS Get the number of elements in this property. InOut: Scope Name Type Comment Return GetCount CmpBACnet.IEC_BACNET_STATUS Output count CmpBACnet.IEC_BACNET_ELEMENT_COUNT Number of property elements.
BaseInstance.SetBaseIdentification (METH) ¶ METHOD PUBLIC FINAL SetBaseIdentification InOut: Scope Name Type Input pbyName POINTER TO BYTE udiAddr UDINT pEnvironment POINTER TO MEnv
CopyStr (FUN) ¶ FUNCTION CopyStr : BOOL Copies a string from a zero-terminated array of characters into a string object. Note: at most 255 characters are copied, even of pbySrc is longer. InOut: Scope Name Type Comment Return CopyStr BOOL Input psDst POINTER TO STRING(255) A non-zero pointer to the destination string pbySrc POINTER TO BYTE A non-zero, zero-terminated array of characters
IBaseInstance (ITF) ¶ INTERFACE IBaseInstance EXTENDS __SYSTEM.IQueryInterface Base interface for all instances that have a name and a communication address. Implemented by IModule. Properties: ComAddress InstanceName Methods: Init Main OnAfterOnlineChange OnBeforeOnlineChange Structure: ComAddress (Property) Init (Method) InstanceName (Property) Main (Method) OnAfterOnlineChange (Method) OnBeforeOnlineChange (Method)
IBaseInstance.ComAddress (PROP) ¶ PROPERTY ComAddress : UDINT The communication address. The most significand 16 bit are the address of the application, the least significand 16 bit are the local address. Together the address is unique among all instances in all applications.
IBaseInstance.Init (METH) ¶ METHOD Init This method is called after a download or an online change. It is called after all parameter values have been set, all submodules and referenced modules have been assigned, and the tree structure has been completely created, but before the tasks are (re-)started. Note : in contrast to FB_Init, this method is called at every online change, regardless of whether FB_Exit has been called on the old instance before. InOut: Scope Name Type Comment Input bOnlineChange BOOL Indicates whether the method is called during an online change
IBaseInstance.InstanceName (PROP) ¶ PROPERTY InstanceName : STRING(255) The instance name of the node.