BACnetIPdatalink.Bbmd4 (PROP) ¶ PROPERTY Bbmd4 : BBMD_Info BBMD 4
BACnetIPdatalink.Bbmd5 (PROP) ¶ PROPERTY Bbmd5 : BBMD_Info BBMD 5
BACnetIPdatalink.Bbmd6 (PROP) ¶ PROPERTY Bbmd6 : BBMD_Info BBMD 6
BACnetIPdatalink.Bbmd7 (PROP) ¶ PROPERTY Bbmd7 : BBMD_Info BBMD 7
BACnetServer.HasRegisteredHook (METH) ¶ METHOD HasRegisteredHook : BOOL Check, if one or more IBACnetEventConsumer (itfEvent) are already registered to a BACnet-Stack-Hook of type eHookType. InOut: Scope Name Type Return HasRegisteredHook BOOL Input eHookType CmpBACnet.IEC_BACNET_CB_TYPE Output status CmpBACnet.IEC_BACNET_STATUS
BACnetServer.RegisterCallback (METH) ¶ METHOD RegisterCallback : CmpBACnet.IEC_BACNET_STATUS Registers a FB implementing IBACnetEventConsumer (itfEvent) to a BACnet-Stack-Callback of type eCallbackType. Since a callback may have a release event, too (occuring after the returned information of the first call has been processed; at the moment only supported by BACNET_CALLBACK_READ), another FB implementing IBACnetEventConsumer (itfReleaseEvent) may be registered also. The method of the IBACnetEventConsumer interface gets called whenever the specified callback occurs after registration. Note For callbacks to occur for a specific BACnet-Object-Property call “SetPropertyCallbackAttachment” of the specific object in order to activate the callback for the specific BACnet-Object-Property. Without activation no callbacks will occur (assuming the predefined settings are used). InOut: Scope Name Type Initial Comment Return RegisterCallback CmpBACnet.IEC_BACNET_STATUS Input eCallbackType CmpBACnet.IEC_BACNET_CALLBACK_TYPE The callback type to register for. itfEvent IBACnetEventConsumer The event consumer to register to the callback event. itfReleaseEvent IBACnetEventConsumer 0 The event consumer to register to the release callback event.
Objects ¶ Functionalities dealing with BACnet objects from within the BACnet server (i.e. dynamically creating or deleting BACnet objects). ConstructDefaultObject (Method) DestroyObject (Method) FindObject (Method) GetObject (Method) GetObjectCount (Method) GetStructuredObject (Method) GetStructuredObjectCount (Method) IsObjectTypeSupported (Method)
BACnetServer.ConstructDefaultObject (METH) ¶ METHOD ConstructDefaultObject : CmpBACnet.IEC_BACNET_STATUS Constructs a BACnet-Object with all (also optional) BACnet-Properties under the BACnet-Device-Object of this BACnet-Server, that are necessary/possible for the given BACnet-Object-Type. The BACnet Object will be added to the BACnet-Device of the BACnet-Server. InOut: Scope Name Type Comment Return ConstructDefaultObject CmpBACnet.IEC_BACNET_STATUS Input objIDTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The type of the BACnet-Object that shall be constructed. objIDInstance UDINT Unique (!along the same Type!) CmpBACnet. of the BACnet- Object, which also defines the Object-Type. objName WSTRING(255) Name of the BACnet-Object that shall be constructed. Inout bacObj BACnetObjectBase Empty BACnetObjectBase-Structure, which will be initialized with the created BACnet-Object if the call to this method succeeded. strBuffer STRING(255) Buffer for creating necessary Name-Strings for BACnet- Object-Name.
BACnetServer.RegisterHook (METH) ¶ METHOD RegisterHook : CmpBACnet.IEC_BACNET_STATUS Registers a FB implementing IBACnetEventConsumer (itfEvent) to a BACnet-Stack-Hook of type eHookType. The method of the IBACnetEventConsumer interface gets called whenever the specified hook occurs after registration. InOut: Scope Name Type Comment Return RegisterHook CmpBACnet.IEC_BACNET_STATUS Input eHookType CmpBACnet.IEC_BACNET_CB_TYPE The hook to to register to. itfEvent IBACnetEventConsumer The event consumer to register to the hook.
BACnetServer.UnregisterCallback (METH) ¶ METHOD UnregisterCallback : CmpBACnet.IEC_BACNET_STATUS Unregisters a FB implementing IBACnetEventConsumer (itfEvent) from a BACnet-Stack-Callback of type eCallbackType. The release event, which might be part of the Callback (see RegisterCallback), is automatically unregistered, too. InOut: Scope Name Type Comment Return UnregisterCallback CmpBACnet.IEC_BACNET_STATUS Input eCallbackType CmpBACnet.IEC_BACNET_CALLBACK_TYPE The callback type to unregister from. itfEvent IBACnetEventConsumer The event consumer to unregister from the callback.