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
IBACnetServerPlugin.PostStopBACnetStack (METH) ¶ METHOD PostStopBACnetStack : UDINT Gets called prior of BACnetServer.StopBACnetStack . Return CmpErrors.Errors.ERR_OK if successfully. InOut: Scope Name Type Return PostStopBACnetStack UDINT
IBACnetServerPlugin.NumHooks (PROP) ¶ PROPERTY NumHooks : UINT Number of hooks implemented by the plugin.
IBACnetServerPlugin.PostRegister (METH) ¶ METHOD PostRegister : UDINT Initialization, gets called during BACNetServer.RegisterPlugin after application service hooks/callbacks are registered. Return CmpErrors.Errors.ERR_OK if successfully. InOut: Scope Name Type Return PostRegister UDINT