Complete initialization of the dynamic objects
The initialization of the dynamically created objects is usually done automatically a few cycles after the last object was created.
If, however, the initialization is to be completed by PLC program (because, for example, reading out a configuration file could take longer), the Dynamic Object Manager can be called in such a way that the end of the initialization takes place from the PLC program.
For this purpose, the second parameter bAutoFinishInit
must be set to the value FALSE, e.g. fbDynMngr : FB_BACnet_DynObjectManager := (bCycleObjects := TRUE, bAutoFinishInit := FALSE);
To complete the initialization, the method FinishInit
must then be called, e.g. fbDynMngr.FinishInit();