0
1
00:00:21,540 --> 00:00:22,300
Hello.
1

2
00:00:22,440 --> 00:00:26,740
In this video we are going to do an application.
2

3
00:00:26,760 --> 00:00:28,570
This is the example of DVP28SV.
3

4
00:00:28,620 --> 00:00:31,380
read.
4

5
00:00:31,620 --> 00:00:38,100
Speed and revolution and the position with the use just one encoder.
5

6
00:00:38,220 --> 00:00:46,750
And in here we have an encoder A phase is connected to x4 and X2 together.
6

7
00:00:46,890 --> 00:00:54,540
And the Z phase is connected to X3 and the B phase is connected to x5.
7

8
00:00:54,600 --> 00:01:01,470
So for the encoder power supply Brown is connected to + and the blue is connected to - and
8

9
00:01:01,470 --> 00:01:13,950
the plc s/s common input is connected to + and we have also to table is here and M1275
9

10
00:01:13,950 --> 00:01:15,800
M1275
10

11
00:01:15,870 --> 00:01:25,190
We are going to use in our application solution internal control signal input point of high speed Counter
11

12
00:01:25,190 --> 00:01:27,750
one start signal point.
12

13
00:01:27,980 --> 00:01:35,360
This is the relay internal relay that we are going to use and we will select Counter in here we will
13

14
00:01:35,360 --> 00:01:44,750
use C238  and C 252 one is one phase one input Counter and the second one is two
14

15
00:01:44,750 --> 00:01:48,290
phase two input Counter for encoder.
15

16
00:01:48,290 --> 00:01:55,030
So remember we will rate speed and revolution and the position with just one encoder.
16

17
00:01:55,160 --> 00:02:02,000
So I will create a new project and the project controller type will be DVP and the plc type will
17

18
00:02:02,000 --> 00:02:04,890
be SV
18

19
00:02:05,300 --> 00:02:05,990
I will say
19

20
00:02:09,280 --> 00:02:14,840
encoder, leave it like this and I will say OK
20

21
00:02:18,240 --> 00:02:27,510
project is creating now and I will come here program section and I will say new and I will say OK in
21

22
00:02:27,510 --> 00:02:37,380
the ladder diagram we will start to write our codes LD M1000 always on contact and let's
22

23
00:02:37,400 --> 00:02:38,300
give here.
23

24
00:02:38,530 --> 00:02:52,520
Here we will read a speed, speed or read speed in here and I will use speed command, speed X2
24

25
00:02:53,250 --> 00:02:56,230
and 1000ms
25

26
00:02:56,520 --> 00:03:05,720
And I will write this output ,speed commands output in D500 like this and in the second line
26

27
00:03:06,090 --> 00:03:19,690
I will use LD M1000 and I will define mine counters in here C252
27

28
00:03:19,700 --> 00:03:25,250
C252 and k999999 then here
28

29
00:03:27,940 --> 00:03:36,620
like this and also I will put here but this is the ISPSoft than I am using like this.
29

30
00:03:36,630 --> 00:03:38,610
I am clicking in here.
30

31
00:03:38,690 --> 00:03:48,620
type class all type Counter insert and I will create or put here my another C238
31

32
00:03:48,620 --> 00:03:51,360
---
32

33
00:03:51,610 --> 00:03:56,410
And again count number can be like these.
33

34
00:03:56,550 --> 00:04:07,110
And in here also I will select like these and these will be M 1275
34

35
00:04:07,430 --> 00:04:18,210
I will set this one start control of for high speed Counter1 and this is the start signal.
35

36
00:04:18,690 --> 00:04:29,350
So I will do it a little bit go up Read speed and read
36

37
00:04:31,610 --> 00:04:33,330
revolution.
37

38
00:04:33,570 --> 00:04:40,890
position so what happened now in here.
38

39
00:04:41,020 --> 00:04:52,030
We put our encoders cable phase A and B and Z and in here we are reading the pulses from x2 and this
39

40
00:04:52,030 --> 00:04:54,260
is for the speed command.
40

41
00:04:54,340 --> 00:04:58,550
This is for speed to detect speed.
41

42
00:04:59,000 --> 00:05:04,040
And also we are using a phases from x4.
42

43
00:05:04,220 --> 00:05:14,900
And also we are getting Z phase from x3 and the phase B is connected to x5 and now one phase one input
43

44
00:05:15,140 --> 00:05:17,360
C238.
44

45
00:05:17,930 --> 00:05:20,100
What is happening with this Counter
45

46
00:05:20,210 --> 00:05:21,560
We are getting.
46

47
00:05:21,570 --> 00:05:28,940
Revolution with this Counter and with this Counter we are getting a position.
47

48
00:05:29,000 --> 00:05:34,900
So in our project in here we will get with this Counter.
48

49
00:05:34,910 --> 00:05:40,130
C252 we will get our position TWO phase tWo input.
49

50
00:05:40,130 --> 00:05:48,290
And with this counter  we will get our revolution and in here also be activated our channel and we are
50

51
00:05:48,290 --> 00:05:49,900
getting speed from here.
51

52
00:05:50,120 --> 00:06:00,710
So this is just a basic example but also a little bit useful for you because with one encoder in one
52

53
00:06:00,740 --> 00:06:09,620
plc SV type plc you can get your speed and position and the revolution completely with these lines.
53

54
00:06:09,750 --> 00:06:10,580
That's all.
54

55
00:06:10,610 --> 00:06:13,010
So for this video I am finished here.
55

56
00:06:13,010 --> 00:06:14,540
See you in the next video.
