10
DEVICE EXPLANATION
10.2 Internal User Devices
10.2.10 Timer (T)
10
- 34
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
(8) Precautions for using timers
The following are a few precautions regarding timer use:
(a) Use of the same timer
A given timer cannot be designated (by OUT T ) more than once in a single
scan.
This designation results in measurement, since the timer current value is updated
at execution of each OUT T instruction.
(b) When the timer is not executed in every scan
When a timer (for example. T1) coil is ON, the OUT T1 instruction cannot be
skipped using a CJ instruction, and so forth.
If the OUT T instruction is skipped, the timer current value will not be updated.
When the timer exists in the subroutine program, the subroutine call, which
includes OUT T1 instruction, should be executed only once per every scan while
the timer coil (ex: T1) turns on
If the subroutine call is not executed in every scan, the timer current value will not
be updated.
(c) Program that cannot use timers
Timers cannot be used in interrupt programs and fixed scan execution programs.
(d) When set value is 0
If the timer set value is "0", the contact turnes ON when the OUT T instruction is
executed.
(e) When set value is changed after time-out
If the set value changes to a value which is higher than the current value following
a timer "time-out", the "time-out" status will remain in effect, and timer operation
will not be performed.
(f) When low speed execution type program is used
If a timer is used at a low speed execution type program, the current value will be
added to the low speed scan time when the OUT T instruction is executed.(
Note10
Figure 10.26 When the same timer is used
Note9
Note10
END
END
OUT
T
OUT
OUT
OUT
OUT
Current value
is updated.
Sequence
program
1 scan
T
T
T
T
Basic
Note10.9
The Basic model QCPU cannot use fixed scan execution type programs.
Basic
The Basic model QCPU, Redundant CPU and Universal model QCPU cannot use low speed
execution type programs.
Basic
Redundant
Universal
UD
Basic
Redundant
Universal
UD
Note10.10 Note10.1
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......