I tried to solve that with |NOT|, but in that case, output Q0.5 will be on 1 by default, because counter is not initialized by M0.4 before program starts.

Code: Select all
A M 510.5
JCN END
A "CK1S"
FP M 510.0
JNB END
L MW 600
+ -1
T MW 600
L MW 600
L 0
==I
= Q 0.5
JCN END
L 10
T MW 600
END: NOP 0