For those who have already loaded the PLC clock program above in to PLC to figure out intentional PLC programming errors place in it for training purposes, here is one possible solution for a working PLC clock program. (When processor doesn't already have a real time PLC clock built in) ...