BACnetMSTPdatalink.TokenTimeout (PROP) ¶ PROPERTY TokenTimeout : UDINT MS/TP token timeout
protected ¶ CheckMstpDeviceDriverReady (Method)
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.
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.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.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.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.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.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.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.