1
00:00:00,00 --> 00:00:05,900
Welcome to Part 4 of our Mitsubishi GX Works 
2 tutorial.

2
00:00:06,400 --> 00:00:13,000
Our topic is about the Set and Reset Instruction 
of Mitsubishi FX PLC.

3
00:00:14,700 --> 00:00:17,200
If you are familiar of latching circuit

4
00:00:17,300 --> 00:00:21,100
that is most used in relay logic direct on 
line motor starter

5
00:00:21,200 --> 00:00:27,800
this is almost the same function as the Set 
and Reset instruction of the PLC.

6
00:00:33,000 --> 00:00:39,800
Let us see the operation of an ordinary latching 
circuit.

7
00:00:45,000 --> 00:00:47,100
This is the stop button

8
00:00:47,200 --> 00:00:49,400
and this is the start button.

9
00:00:50,000 --> 00:00:52,900
If we activate the start button

10
00:00:54,000 --> 00:00:56,800
The output coil will be latched.

11
00:00:59,700 --> 00:01:08,400
Even if the start button is released the 
output is latched through this contact.

12
00:01:09,500 --> 00:01:22,000
If we press the stop button the latch will 
be released.

13
00:01:22,800 --> 00:01:26,200
The coil will then be deactivated.

14
00:01:27,000 --> 00:01:29,800
For the Set and Reset instruction

15
00:01:32,200 --> 00:01:36,400
This will be the start pushbutton and this 
will be the stop pushbutton

16
00:01:36,500 --> 00:01:39,000
and this is the output coil.

17
00:01:40,500 --> 00:01:48,000
If we activate this contact

18
00:01:48,100 --> 00:01:51,500
the output coil will be set.

19
00:01:51,600 --> 00:02:00,000
Even if the input contact is opened the output 
coil will remain On.

20
00:02:06,000 --> 00:02:09,000
In order to turn off the output coil

21
00:02:09,100 --> 00:02:15,000
the Reset instruction must be activated.

22
00:02:25,000 --> 00:02:30,000
That is the basics for Set and Reset instruction.

23
00:02:36,500 --> 00:02:43,600
Set and Reset instructions are not limited 
to latching applications.

24
00:02:43,800 --> 00:02:49,400
Reset is also used in PLC counter applications.

25
00:02:50,500 --> 00:02:56,800
For example in counters, if the Set value 
has been reached

26
00:02:57,500 --> 00:03:04,500
Reset should be used in order to return back 
to 0 count.

27
00:03:06,500 --> 00:03:08,000
We will see how it works.

28
00:03:18,200 --> 00:03:22,300
Even if the Preset value has not been reached,if 
the counter is reset

29
00:03:22,400 --> 00:03:25,000
the current count value will reset to 0.

30
00:03:27,000 --> 00:03:36,500
We will try to count up to the set value

31
00:03:42,000 --> 00:03:48,500
The counter coil is activated and its contact 
is closed

32
00:03:48,600 --> 00:03:55,500
The output coil is also activated.

33
00:04:02,000 --> 00:04:09,000
In order to open the this contact the counter 
must be reset.

34
00:04:10,400 --> 00:04:16,700
This input contact must be activated to reset 
the counter.

35
00:04:27,500 --> 00:04:36,700
For timer application, reset is used for 
retentive type timers.

36
00:04:36,800 --> 00:04:43,800
These are the timers that in the event the 
PLC is stopped

37
00:04:43,900 --> 00:04:59,000
or there is a power failure the running count 
value during the time the PLC stopped is 
retained.

38
00:05:00,200 --> 00:05:04,500
For example when we activate this X4 input 
contact

39
00:05:05,000 --> 00:05:08,300
the timer will start counting.

40
00:05:08,400 --> 00:05:16,700
Suppose this contact will open, the current 
count is retained.

41
00:05:26,000 --> 00:05:34,000
It has the capability to pause the counting 
or timing process.

42
00:05:34,100 --> 00:05:38,300
In order to continue the timing this input 
contact must be closed.

43
00:05:43,000 --> 00:05:52,500
Once the set value is reached the timer contact 
will close.

44
00:06:10,000 --> 00:06:15,100
The timer contact closed ang the output coil 
is energized.

45
00:06:15,200 --> 00:06:22,400
Even if this input contact is opened the 
timer will not reset.

46
00:06:30,500 --> 00:06:36,600
In order to reset the timer to 0, and to 
open the timer contact

47
00:06:36,700 --> 00:06:39,500
the timer has to be reset.

48
00:06:48,000 --> 00:06:52,200
That is how to use the Reset instruction 
for Retentive Timer.

49
00:06:52,300 --> 00:07:03,000
The timer can also be reset while in the 
middle of timing process.

50
00:07:14,000 --> 00:07:23,300
For data registers or other word devices 
its value can be reset.

51
00:07:24,000 --> 00:07:29,200
For example we have accummulated value in 
the data register,

52
00:07:29,500 --> 00:07:37,200
supposing there is a sensor in the input 
that counts finished products

53
00:07:37,300 --> 00:07:49,200
the accummulated number can be reset.

54
00:07:49,300 --> 00:07:52,800
We will see how it works.

55
00:07:52,900 --> 00:08:00,800
Every time the input goes high,

56
00:08:00,900 --> 00:08:06,900
the data register value is incremented due 
to the Increment Instruction.

57
00:08:25,000 --> 00:08:28,000
In order to reset the data register value 
to 0,

58
00:08:28,500 --> 00:08:36,000
we will provide a Reset Instruction to the 
data register.

59
00:08:48,500 --> 00:08:52,200
There is also a Zone Reset Instruction.

60
00:08:52,300 --> 00:09:05,700
This is used to reset in one time a range 
of bit devices, counters, timers or data 
registers.

61
00:09:06,500 --> 00:09:16,500
Example this range of auxiliary relays are 
set,

62
00:09:17,200 --> 00:09:20,500
we ran reset all of it in one time.

63
00:09:21,000 --> 00:09:27,400
For example from M10 to M12 can be reset 
in one time.

64
00:09:27,500 --> 00:09:30,800
The instruction is Zone Reset,

65
00:09:32,400 --> 00:09:36,600
This is the first destination device

66
00:09:36,800 --> 00:09:40,600
and this is the second destination device.

67
00:09:40,700 --> 00:09:45,500
The second destination device must be higher

68
00:09:45,600 --> 00:09:50,800
compared to the first destination device.

69
00:09:57,000 --> 00:10:04,900
The specified device range cannot contain 
mixed device types.

70
00:10:05,100 --> 00:10:10,000
For example a counter here and the other 
is a timer is not allowed.

71
00:10:10,100 --> 00:10:23,500
Devices must be of the same type.

72
00:10:23,600 --> 00:10:37,000
For example we set M10 to M13

73
00:10:39,000 --> 00:10:46,600
then we will reset in one time M10 to M12.

74
00:10:53,000 --> 00:10:59,100
The three auxiliary devices has been reset.

75
00:10:59,600 --> 00:11:02,700
M13 was not included because

76
00:11:02,800 --> 00:11:08,900
only the devices within the range is covered 
by the zone reset instruction.

77
00:11:09,600 --> 00:11:13,400
So we have to reset M13 individually.

78
00:11:24,000 --> 00:11:34,700
That is all for the basic tutorial on how 
to use the Set and Reset instruction.

79
00:11:36,000 --> 00:11:43,500
We will discuss the Timers on the next video 
tutorial.

80
00:11:45,000 --> 00:11:50,500
Thank you.

