I was setting up a simple test using TIME-ON and TIME-OFF to cycle a digital output and noticed some strange behaviour. Note sure if this is a serious problem, but it
may catch me out at some stage.
Attached are 2 short program listings and a trend display.
Note that the ONLY difference between the OUT9 and OUT10 code is which one comes first/second in the listing.
Uploading: PRG10A.txt…
Uploading: PRG10B.txt…
Attached is a TREND screenshot.
PRG10a ran from 15:37 to 15:45, PRG10b ran from 15:52 to 16:00
From trend graphic it is apparent that running PRG10a both outputs are synchronised, but running PRG10b there is a significant time-shift between them - OUT9 started “ON” only after OUT10 stopped “ON”.
Is there an explanation? Is there a way to be sure that the TIME-ON and time-OFF timers start consistently?
