Mitsubishi Electronics FX3G User Manual

Page of 964
97
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.5 Timer [T]
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
4.5
Timer [T]
Timers add and count clock pulses of 1 ms, 10 ms, 100 ms, etc. inside the PLC. When the counted value reaches a
specified set value, the output contact of the timer turns on.
A set value can be directly specified by a constant (K) in the program memory, or indirectly specified by the contents of
a data register (D).
4.5.1
Numbers of timers
The table below shows timer (T) numbers. (The numbers are assigned in decimal.)
1. FX
3S
 PLC
2. FX
3G
/FX
3GC
 PLCs
3. FX
3U
/FX
3UC
 PLCs
Timer numbers not used for timers can be used as data registers for storing numeric values.
*1.
In FX
3S
/FX
3G
/FX
3GC
 PLCs, retentive type timers are backed up by the EEPROM memory.
*2.
This function is not supported in the FX
3S
-30M /E -2AD PLC.
*3.
This function is supported only in FX
3G
 PLC.
*4.
In FX
3U
/FX
3UC
 PLCs, retentive type timers are backed up by the battery.
4.5.2
Functions and operation examples
1. General type
When the drive input X000 of the timer coil T200 turns ON, the current
value counter for T200 adds and counts clock pulses of 10 ms. When
the counted value becomes equivalent to the set value K123, the
output contact of the timer turns on.
In other words, the output contact turns on 1.23 seconds after the coil
is driven.
When the drive input X000 turns OFF or when the power is turned off
the timer is reset and the output contact returns.
[
The program of 100 ms/10 ms type timer of the FX
3S
 PLC]
For FX
3S
, driving M8028 ON, timers T32 to T62 are changed to 
10 ms resolution.
For 100 ms pulses
0.1 to 3276.7 sec
For 100/10 ms 
pulses
0.1 to 3276.7 sec
0.01 to 327.67 sec
For 1 ms pulses
0.001 to 32.767 sec
Retentive type for 
1 ms pulses
0.001 to 32.767 sec
Retentive type for 
100 ms pulses
0.1 to 3276.7 sec
Potentiometer type
0 to 255 
(numeric value)
T0 to T62
63 points
T32 to T62
31 points
T63 to T127
65 points
T128 to T131
4 points
Latched type
*1
T132 to T137
6 points
Latched type
*1
2 built-in points
*2
Stored in D8030 and 
D8031
For 100 ms pulses
0.1 to 3276.7 sec
For 10 ms pulses
0.01 to 327.67 sec
Retentive type for 
1 ms pulses
0.001 to 32.767 sec
Retentive type for 
100 ms pulses
0.1 to 3276.7 sec
For 1 ms pulses
0.001 to 32.767 sec
Potentiometer type
0 to 255 
(numeric value)
T0 to T199
200 points
-------------
Routine program 
type
T192 to T199
T200 to T245
46 points
T246 to T249
4 points for
Interrupt execution
Latched type
*1
T250 to T255
6 points
Latched type
*1
T256 to T319
64 points
2 built-in points
*3
Stored in D8030 and 
D8031
For 100 ms pulses
0.1 to 3276.7 sec
For 10 ms pulses
0.01 to 327.67 sec
Retentive type for 
1 ms pulses
*4
0.001 to 32.767 sec
Retentive type for 
100 ms pulses
*4
0.1 to 3276.7 sec
For 1 ms pulses
0.001 to 32.767 sec
T0 to T199
200 points
-------------
Routine program type
T192 to T199
T200 to T245
46 points
T246 to T249
4 points for
Interrupt execution 
Latched (battery 
backed) type
*4
T250 to T255
6 points
Latched (battery 
backed) type
*4
T256 to T511
256 points
X000
T200
T200
Y000
K123
1.23 sec
Set value
X000
Current
value
Y000
Set value
(constant)
A data register
can be
specified also.
RUN monitor
M8000
M8028
X003
T32
K100
1-second timer