95
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.5 Timer [T]
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
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) <FX3U/FX3UC 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).
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
mD
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.
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.