81
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.5 Timer [T]
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
4.5.6
Program examples [off-delay timer and flicker timer]
Off-delay timer
Flicker timer (blink)
In addition, the flicker operation can be performed by the ALT (FNC 66) instruction.
Multi-timer by the applied instruction STMR (FNC 65)
By this instruction, off-delay timers, one-shot timers and flicker timers can be easily created.
→
For details, refer to Section 14.6.
Off-delay timer and one-shot timer
Flicker timer
In addition, the timer time can be set according to the switch input time by the teaching timer instruction
TTMR (FNC 64).
X001
T 5
Y000
T 5
K200
T5
(20 sec)
X001
Y000
Y000
X001
X001
T 2
T 1
T 2
K10
K20
T 1
Y000
Y000
T 2
One
operation
cycle
X001
T1
T2
T1
2
sec
1
sec
2
sec
( )
X000
FNC 65
STMR
T 10
K100
M 0
S
m
D
X000
M 0
M 1
M 3
10
sec
10
sec
10
sec
10
sec
10
sec
M 2
A value specified by "m" becomes the set value
of the timer specified by . 10-second in this
example.
•
S
M0 is an off-delay timer.
•
M1 is a one-shot timer after "ON
→
OFF"
operation.
•
M2 and M3 are provided for a flicker timer, and
connected as shown in the program example for
flicker timer (on the lower left).
•
X000
M 3
FNC 65
STMR
T 10
K100
M 0
X000
M 2
M 1
When M3 is connected as shown in the left
figure, M2 and M1 become flicker outputs.
•
When X000 is set to OFF, M0, M1 and M3 are
turned OFF and T10 is reset after the set time.
•
Do not use the timers here in other general
circuits again.
•