Omron CJ - INSTRUCTIONS Reference Manual page 1116

Table of Contents

Advertisement

3. Instructions
Function
TMHW(815)/TMHWX(817) creates an ON-delay countdown timer (10-ms timer set in SV) between
execution of the block program instruction preceding it and the instructions following. TMHW(815) can
time from 0 to 99.99 s with a timer accuracy of 0 to 0.01 s. TMHWX(817) can time from 0 to 655.35 s
with a timer accuracy of 0 to 0.01 s.
Note The timer accuracy for CS1D CPU Units is 10 ms + the cycle time.
The first part of the block program is executed the first time the block program is entered. When
TMHW(815)/TMHWX(817) is reached, the Completion Flag is reset to OFF, the timer is preset to the
SV, and execution of the rest of the block program will wait until SV has expired.
While the timer is timing down, only TMHW(815)/TMHWX(817) will be executed to update the timer.
When the timer times out, the Completion Flag will turn ON and the rest of the block program will be
executed.
Hint
• This instruction is a WAIT instruction that uses a timer (time out) for the execution condition. This can
be used in a process that advances based on a timer.
Precautions
• The present value of timers programmed with timer numbers 0000 to 2047 will be updated even
when the timer is on standby. The present value of timers programmed with timer numbers 2048 to
4095 will be held when the timer is on standby.
• The rest of the block program following TMHW(815)/TMHWX(817) will be executed if the Completion
Flag for the timer is force set.
• If the Completion Flag for the timer is force reset, the only TMHW(815)/TMHWX(817) will be
executed in the block program until the force reset status is cleared.
• The timer numbers are also used by the other timer instructions. Operation will not be predictable if
the same timer number is used for more than one timer instruction. Use each timer number only
once. The only way that the same timer number can be used dependably is if only one of the timers is
ever operating at the same time. An error will occur in the program check if the same timer number is
used in more than one timer instruction.
• The timer will not operate correctly if the cycle time is 100 ms or longer.
1078
"A"
executed.
SV preset.
Time elapsed.
"B" executed.
"C" executed.
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents