Rung 5, the source at IN1 of the AND instruction should be Time_reader(4), not Time_reader(3). Also you need to multiply the result of the AND by 256 to move it to the upper 8 bits.
Oke thank you. I will try tomorrow.
I cannot edit old posts in this forum. see no edit button