Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G Manuale Utente
95
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.5 Timer [T]
1
In
trodu
ct
ct
ion
2
O
ver
vi
ew
3
In
st
ru
ct
ion
Li
st
4
D
evices
in D
etail
etail
5
Specifi
ed t
he
he
D
evice &
C
onst
ant
ant
6
Bef
ore
ore
Pr
ogr
am
am
m
ing
7
B
asic
In
st
ru
ct
ion
8
FNC0
0-F
0-F
NC0
9
Pr
ogr
am
Flow
am
Flow
9
FN
C
C
10-FN
C
19
Mo
ve
ve
&
Co
mp
are
are
10
FNC2
0-F
0-F
NC2
9
Ar
ith.
&
&
Logic
O
per
ati
ati
on
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) <FX
3U
/FX
3UC
PLC>
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).
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
M0
S
m
D
X000
M0
M1
M3
10
sec
10
sec
10
sec
10
sec
10
sec
M2
A value specified by "m" becomes the set value
of the timer specified by . 10-second in this
example.
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 (below).
•
X000
M 3
FNC 65
STMR
T 10
K100
M0
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.
•