PropertyConfigurationMostlyAllWritable.GetPropertyAttributes (METH) ¶ METHOD GetPropertyAttributes : BOOL InOut: Scope Name Type Return GetPropertyAttributes BOOL Input objID CmpBACnet.IEC_BACNET_OBJECT_ID propID CmpBACnet.IEC_BACNET_PROPERTY_ID Output propAttr BACnet.BACnetPropertyAttributes
PropertyConfigurationMostlyAllWritable.Name (PROP) ¶ PROPERTY Name : STRING
ReinitDevice_SvcAppHook (FB) ¶ FUNCTION_BLOCK ReinitDevice_SvcAppHook EXTENDS BACnet.BACnetServerPluginBase IMPLEMENTS BACnet.IBACnetEventConsumer Default implementation for ReinitializeDevice service application hook This default implementation is supposed to be used as an example. If password check is passed it set DeviceObject.LastRestartReason and DeviceObject.TimeOfDeviceRestart. It doesnt stop/start the application nor the whole PLC, because this is not appropriate for all use cases. Properties: Name NumHooks Password TimeZone UpdateTimeZoneFromSystem Methods: BACnetEventCallback GetHook GetTimeZoneFromSystem Init Structure: BACnetEventCallback (Method) GetHook (Method) GetTimeZoneFromSystem (Method) Init (Method) Name (Property) NumHooks (Property) Password (Property) TimeZone (Property) UpdateTimeZoneFromSystem (Property)
ReinitDevice_SvcAppHook.BACnetEventCallback (METH) ¶ METHOD BACnetEventCallback : BOOL Hook callback for IEC_BACNET_CB_TYPE.CB_REINIT_DEV InOut: Scope Name Type Comment Return BACnetEventCallback BOOL Input EventId DWORD If only one event is possibly called, the following Ids can be ignored. If there are more at least the EventId should be checked, to get the right type of pParameter. ID of the occured Event. Contains the class and the event (see CmpBACnet.EVENTIDS) usParamId WORD Id of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) usVersion WORD Version of the parameter structure (see pParameter and CmpBACnet.EVENTIDS) pParameter POINTER TO BYTE Pointer to the event specific parameter, that is specified by Id (see CmpBACnet.EVENTIDS and CmpBACnet, i.e. EVT_BACNET_ACKALARM)
ClientCreatableObjects.Init (METH) ¶ METHOD Init
ClientCreatableObjects.Name (PROP) ¶ PROPERTY Name : STRING
ClientCreatableObjects.NumHooks (PROP) ¶ PROPERTY NumHooks : UINT
ClientCreatableObjects.PreRegister (METH) ¶ METHOD PreRegister : UDINT InOut: Scope Name Type Return PreRegister UDINT Input itfServer BACnet.IBACnetServer
ClientCreatableObjects.SetMaxNum (METH) ¶ METHOD SetMaxNum : BOOL Sets the maximum number of client creatable objects of given type. InOut: Scope Name Type Comment Return SetMaxNum BOOL Input objType CmpBACnet.IEC_BACNET_OBJECT_TYPE object type, actually supported OBJ_ANALOG_INPUT := 0 .. OBJ_LIGHTING_OUTPUT := 54 maxNum DINT maximum number of client creatable objects of given type, -1 => no limits, 0 => not allowed
DCC_SvcAppHook (FB) ¶ FUNCTION_BLOCK PUBLIC FINAL DCC_SvcAppHook EXTENDS BACnet.BACnetServerPluginBase IMPLEMENTS BACnet.IBACnetEventConsumer Default implementation for DeviceCommunicationControl service application hook Needs to be called cyclically to ensure DCC restauration after timed DCC request. Properties: Name NumHooks Password Methods: BACnetEventCallback GetHook Init Structure: BACnetEventCallback (Method) GetHook (Method) Init (Method) Name (Property) NumHooks (Property) Password (Property)