Mitsubishi 00JCPU User Manual page 405

Q series programmable controller
Table of Contents

Advertisement

(8) Precautions for using timers
(a) Use of the same timer
Do not use the OUT T
If this occurs, the current timer value will be updated by each OUT T
incorrect time measurement.
OUT
END
T
Sequence
program
(b) When the timer is not executed in every scan
While a coil of a timer (for example. T1) is on, do not make the OUT T1 instruction jumped to any other part
with another instruction such as CJ.
If jump of the OUT T
Also, if a timer exists in a subroutine program, execute a subroutine call including the OUT T1 instruction once
in each scan while the coil of the timer (for example, T1) is on.
Failure to do so will not update the current timer value.
(c) Programs that cannot use timers
Timers cannot be used in interrupt programs and fixed scan execution programs.
(d) When the set value is 0
The contact turns on when the OUT T
instruction that describes the same timer more than once within one scan.
OUT
OUT
T
T
END
1 scan
Figure 9.26 When the same timer is used
instruction has occurred, the current timer value is not updated.
instruction is executed.
instruction execution, resulting in
OUT
OUT
T
T
Current value is updated.
CHAPTER9 DEVICES
9
9 - 30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents