Hello. 1
In this video we are going to look DVP02DA analog modules and we will give an analog output. 2
We will use channel 1 and Channel 2 as voltage output in here. 3
You can see a scheme for the voltage output and current output for voltage output. 4
We need to put - to common and we will get our voltage from V+ for current output. 5
We will get our current output from I+ and we need to put com also externally and 24 volt. 6
We need to give to our special module DVP02DA module needs 24 volt. 7
Also you are giving 24VDC to your plc- cpu and also you need to put here 24 volt this 8
is also really important for DVP02DA analog module control register 1 is output mode setting so 9
mod 0 is 0 0 0 so be 0 and 1 and 2 just 3 bits for Channel 1 and 3 and 4 and 5 these bits are for 10
Channel 2 if you want to adopt your mode 1 output voltage mode Unit 2 right 0 0 and 1 for example if 11
you want to adopt your output as current mode and it is more 2 You need to write 0 1 0 as binary. 12
This is equal to 1. 13
So control register 10 and eleven is Channel 1 output value is control register turn and Channel 2 output 14
value is control register eleven and the important point is here. 15
K 0 and K 4000 16
So if we adopt our output it as voltage for Channel 1 and Channel 2 and this output voltage mode will 17
be 0 to 10 volt 18
So 10 Volt will be equal to 4000 and 0 will be equal to 0 19
So go to ISPsoft and create a new project. 20
Leave it like this. 21
We can use PLC type as we in the programs area right click to here and select new and leave it like 22
this doesn't matter for a moment I'm going to say okay 23
and the project page is open and LD M1000 and I will put there to command I will select this at 24
function all types and to insert it. 25
So what was it how was we are using to instruction. 26
The first one and one is number of special module and imagine we put these DVP02XA module to nearby 27
of the CPU as first module. 28
So because of these these modules number will be 0 and the control register that we gonna write in it. 29
So let's take a look. 30
Control register is 1. 31
So we will write. 32
Control register 1 via. 33
Or inside to control register 1. 34
So we need to define which control register that we are going to write as one. 35
So in here that ought to be written in CR 36
Wait 0 that we are going to write a number of data to be written at the time will be 1. 37
This is the complete settings of voltage output and what will we do. 38
We will use to channel 1 and Channel 2 as voltage output. 39
So we need to define 2 more 2 instruction. 40
Come here click these 1 and say 2 here. 41
Inserted and again click this one and come here and add one more to instruction 2 our project and the 42
second one we will write first. 43
Channel 1 again first module and control register of this module will be 10 and that ought to be written 44
for example the one hundred and one data and zero and eleven and the one hundred and two and first and 45
let's put it like this a little bit more up. 46
So what we did in here d 100 will be channel 1 voltage. 47
So how it is working 48
D 100 equals to 0. 49
Then voltage output 50
will be zero if one hundred equals to 4000. 51
So voltage output 52
will be 10V , if the one hundred equals to two thousand. 53
So what will happen voltage output 54
will be five volt. 55
And these are all similar for D102 these are voltage output. 56
And also it is between zero to four thousand and zero to four thousand equals zero to 10 Volt and in 57
here I am just copy like this. 58
So what we are doing in here about the application what we are trying to learn if we want to reach a 59
one special module we need to use I mean we can read from specia modules with the from instruction. 60
But if we want to write as output some things in special modules or we special modules we need to use 61
TO command and for TO command. 62
M1 is number of special module M2 is control registers special modules no S means 63
data to be written in control register and the N means number of data to be written at a time so we 64
can use 3 TO command to adapt our outputs as voltage and voltage values. 65
So if we want to expand this application for example if we can say LD greater than D100 for example 66
five hundred then you can say out Y0 and you can compare it like this and one more network 67
for this I need to move it. 68
To his own position 69
for a moment. 70
Doesn't matter. 71
So again. 72
One more network. 73
Ld lower than for example. 74
One hundred three thousand. 75
Out. 76
Y2 77
So this is just an application to give an outputs and these outputs will be an effect. 78
Your special modules outputs. 79
I mean if you put in D100 2000 value so you will get 5V and imagine 80
your drive is working 50hz , 50Hz = 10VDC 81
So if you give 5V DC to your drive. 82
so drive will turn 25 Hz (50Hz =10/ 5V=25Hz) 83
If you give zero volt to drive will be 0Hz 84
So if you put for example 3000 value from your plc as output and this voltage output will 85
be 7.5 volt and it will equals to 50 hz divided by four. 86
Multiply by three 87
and it means I'm just calculating now 37.5 Hz 88
So this is the usage of the analog output. 89
And according to our factory settings and in here k 0 to k four thousand. 90
But we are not doing in here gain settings and offset settings. 91
Anything else just we are adopted. 92
Our outputs as voltage output and it was not zero and zero and zero and we connected V+ to 93
our drive for example and we assign the one hundred for the Channel One D102 two for Channel 94
2 or channel 0 to channel 1. 95
And in here we write control registered 10 and 11 again. 96
Let's take a look. 97
Channel 1 output value and channel 2 output value 98
So D100-102 must be between 0-4000 and if it reaches to 99
four thousand for example it will give maximum 10V and that all it won't be eleven volt never 100
an ever so the adopted in here first to command as voltage output second to command for Channel One 101
third command for Channel 3. 102
And after that you can write a values to D100-D102or you can compare 103
these values and you can activate anything else or this activate anything else in your PLC projects. 104
So for this video I'm finished here. 105
See you in the next video.