I'm having trouble understanding this too.
Using a CP1L-EL20DR-D.
I'd like an output relay to switch on at midnight.
So far I've figured out:
C = 38 (which is 000111000 to HEX)
S1 = A351 (the internal clock)
S2 = ?
How do I input 0000 hours into S2? Do I use MOV into an address like D100? If so, how?
I'm trying to understand the conversion between digits to binary or whatever data is required.