2 Instructions
2-70 CP1E CPU Unit Instructions Reference Manual(W483)
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.
Precautions
Timer numbers are shared with other timer instructions. If two timers share the same timer number,
but are not used simultaneously, a duplication error will be generated when the program is checked,
but the timers will operate normally. Timers which share the same timer number will not operate prop-
erly if they are used simultaneously.
Timers will not operate properly when the CPU Unit cycle time exceeds 4s. Use timer instructions
when the cycle time is no longer than 4s.
Timers will be reset or paused in the following cases. (When a timer is reset, its PV is reset to the SV
and its Completion Flag is turned OFF.)
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 Com-
pletion 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.
Refresh timing Description
Execution of TIMH(015)/TIMHX(551) The PV is updated every time that TIMH(015)/TIMHX(551) is executed.
The Completion Flag is turned ON if the PV is 0.
The Completion Flag is turned OFF if the PV is not 0.
ON
OFF
0
ON
OFF
SV
Timer input
Timer PV
Completion
Flag
ON
OFF
0
ON
OFF
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.