0
1
00:00:21,460 --> 00:00:22,300
Hello.
1

2
00:00:22,380 --> 00:00:24,660
In this video we are going to learn.
2

3
00:00:24,660 --> 00:00:25,180
common
3

4
00:00:25,170 --> 00:00:31,710
special contacts, we need to learn this contacts before to write
4

5
00:00:31,720 --> 00:00:39,430
plc programs because we are going to really need these contacts in our plc projects.
5

6
00:00:39,550 --> 00:00:42,400
when plc is run situation.
6

7
00:00:42,550 --> 00:00:55,030
You can see in here M1000 ,1001 1002 1003 auxiliary relays and these contacts are special 
7

8
00:00:55,090 --> 00:00:57,310
M contacts are working.
8

9
00:00:57,310 --> 00:00:58,330
But how.
9

10
00:00:58,420 --> 00:01:06,620
M one thousand contact is means a contact constantly on during operation and detection.
10

11
00:01:06,730 --> 00:01:16,690
When plc is in run status m1000 remains  M1001 B contact is constantly off during
11

12
00:01:16,690 --> 00:01:18,270
operation and detection.
12

13
00:01:18,340 --> 00:01:28,030
When plc is in run status M1001 remains off M1002 is on during the first scan when the plc starts
13

14
00:01:28,030 --> 00:01:35,620
to run and remains off afterwards, the pulse width is equals to one scan time.
14

15
00:01:35,620 --> 00:01:41,900
So use this contact for all kinds of initial settings like communications settings like before to
15

16
00:01:41,930 --> 00:01:50,410
start up the while starting up project or starting up plc you can use this contact just once to
16

17
00:01:50,410 --> 00:01:59,410
write some variables to your data registers and M1003 is off during the first scan then plc starts to
17

18
00:01:59,410 --> 00:02:06,530
run and remains on afterward and M1003 enables negative direction.
18

19
00:02:06,580 --> 00:02:17,140
So for m1011,12 and 13 and 14 for the time to adapt our time to
19

20
00:02:17,440 --> 00:02:27,180
give a pulses and also activate some contacts always with the sequentially or time by time to activate
20

21
00:02:27,460 --> 00:02:37,930
we can use this contact M1011 is five millisecond on five milliseconds off M1012 50
21

22
00:02:37,990 --> 00:02:49,790
milliseconds on and 50 milliseconds off M1013 500 milliseconds on 500 milliseconds off M1040 in 30
22

23
00:02:49,900 --> 00:02:52,440
seconds on 30 second off.
23

24
00:02:52,780 --> 00:02:53,560
Let's take a look.
24

25
00:02:53,560 --> 00:02:57,670
These M contacts with an example.
25

26
00:02:57,670 --> 00:03:03,940
So let's create a new project and give a name to this project 
26

27
00:03:06,740 --> 00:03:17,270
M contacts  our controller type is going to be DVP and the plc type can be SS2 a new program.
27

28
00:03:17,270 --> 00:03:17,860
Okay.
28

29
00:03:17,900 --> 00:03:20,330
Cyclic task can be  ladder diagram.
29

30
00:03:20,450 --> 00:03:33,980
Okay creat  project and let's write ld m1000 and also I want to create an another network.
30

31
00:03:34,460 --> 00:03:35,650
Okay.
31

32
00:03:35,840 --> 00:03:45,840
LD M1001 ,LD M1002
32

33
00:03:48,730 --> 00:03:52,500
LD M1003
33

34
00:03:57,310 --> 00:04:00,900
LD M1011
34

35
00:04:05,200 --> 00:04:14,980
LD M1012 and one more network LD M1013
35

36
00:04:18,080 --> 00:04:23,190
LD M1014
36

37
00:04:23,350 --> 00:04:33,820
So what we are going to expect from these networks M1000 will always on this is put in here to
37

38
00:04:33,910 --> 00:04:40,780
outputs and what will happen   let's watch them all.
38

39
00:04:40,780 --> 00:04:43,720
Or let's monitor them all altogether.
39

40
00:04:43,720 --> 00:04:46,990
So I will just give out y0.
40

41
00:04:47,240 --> 00:05:05,350
I will say to set them all and set y1 , set y2 , set y3
41

42
00:05:08,320 --> 00:05:10,600
set y4
42

43
00:05:13,690 --> 00:05:15,130
also I will.
43

44
00:05:15,550 --> 00:05:22,760
I'm not going to use this in here I will say increöemt D0
44

45
00:05:25,230 --> 00:05:35,370
increment D1 we will learn increment or decrement command in the next videos but I
45

46
00:05:35,370 --> 00:05:45,300
will just give an example to in here increment D2 increment D3 and open our simulator and project
46

47
00:05:45,300 --> 00:05:53,730
is going to be compiled and yes transfer our program or project to Plc and now it's transferring and
47

48
00:05:53,940 --> 00:05:57,100
go back to running state and on.
48

49
00:05:57,870 --> 00:06:08,850
So now look M1000 directly set ,  this is M1002 just giving it just a single positive pulse when
49

50
00:06:08,850 --> 00:06:10,410
the plc is run.
50

51
00:06:10,410 --> 00:06:19,830
Now you can see it is off but output is high and M1003 giving negative pulse at the moment when
51

52
00:06:19,830 --> 00:06:21,110
run is active.
52

53
00:06:21,210 --> 00:06:30,000
So it is always active too and it it's also giving to output to our coil and it is set
53

54
00:06:30,090 --> 00:06:39,570
And look our values it is giving a 10 millisecond clock pulse five milliseconds high five
54

55
00:06:39,570 --> 00:06:50,700
milliseconds of and this is fifty millisecond high and 50 milliseconds of and this is 500 milliseconds
55

56
00:06:50,790 --> 00:07:03,690
on 500 millisecond off and you see this is our value and one minute is 30 second on 30 second off
56

57
00:07:04,230 --> 00:07:12,270
and it is giving a pulse while this value is increasing because 30 second this is activated so it is
57

58
00:07:12,570 --> 00:07:17,240
incrementing always and third second it is incrementing.
58

59
00:07:17,430 --> 00:07:25,290
And now you can see the values are changing and these special contacts are giving an output according
59

60
00:07:25,290 --> 00:07:27,700
to their special settings.
60

61
00:07:27,900 --> 00:07:30,320
And in here you can see it.
61

62
00:07:30,320 --> 00:07:39,880
Y1 is said not set because M1001 is b contact and normally close contact.
62

63
00:07:39,920 --> 00:07:46,330
So let is make this off, set off then this will be always off.
63

64
00:07:46,340 --> 00:07:48,420
It is not possible to get this.
64

65
00:07:48,560 --> 00:07:53,910
Y0 to reset and M1003
65

66
00:07:54,110 --> 00:07:57,020
Get this off but always on.
66

67
00:07:57,020 --> 00:08:00,150
So let's stop our plc.
67

68
00:08:00,320 --> 00:08:07,640
Our plc is stopped and now just look out to y2.
68

69
00:08:08,000 --> 00:08:18,290
I will give to run our plc and first scan it is set ,so we can use M1000,1001,1002,1003
69

70
00:08:18,290 --> 00:08:20,980
---
70

71
00:08:20,990 --> 00:08:29,810
with like this we can just uh follow our schematic also in here plc is at the run state with
71

72
00:08:29,810 --> 00:08:39,600
M1000 is always on ,when plc is off M1000 goes off in this moment when
72

73
00:08:39,610 --> 00:08:48,200
M1000 goes off and M1001goes high or on and M1002 just giving
73

74
00:08:48,200 --> 00:08:56,060
a pulse in here you can see and M1003giving pulse but in the negative direction
74

75
00:08:56,420 --> 00:08:57,270
for the.
75

76
00:08:57,290 --> 00:09:06,830
time bit you can see it in here one square wave goes high and low and again high this
76

77
00:09:07,040 --> 00:09:17,850
complete time is ten millisecond but to go on and to go off this time is ten millisecond divide by two.
77

78
00:09:17,870 --> 00:09:28,160
This is the result of half of M1011 settings and in here you can see it easily one minute
78

79
00:09:28,640 --> 00:09:39,290
then this goes high and goes to high and high and low and low and low and low and high this time just
79

80
00:09:39,290 --> 00:09:47,870
in the middle and this is 30 second this equals thirthy second and thirthy second on and thirthy.
80

81
00:09:47,910 --> 00:09:58,720
Second off so I'm finished in this video and this special and contacts are going to be helpful and we
81

82
00:09:58,710 --> 00:10:06,610
are going to use them all in our projects also then we can we should learn them all.
82

83
00:10:06,750 --> 00:10:15,810
effectively and there is a lot of m contacts and  lot of special D registers and the
83

84
00:10:15,810 --> 00:10:22,050
contact types but these are all  the basic ones and the important ones.
84

85
00:10:22,050 --> 00:10:25,490
So I'm finished in this video a moment.
85

86
00:10:25,740 --> 00:10:27,810
So see you in the next video.
