IBACnetServer.ActivatePropertyConfiguration (METH) ¶ METHOD ActivatePropertyConfiguration : UDINT Registers a IBACnetPropertyConfiguration with BACnetServer . Return CmpErrors.Errors.ERR_OK if succesfully registered. InOut: Scope Name Type Return ActivatePropertyConfiguration UDINT Input itfPropertyConfiguration IBACnetPropertyConfiguration
Plugins ¶ RegisterPlugin (Method) UnregisterPlugin (Method)
IBACnetServer.RegisterPlugin (METH) ¶ METHOD RegisterPlugin : UDINT Registers a IBACnetServerPlugin with BACnetServer . Plugins containing hooks/callbacks need to register after StartBACnetStack. Return CmpErrors.Errors.ERR_OK if succesfully registered. InOut: Scope Name Type Return RegisterPlugin UDINT Input itfPlugin IBACnetServerPlugin
BACnetServerPluginHookBase.HookType (PROP) ¶ PROPERTY HookType : CmpBACnet.IEC_BACNET_CB_TYPE
IBACnetServerPlugin (ITF) ¶ INTERFACE PUBLIC IBACnetServerPlugin EXTENDS IBACnetEmpty Interface for BACnetServerPlugin(s). BACnetServer allows to register / unregister plugins, to provide flexible implementation options for user specific behaviour. A BACnetServerPlugin can implement multiple service application hooks and multiple service application callbacks if needed, to bundle functionality which needs to be split into multiple application service hooks and multiple callbacks. CODESYS BACnet default implementations use the BACnetServer plugin mechanism as well. Properties: Logging Name NumCallbacks NumHooks Methods: GetCallback GetCallbackAttachmentsForProperty GetHook PostRegister PostStartBACnetStack PostStopBACnetStack PostUnregister PreRegister PreStartBACnetStack PreStopBACnetStack PreUnregister Structure: GetCallback (Method) GetCallbackAttachmentsForProperty (Method) GetHook (Method) Logging (Property) Name (Property) NumCallbacks (Property) NumHooks (Property) PostRegister (Method) PostStartBACnetStack (Method) PostStopBACnetStack (Method) PostUnregister (Method) PreRegister (Method) PreStartBACnetStack (Method) PreStopBACnetStack (Method) PreUnregister (Method)
IBACnetServerPlugin.GetCallback (METH) ¶ METHOD GetCallback : IBACnetServerPluginCallback Gets a callback. InOut: Scope Name Type Comment Return GetCallback IBACnetServerPluginCallback Input index UINT index of the callback.
IBACnetServerPlugin.GetCallbackAttachmentsForProperty (METH) ¶ METHOD GetCallbackAttachmentsForProperty : UDINT InOut: Scope Name Type Comment Return GetCallbackAttachmentsForProperty UDINT Input devId CmpBACnet.IEC_BACNET_UNSIGNED device of object objId CmpBACnet.IEC_BACNET_OBJECT_ID the object ID propID CmpBACnet.IEC_BACNET_PROPERTY_ID the property ID Output bReadCallbackAttached CmpBACnet.IEC_BACNET_BOOLEAN bWriteCallbackAttached CmpBACnet.IEC_BACNET_BOOLEAN
IBACnetServerPlugin.PostUnregister (METH) ¶ METHOD PostUnregister : UDINT Deinitialization, gets called during BACNetServer.UnregisterPlugin after application service hooks/callbacks are unregistered. Return CmpErrors.Errors.ERR_OK if successfully. InOut: Scope Name Type Return PostUnregister UDINT
IBACnetServerPlugin.PreRegister (METH) ¶ METHOD PreRegister : UDINT Initialization, gets called during BACNetServer.RegisterPlugin before application service hooks/callbacks are registered. Return CmpErrors.Errors.ERR_OK if successfully. InOut: Scope Name Type Return PreRegister UDINT Input itfServer IBACnetServer
IBACnetServerPlugin.PostStartBACnetStack (METH) ¶ METHOD PostStartBACnetStack : UDINT Gets called after of BACnetServer.StartBACnetStack . Return CmpErrors.Errors.ERR_OK if successfully. InOut: Scope Name Type Return PostStartBACnetStack UDINT