3. Instructions
224
CS/CJ/NSJ Series Instructions Reference Manual (W474)
• If an TIMH(015)/TIMHX(551) instruction is in a task that is stopped or is not executed because it is
jumped by a JMP(004), CJMP(510), or CJPN(511) instruction, the timer will not operate correctly.
Example Programming
When timer input CIO 0.00 goes from OFF to ON in the following example, the timer PV will begin
counting down from the SV (#0064 = 100 = 1.00 s). The Timer Completion Flag, T0000, will be turned
ON when the PV reaches 0.
When CIO 0.00 goes OFF, the timer PV will be reset to the SV and the Completion Flag will be turned
OFF.
i
0.00
0.00
0.00
T0000
T0000
100
(1.00 s)
&100
or
TIMHX
ON
OFF
ON
0
0
0
100
#0100
OFF
TIMH
Timer input
Timer PV
Timer Completion
Flag