0
1
00:00:21,410 --> 00:00:22,130
Hello.
1

2
00:00:22,140 --> 00:00:31,600
In this video we are going to look DVP02DA analog modules and we will give an analog output.
2

3
00:00:31,680 --> 00:00:37,850
We will use channel 1 and Channel 2 as voltage output in here.
3

4
00:00:37,890 --> 00:00:44,030
You can see a scheme for the voltage output and current output for voltage output.
4

5
00:00:44,040 --> 00:00:54,990
We need to put - to common and we will get our voltage from V+ for current output.
5

6
00:00:54,990 --> 00:01:05,980
We will get our current output from I+ and we need to put com also externally and 24 volt.
6

7
00:01:06,030 --> 00:01:13,540
We need to give to our special module DVP02DA module needs 24 volt.
7

8
00:01:13,530 --> 00:01:21,840
Also you are giving 24VDC to your plc- cpu and also you need to put here 24 volt this
8

9
00:01:21,840 --> 00:01:32,640
is also really important for DVP02DA analog module control register 1 is output mode setting so
9

10
00:01:32,670 --> 00:01:44,730
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

11
00:01:45,060 --> 00:01:54,570
Channel 2 if you want to adopt your mode 1 output voltage mode Unit 2 right 0 0 and 1 for example if
11

12
00:01:54,570 --> 00:02:05,120
you want to adopt your output as current mode and it is more 2 You need to write 0 1 0 as binary.
12

13
00:02:05,140 --> 00:02:08,360
This is equal to 1.
13

14
00:02:08,530 --> 00:02:17,170
So control register 10 and eleven is Channel 1 output value is control register turn and Channel 2 output
14

15
00:02:17,170 --> 00:02:22,480
value is control register eleven and the important point is here.
15

16
00:02:22,780 --> 00:02:25,450
K 0 and K 4000
16

17
00:02:25,690 --> 00:02:33,400
So if we adopt our output it as voltage for Channel 1 and Channel 2 and this output voltage mode will
17

18
00:02:33,400 --> 00:02:34,970
be 0 to 10 volt
18

19
00:02:35,110 --> 00:02:41,480
So 10 Volt will be equal to 4000 and 0 will be equal to 0
19

20
00:02:41,560 --> 00:02:45,260
So go to ISPsoft and create a new project.
20

21
00:02:45,460 --> 00:02:47,020
Leave it like this.
21

22
00:02:47,020 --> 00:02:56,530
We can use PLC type as we in the programs area right click to here and select new and leave it like
22

23
00:02:56,530 --> 00:03:00,690
this doesn't matter for a moment I'm going to say okay
23

24
00:03:05,990 --> 00:03:18,720
and the project page is open and LD M1000 and I will put there to command I will select this at
24

25
00:03:18,720 --> 00:03:23,560
function all types and to insert it.
25

26
00:03:23,580 --> 00:03:29,070
So what was it how was we are using to instruction.
26

27
00:03:29,190 --> 00:03:37,500
The first one and one is number of special module and imagine we put these DVP02XA module to nearby
27

28
00:03:37,530 --> 00:03:39,900
of the CPU as first module.
28

29
00:03:39,990 --> 00:03:48,890
So because of these these modules number will be 0 and the control register that we gonna write in it.
29

30
00:03:48,930 --> 00:03:50,310
So let's take a look.
30

31
00:03:50,310 --> 00:03:53,000
Control register is 1.
31

32
00:03:53,130 --> 00:03:55,560
So we will write.
32

33
00:03:55,650 --> 00:03:58,530
Control register 1 via.
33

34
00:03:58,550 --> 00:04:00,980
Or inside to control register 1.
34

35
00:04:01,020 --> 00:04:07,480
So we need to define which control register that we are going to write as one.
35

36
00:04:07,500 --> 00:04:10,780
So in here that ought to be written in CR
36

37
00:04:11,020 --> 00:04:17,870
Wait 0 that we are going to write a number of data to be written at the time will be 1.
37

38
00:04:17,880 --> 00:04:24,390
This is the complete settings of voltage output and what will we do.
38

39
00:04:24,480 --> 00:04:28,740
We will use to channel 1 and Channel 2 as voltage output.
39

40
00:04:28,890 --> 00:04:33,530
So we need to define 2 more 2 instruction.
40

41
00:04:33,600 --> 00:04:40,300
Come here click these 1 and say 2 here.
41

42
00:04:40,680 --> 00:04:51,970
Inserted and again click this one and come here and add one more to instruction 2 our project and the
42

43
00:04:51,970 --> 00:04:55,140
second one we will write first.
43

44
00:04:55,150 --> 00:05:05,940
Channel 1 again first module and control register of this module will be 10 and that ought to be written
44

45
00:05:06,130 --> 00:05:18,040
for example the one hundred and one data and zero and eleven and the one hundred and two and first and
45

46
00:05:18,400 --> 00:05:23,580
let's put it like this a little bit more up.
46

47
00:05:23,720 --> 00:05:33,510
So what we did in here d 100 will be channel 1 voltage.
47

48
00:05:33,660 --> 00:05:35,430
So how it is working
48

49
00:05:39,570 --> 00:05:42,340
D 100 equals to 0.
49

50
00:05:42,450 --> 00:05:45,300
Then voltage output
50

51
00:05:48,820 --> 00:05:55,730
will be zero if one hundred equals to 4000.
51

52
00:05:55,910 --> 00:05:58,910
So voltage output
52

