DeviceDateTime (FB)

FUNCTION_BLOCK DeviceDateTime EXTENDS BACnet.BACnetServerPluginBase IMPLEMENTS CmpEventMgr.ICmpEventCallback

Default implementation to provide proper device date / time information.

Needs to be called cyclically to ensure datetime calculation. In case the application wants to use a different timeline than the PLC OS, you need to register a time provider for the BACstack.