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.
BACnetServer.DestroyObject (METH) ¶ METHOD DestroyObject : CmpBACnet.IEC_BACNET_STATUS Destroys a BACnet-Object under the BACnet-Device-Object of this BACnet-Server. Note that any previously with this Object-ID initialized BACnetObjectBase-FBs will be not be usable anymore. InOut: Scope Name Type Comment Return DestroyObject 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!) BACnet-Object-Identifier of the BACnet-Object, which also defines the Object-Type.
BACnetServer.FindObject (METH) ¶ METHOD FindObject : BOOL Search for object with given ID. InOut: Scope Name Type Comment Return FindObject BOOL Input objID CmpBACnet.IEC_BACNET_OBJECT_ID Inout bacObj BACnetObjectBase Empty BACnetObjectBase-Structure, which will be initialized with the BACnet-Object if we found th object searched for.
BACnetServer.UnregisterHook (METH) ¶ METHOD UnregisterHook : CmpBACnet.IEC_BACNET_STATUS Unregisters a FB implementing IBACnetEventConsumer (itfEvent) from a BACnet-Stack-Hook of type eHookType. InOut: Scope Name Type Comment Return UnregisterHook CmpBACnet.IEC_BACNET_STATUS Input eHookType CmpBACnet.IEC_BACNET_CB_TYPE The hook type to unregister from. itfEvent IBACnetEventConsumer The event consumer to unregister from the hook.
BACnetServer.LocalProcessID (PROP) ¶ PROPERTY LocalProcessID : UDINT Return the local process ID used for COV notifications. Use this ID for COV subscription to be received by this BACnet server and its device.
BACnetServer.GetStructuredObject (METH) ¶ METHOD GetStructuredObject Gets a BACnet structured object at index nIndex of the BACnet-Device-Structured-Object-List of this BACnet-Server. InOut: Scope Name Type Comment Input nIndex UDINT The 1 based index of the structured object to get. Inout bacObj BACnetObjectBase Empty BACnetObjectBase-Structure, which will be initialized with the created BACnet-Object if the call to this method succeeded.
BACnetServer.GetStructuredObjectCount (METH) ¶ METHOD GetStructuredObjectCount : UDINT Gets the number of BACnet-Structured-Objects under the BACnet-Device-Structured-Object-List of this BACnet-Server. InOut: Scope Name Type Return GetStructuredObjectCount UDINT
BACnetServer.GetObject (METH) ¶ METHOD GetObject Gets a BACnet object at index nIndex of the BACnet-Device-Object-List of this BACnet-Server. InOut: Scope Name Type Comment Input nIndex UDINT The 1 based index of the BACnet object to get within the object list of the BACnet server/device. Inout bacObj BACnetObjectBase Empty BACnetObjectBase-Structure, which will be initialized with the created BACnet-Object if the call to this method succeeded.