Hello. 1
In this video we are going to do an application. 2
This is the example of DVP28SV. 3
read. 4
Speed and revolution and the position with the use just one encoder. 5
And in here we have an encoder A phase is connected to x4 and X2 together. 6
And the Z phase is connected to X3 and the B phase is connected to x5. 7
So for the encoder power supply Brown is connected to + and the blue is connected to - and 8
the plc s/s common input is connected to + and we have also to table is here and M1275 9
M1275 10
We are going to use in our application solution internal control signal input point of high speed Counter 11
one start signal point. 12
This is the relay internal relay that we are going to use and we will select Counter in here we will 13
use C238 and C 252 one is one phase one input Counter and the second one is two 14
phase two input Counter for encoder. 15
So remember we will rate speed and revolution and the position with just one encoder. 16
So I will create a new project and the project controller type will be DVP and the plc type will 17
be SV 18
I will say 19
encoder, leave it like this and I will say OK 20
project is creating now and I will come here program section and I will say new and I will say OK in 21
the ladder diagram we will start to write our codes LD M1000 always on contact and let's 22
give here. 23
Here we will read a speed, speed or read speed in here and I will use speed command, speed X2 24
and 1000ms 25
And I will write this output ,speed commands output in D500 like this and in the second line 26
I will use LD M1000 and I will define mine counters in here C252 27
C252 and k999999 then here 28
like this and also I will put here but this is the ISPSoft than I am using like this. 29
I am clicking in here. 30
type class all type Counter insert and I will create or put here my another C238 31
--- 32
And again count number can be like these. 33
And in here also I will select like these and these will be M 1275 34
I will set this one start control of for high speed Counter1 and this is the start signal. 35
So I will do it a little bit go up Read speed and read 36
revolution. 37
position so what happened now in here. 38
We put our encoders cable phase A and B and Z and in here we are reading the pulses from x2 and this 39
is for the speed command. 40
This is for speed to detect speed. 41
And also we are using a phases from x4. 42
And also we are getting Z phase from x3 and the phase B is connected to x5 and now one phase one input 43
C238. 44
What is happening with this Counter 45
We are getting. 46
Revolution with this Counter and with this Counter we are getting a position. 47
So in our project in here we will get with this Counter. 48
C252 we will get our position TWO phase tWo input. 49
And with this counter we will get our revolution and in here also be activated our channel and we are 50
getting speed from here. 51
So this is just a basic example but also a little bit useful for you because with one encoder in one 52
plc SV type plc you can get your speed and position and the revolution completely with these lines. 53
That's all. 54
So for this video I am finished here. 55
See you in the next video.