The CPU time can be synchronized with the NTP time provided by the BMENOC0321 module installed on the same rack. This process is not automatic and requires explicit programming, by following these steps:
1- Enable the "Network Time Service" on the DTM of the BMENOC0321:
2- Open the "Network Time Service " in the service list and put the NTP remote server IP address. You can customise the Polling period, the Time Zone option, etc:
3- Import the attached program section in your program:
4- Configure the DFB by putting the module rack position and its IP address:
5- Use the "Enable" pin to activate the DFB and the Sync_PLC to enable the time synchronization.
6- Enable "Dynamic Arrays" variables in the project settings:
The CPU time will be updated after enabling the DFB (via its "Enable" input) AND sending a commande into Sync_PLC input :
Note: There is no need to enable the CPU’s ‘NTP client’ service.
Best Regards.