Omron CJ - INSTRUCTIONS Reference Manual page 1111

Table of Contents

Advertisement

Function
TIMW(813)/TIMWX(816) creates an ON-delay countdown timer (100-ms timer set in SV) between
execution of the block program instruction preceding it and the instructions following. TIMW(813) can
time from 0 to 999.9 s with a timer accuracy of 0 to 0.01 s. TIMWX(816) can time from 0 to 6,553.5 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
TIMW(813)/TIMWX(816) 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 TIMW(813)/TIMWX(816) 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
• TIMW(813)/TIMWX(816) can be thought of as a WAIT instruction with a timer for the execution
condition and it can thus be used for timed step progressions.
Precautions
• No block programming instructions will be executed after the input condition for TIMW(813) turns ON
until TIMW(813) times out. The other block programming instructions will be executed again after the
set time for TIMW(813) has expired. If, however, online editing is executed for a task containing a
block program, the wait status created by TIMW(813) will be cleared and the block program will be
executed again from the beginning.
• 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 timer will be executed if the Completion Flag for the timer is
force set.
• If the Completion Flag for the timer is force reset, only TIMW(813)/TIMWX(816)) 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.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
"A"
executed
and SV
preset.
Time elapsed.
"B" executed.
"C" executed.
3. Instructions
3
1073

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents