210
21 DEVICES
21.2 User Devices
Current value and measurement range of timer
■Timer
The current value range is 0 to 32767.
Timer processing method
The timer's coil is turned ON/OFF, the current value is updated and the contact is turned ON/OFF when timer's coil (OUT T
instruction) is executed.
The difference between a timer and a routine timer
Described below is the difference between a timer and a routine timer.
Precautions when using timers
Precautions when using timers are as follows.
• Do not specify the same timer coil (OUT T instruction) more than once per scan. If you do, the current value of the timer
is updated when each respective timer coil is executed, so measurement cannot be performed normally.
• If timer is not executed each scan: You cannot skip a timer coil (OUT T instruction) with the CJ instruction, etc., while the
timer's (T1 for example) coil is ON. If a timer's coil is skipped, the timer's current value is not updated, so measurement
cannot be performed normally. If a timer (T1 for example) exists within a subroutine program, be sure to execute the
subroutine coil that includes the T1 coil only once per scan while that timer's coil is ON. If not executed, measurement
cannot be performed normally.
• The timer cannot be used in the initial execution type program, fixed scan execution type program, or event execution type
program. The timer can be used in standby type programs if the coil of timer (OUT T instruction) is executed one time for
one scan using a subroutine program.
• The timer cannot be used in interrupt programs. The timer can be used in subroutine programs or FB programs if the coil of
timer (OUT T instruction) is executed one time for one scan.
• If setting value is "0": The contact is turned ON when the OUT T instruction is executed.
• If setting value is modified after time up: The timer remains in time up status and does not operate even if the setting value
is raised higher than the current value after time up.
Item Timer Routine timer
Resolution 100 ms/10 ms /1 ms 100 ms
The timing of counting (count up) When the OUT T instruction or the ANS instruction is
executed
• When the OUT T instruction or the ANS instruction is
executed
• If the OUT T instruction or the ANS instruction is not
executed, the counting starts when the END instruction
is executed.
The timing of time up (the operation at
the output contact)
When the OUT T instruction or the ANS instruction is
executed
• When the OUT T instruction or the ANS instruction is
executed
• When the END instruction is executed
Device T, ST T