We just realised that a bug in the TRiLOGI 5.12 software gives problem when you try to set the PLC clock on Sunday because the PC's real time clock gave a number 0 which was not handled properly by the software. This will be fixed in the upcoming upgrade to version 5.2 (not yet released, should be soon).