1
00:00:00,700 --> 00:00:05,900
Welcome to Part 5 of our Mitsubishi GX Works 
2 tutorial.

2
00:00:07,100 --> 00:00:10,800
We are going to discuss about Timers.

3
00:00:10,900 --> 00:00:17,400
The Mitsubushi FX PLC timer operates by counting

4
00:00:17,500 --> 00:00:26,800
clock pulses in 1 millisecond, 10 milliseconds 
or 100 milliseconds resolution.

5
00:00:29,600 --> 00:00:34,600
The timer device identifier is 'T'.

6
00:00:34,700 --> 00:00:41,800
It is a bit device with 0 (off) or 1 (on) 
output

7
00:00:41,900 --> 00:00:45,300
and the device address format is Decimal.

8
00:00:46,500 --> 00:00:55,800
The addressing of Timer is not the same as 
the X and Y devices

9
00:00:55,900 --> 00:00:58,700
which are limited to 0 to 7 or octal numbering 
system.

10
00:00:59,000 --> 00:01:10,700
The timers can be addressed from 0 to 9 decimal 
numbers.

11
00:01:10,900 --> 00:01:18,800
For example T0, T10, T11, T19, T20 and so 
on.

12
00:01:22,700 --> 00:01:34,000
The type of timer that we can use depends 
on the PLC type.

13
00:01:35,500 --> 00:01:46,700
For example, the FX1S PLC has normal timers 
only.

14
00:01:46,800 --> 00:01:49,100
It doesn't have retentive timers.

15
00:01:49,200 --> 00:02:01,300
The number of 100 ms timer for FX1S is only 
63.

16
00:02:02,100 --> 00:02:09,500
It starts from T0 to T62.

17
00:02:11,600 --> 00:02:21,600
It has only 1 timer for the 1 ms resolution 
and it is T63.

18
00:02:23,300 --> 00:02:37,600
For the FX1N PLC there are 200 numbers of 
100 ms normal timer from T0 to T199

19
00:02:38,900 --> 00:02:51,200
and there 6 numbers 100 ms retentive timers 
from T250 to T255.

20
00:02:53,000 --> 00:03:13,500
Retentive timers retains its present value 
even if the plc is stopped or there is a 
power failure.

21
00:03:14,500 --> 00:03:23,200
Once the plc is run again or the power is 
back, and the driving contact is closed

22
00:03:23,300 --> 00:03:30,700
the retentive will continue its counting 
from where it left off.

23
00:03:32,700 --> 00:03:44,100
Therefore the type of timer depends on the 
PLC type.

24
00:03:48,600 --> 00:03:56,900
This is how a timer program for an FX PLC 
is written.

25
00:04:03,000 --> 00:04:11,900
A drive input contact is needed to activate 
the timer.

26
00:04:13,100 --> 00:04:19,200
The timer uses an output coil symbol

27
00:04:19,300 --> 00:04:27,400
Press function key F7 or click the Coil symbol 
from the tool bar.

28
00:04:27,500 --> 00:04:48,000
Then enter the timer number, space and the 
constant K followed by the preset value.

29
00:04:48,100 --> 00:05:15,400
This is how timer preset value is computed.

30
00:05:15,500 --> 00:05:33,200
For a 10 seconds preset value with a 100ms 
timer resolution,

31
00:05:33,300 --> 00:05:46,800
looking at the FX1N timer device table, for 
100 ms resolution, the available timer is 
from T0 to T199.

32
00:05:53,900 --> 00:06:07,000
Preset value in milliseconds divided by timer 
resolution.

33
00:06:07,100 --> 00:06:30,000
Converting 10 seconds to milliseconds equals 
to 10,000 milliseconds

34
00:06:30,100 --> 00:06:34,800
then divide by 100 milliseconds equals to 
100.

35
00:06:34,900 --> 00:06:47,700
Therefor a 10 seconds preset value is equivalent 
to 100 K constant.

36
00:06:48,200 --> 00:07:13,000
We will add a timer contact to activate an 
output coil.

37
00:07:13,100 --> 00:07:23,500
Compile the program then we will simulate.

38
00:07:26,000 --> 00:07:36,000
We will close this contact.

39
00:07:37,000 --> 00:07:40,500
We can see that the timer starts counting.

40
00:07:40,600 --> 00:07:45,200
If we switch off the input contact the counted 
value goes back to 0.

41
00:07:45,300 --> 00:07:49,400
That is because this timer is normal timer 
and not a retentive type.

42
00:07:49,500 --> 00:07:52,400
We switch on again the drive contact.

43
00:07:55,000 --> 00:08:00,600
When the preset value of 10 seconds is reached,the 
timer contact will close.

44
00:08:05,600 --> 00:08:17,700
To open the timer contact and reset the timer 
the drive contact must be opened.

45
00:08:22,100 --> 00:08:28,600
That is how a normal Mitsubishi FX PLC timer 
works.

46
00:08:31,000 --> 00:08:36,300
There is also a retentive timer.

47
00:08:36,400 --> 00:08:45,100
This different from normal timer has the 
ability to retain

48
00:08:45,200 --> 00:08:56,600
the currently reached present value even 
after the drive contact has been removed.

49
00:09:01,000 --> 00:09:08,200
These are the retentive timers and these 
are the addresses.

50
00:09:08,300 --> 00:09:14,100
For FX1N, from T250 to T255.

51
00:09:17,400 --> 00:09:32,800
For FX3S from T131 to T137 for 100ms resolution.

52
00:09:36,000 --> 00:09:47,500
For FX3G 1ms resolution, from T246 to T249,

53
00:09:47,600 --> 00:09:58,000
the same as for FX2N.

54
00:09:59,000 --> 00:10:06,500
So the retentive timer depends on the PLC 
type except for FX1S

55
00:10:08,000 --> 00:10:15,100
Let us make an example for retentive timer.

56
00:10:42,800 --> 00:10:56,200
For example we need a 15 seconds timer, the 
constant should be 150.

57
00:11:54,500 --> 00:12:08,100
If we open the drive contact the counted 
value is retained.

58
00:12:08,200 --> 00:12:10,500
It did not reset to 0.

59
00:12:12,000 --> 00:12:20,100
When we switch on again the drive input X1, 
the counting continues.

60
00:12:21,000 --> 00:12:27,000
When it reaches the preset constant value 
of 150

61
00:12:27,100 --> 00:12:33,200
its contact will close and the output coil 
will be activated.

62
00:12:33,300 --> 00:12:39,000
Even if the drive contact will be switched 
off

63
00:12:40,500 --> 00:12:49,400
The timer is not reset.

64
00:12:49,500 --> 00:13:00,500
For retentive timers a reset instruction 
is needed.

65
00:14:05,000 --> 00:14:22,800
We simulate again this retentive timer.

66
00:14:22,900 --> 00:14:31,000
Switch off the drive input. The counted value 
is retained.

67
00:14:31,800 --> 00:14:38,700
We need to close this contact to activate 
the Reset instruction.

68
00:14:56,300 --> 00:15:02,200
We can see that the retentive timer has been 
reset and its contact is also opened.

69
00:15:06,800 --> 00:15:19,500
That is all for now for the basics of Mitsubishi 
FX PLC timers.

70
00:15:21,000 --> 00:15:27,900
For the next tutorial we will be discussing 
how to implement an Off delay timer on FX 
PLC.

71
00:15:28,000 --> 00:15:38,500
FX PLCs don't have built in off delay timers

72
00:15:38,600 --> 00:15:59,000
so we will make a small program using an 
ordinary timer.

73
00:16:00,100 --> 00:16:04,900
Thank you.

