3. Instructions
222
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
Hint
A TIMH(015)/TIMHX(551) instruction's PV and Completion Flag can be refreshed in the following ways
depending on the timer number that is used.
• When the timer input is OFF, the timer specified
by N is reset, i.e., the timer's PV is reset to the
SV and its Completion Flag is turned OFF.
• When the timer input goes from OFF to ON,
TIMH(015)/TIMHX(551) starts decrementing the
PV. The PV will continue timing down as long as
the timer input remains ON and the timer's
Completion Flag will be turned ON when the PV
reaches 0000.
• The status of the timer's PV and Completion Flag
will be maintained after the timer times out. To
restart the timer, the timer input must be turned
OFF and then ON again or the timer's PV must
be changed to a non-zero value (by MOV(021),
for example).
• The setting range for the set value (SV) is 0 to
99.99 s for TIMH(015) and 0 to 655.35 s for
TIMHX(551). The timer accuracy is 0 to 0.01 s.
Timers Created with Timer
Numbers 0000 to 0255
Timers Created with Timer
Numbers 0256 to 2047
Timers Created with Timer
Numbers 2048 to 4095
Execution of
TIMH(015)/TIMH
X(551)
The Completion
Flag is turned ON
if the PV is 0.
The Completion
Flag is turned
OFF if the PV is
not 0.
Execution of
TIMH(015)/TIMH
X(551)
• The PV is
updated every
time that
TIMH(015)/TIM
HX(551) is exe-
cuted.
• The Comple-
tion Flag is
turned ON if
the PV is 0.
The Comple-
tion Flag is
turned OFF if
the PV is not 0.
Execution of
TIMH(015)/TIMH
X(551)
•The PV is
updated every
time that
TIMH(015) is
executed.
• The Comple-
tion Flag is
turned ON if
the PV is 0.
The Comple-
tion Flag is
turned OFF if
the PV is not 0.
10-ms interval
refreshing
The timer's PV is
updated every 10
ms.
After execution of
all cyclic tasks
The PV is also
updated every
cycle after exe-
cuting all cyclic
tasks
80-ms interval
refreshing
If the cycle time
exceeds 80 ms,
the timer's PV is
updated every 80
ms.
SV
Timer input
Timer PV
Completion
Flag
SV
Timer input
Timer PV
Completion
Flag
The following timing chart shows the
behavior of the timer's PV and Completion
Flag when the timer input is turned OFF
before the timer times out.