53
00:06:04,080 --> 00:06:10,820
will be 10V , if the one hundred equals to two thousand.
53

54
00:06:10,820 --> 00:06:14,390
So what will happen voltage output
54

55
00:06:18,700 --> 00:06:21,650
will be five volt.
55

56
00:06:21,730 --> 00:06:30,700
And these are all similar for D102 these are voltage output.
56

57
00:06:30,750 --> 00:06:40,770
And also it is between zero to four thousand and zero to four thousand equals zero to 10 Volt and in
57

58
00:06:40,770 --> 00:06:44,760
here I am just copy like this.
58

59
00:06:44,790 --> 00:06:52,920
So what we are doing in here about the application what we are trying to learn if we want to reach a
59

60
00:06:52,950 --> 00:07:01,300
one special module we need to use I mean we can read from specia modules with the from instruction.
60

61
00:07:01,300 --> 00:07:10,120
But if we want to write as output some things in special modules or we special modules we need to use
61

62
00:07:10,120 --> 00:07:12,570
TO command and for TO command.
62

63
00:07:12,730 --> 00:07:20,590
M1 is number of special module M2 is control registers special  modules no S means
63

64
00:07:20,770 --> 00:07:27,490
data to be written in control register and the N means number of data to be written at a time so we
64

65
00:07:27,490 --> 00:07:33,220
can use 3 TO command to adapt our outputs as voltage and voltage values.
65

66
00:07:33,220 --> 00:07:44,420
So if we want to expand this application for example if we can say LD greater than D100 for example
66

67
00:07:45,950 --> 00:07:59,020
five hundred then you can say out Y0 and you can compare it like this and one more network 
67

68
00:07:59,080 --> 00:08:01,480
for this I need to move it.
68

69
00:08:02,800 --> 00:08:04,570
To his own position
69

70
00:08:08,400 --> 00:08:09,390
for a moment.
70

71
00:08:09,390 --> 00:08:10,390
Doesn't matter.
71

72
00:08:10,470 --> 00:08:11,880
So again.
72

73
00:08:11,880 --> 00:08:12,770
One more network.
73

74
00:08:14,470 --> 00:08:17,120
Ld lower than for example.
74

75
00:08:17,150 --> 00:08:22,060
One hundred three thousand.
75

76
00:08:23,970 --> 00:08:24,440
Out.
76

77
00:08:25,020 --> 00:08:25,650
Y2
77

78
00:08:25,950 --> 00:08:35,600
So this is just an application to give an outputs and these outputs will be an effect.
78

79
00:08:35,730 --> 00:08:37,770
Your special modules outputs.
79

80
00:08:37,770 --> 00:08:47,370
I mean if you put in D100 2000 value so you will get 5V and imagine
80

81
00:08:52,730 --> 00:09:00,700
your drive is working 50hz , 50Hz = 10VDC
81

82
00:09:00,800 --> 00:09:05,540
So if you give 5V DC to your drive.
82

83
00:09:05,810 --> 00:09:08,750
so drive will turn 25 Hz (50Hz =10/ 5V=25Hz)
83

84
00:09:09,170 --> 00:09:13,300
If you give zero volt to drive will be 0Hz
84

85
00:09:13,340 --> 00:09:23,150
So if you put for example 3000 value from your plc as output and this voltage output will
85

86
00:09:23,150 --> 00:09:36,140
be 7.5 volt and it will equals to 50 hz divided by four.
86

87
00:09:36,140 --> 00:09:37,820
Multiply by three
87

88
00:09:41,770 --> 00:09:48,580
and it means I'm just calculating now 37.5 Hz
88

89
00:09:48,640 --> 00:09:52,210
So this is the usage of the analog output.
89

90
00:09:52,540 --> 00:10:00,110
And according to our factory settings and in here k 0 to  k four thousand.
90

91
00:10:00,120 --> 00:10:03,610
But we are not doing in here gain settings and offset settings.
91

92
00:10:03,660 --> 00:10:05,620
Anything else just we are adopted.
92

93
00:10:05,670 --> 00:10:14,190
Our outputs as voltage output and it was not zero and zero and zero and we connected V+  to
93

94
00:10:14,190 --> 00:10:20,790
our drive for example and we assign the one hundred for the Channel One D102 two for Channel
94

95
00:10:20,790 --> 00:10:23,740
2 or channel 0 to channel 1.
95

96
00:10:23,820 --> 00:10:28,080
And in here we write control registered 10 and 11 again.
96

97
00:10:28,110 --> 00:10:28,830
Let's take a look.
97

98
00:10:28,830 --> 00:10:31,630
Channel 1 output value and  channel 2 output value
98

99
00:10:31,710 --> 00:10:39,750
So D100-102  must be between 0-4000 and if it reaches to
99

100
00:10:39,750 --> 00:10:46,740
four thousand for example it will give maximum 10V and that all it won't be eleven volt never
100

101
00:10:46,770 --> 00:10:54,840
an ever so the adopted in here first to command as voltage output second to command for Channel One
101

102
00:10:55,170 --> 00:10:57,750
third command for Channel 3.
102

103
00:10:57,930 --> 00:11:04,770
And after that you can write a values to D100-D102or you can compare
103

104
00:11:04,770 --> 00:11:11,480
these values and you can activate anything else or this activate anything else in your PLC projects.
104

105
00:11:11,490 --> 00:11:14,240
So for this video I'm finished here.
105

106
00:11:14,250 --> 00:11:16,050
See you in the next video.
