1
00:00:07,310 --> 00:00:15,850
Hello, in this video, we are going to learn how to communicate between p.l.c. and Dalt of safety via

2
00:00:15,860 --> 00:00:17,160
serial communication.

3
00:00:17,540 --> 00:00:22,330
And here you will see two cables for the serial communication part.

4
00:00:22,670 --> 00:00:28,280
This is going to go to pulses, come to arrest four hundred and eighty five PT..

5
00:00:28,280 --> 00:00:35,240
OK, and then what we need, first of all, for the drive side, we need to adopt our communication

6
00:00:35,240 --> 00:00:35,720
address.

7
00:00:35,730 --> 00:00:43,010
This is our communication address for the, um, the safety and transmission speed of this wafty is

8
00:00:43,010 --> 00:00:46,370
botrytis nine thousand six hundred and ten.

9
00:00:46,520 --> 00:00:49,970
What we need to do, the communication protocol must be selected.

10
00:00:49,970 --> 00:00:52,340
And I selected seven, even one.

11
00:00:52,640 --> 00:00:56,420
And now one more thing in this document.

12
00:00:56,420 --> 00:00:57,710
We need to take a look once.

13
00:00:59,590 --> 00:01:08,950
Here, OK, we will write our Africa Command to 2001 hexadecimal address of fifty two thousand hexadecimal

14
00:01:08,950 --> 00:01:16,390
address that we are going to say, OK, turn forward and reverse run or stop and etc. and we will read

15
00:01:17,230 --> 00:01:23,590
from the fifty four, for example, Frequency Command from two thousand one hundred and two hexadecimal

16
00:01:23,590 --> 00:01:25,990
address for output current for example.

17
00:01:26,260 --> 00:01:29,610
2104 hexadecimal address.

18
00:01:29,860 --> 00:01:32,290
OK, I will create my.

19
00:01:33,730 --> 00:01:39,520
P.L.C. program for a moment in the program's area, I will say new in the later diagram.

20
00:01:39,730 --> 00:01:46,190
OK, new project is created in the right side in the Delta Library in the common protocol area.

21
00:01:46,420 --> 00:01:54,990
I will come to I will put here, come to and come to protocol function block is inserted, OK?

22
00:01:55,210 --> 00:01:57,460
And now we can continue in.

23
00:01:57,470 --> 00:02:03,490
You come to my house to portray we need to select moderate one.

24
00:02:04,360 --> 00:02:14,410
And datalink Shilpi seven that won the parity must be even so try and stop, it is going to be one and

25
00:02:14,650 --> 00:02:17,490
one USQUE or Arcus election.

26
00:02:17,500 --> 00:02:22,570
We will select our communication and station address of the PRC.

27
00:02:22,600 --> 00:02:26,980
Imagine it is 20 and timeout will be three hundred.

28
00:02:27,250 --> 00:02:30,960
And we can put here, for example, the fifty for error call.

29
00:02:31,040 --> 00:02:37,480
OK, this is the first thing the communication and we are preparing the communication settings between

30
00:02:37,480 --> 00:02:46,600
the PRC and we have teams and the second network when the PRC is powered on Helda and one thousand and

31
00:02:46,600 --> 00:02:47,350
we will wait.

32
00:02:48,340 --> 00:02:56,680
Just three seconds, because the wafty must be opened and the whole power must be on the communication

33
00:02:56,680 --> 00:03:01,280
parameters and the settings and everything must be energized or powered on.

34
00:03:01,570 --> 00:03:08,560
So three second or two second that we need to wait a little bit more because because it can be crushed

35
00:03:08,560 --> 00:03:09,160
immediately.

36
00:03:09,160 --> 00:03:11,200
OK, then three second.

37
00:03:11,200 --> 00:03:16,990
Imagine like this and let us down and here.

38
00:03:18,190 --> 00:03:20,980
On the rising edge, t zero.

39
00:03:22,170 --> 00:03:30,030
And one thousand three hundred and fifty, this is our is parcelling and one thousand two hundred and

40
00:03:30,330 --> 00:03:36,390
fifty one, and this should be set and this should be set.

41
00:03:36,750 --> 00:03:47,790
And now let us go to write and read parameters between p.l.c. and we have to Aldy and one and that moment.

42
00:03:47,910 --> 00:03:55,890
What we need to do, we need to we need to write, for example, for Kansi and other instructions to

43
00:03:55,890 --> 00:03:56,430
wafty.

44
00:03:56,430 --> 00:03:57,320
How can we do this?

45
00:03:57,630 --> 00:04:02,340
First of all, we need to define our station numbers and data registers.

46
00:04:02,670 --> 00:04:05,340
This we have this station number is one.

47
00:04:05,520 --> 00:04:09,010
So what we need to do, we need to do more.

48
00:04:09,850 --> 00:04:18,140
A sixteen two thousand and the one hundred eighty one thousand four hundred and fifteen.

49
00:04:18,150 --> 00:04:18,660
OK.

50
00:04:19,560 --> 00:04:26,600
And if you come here, you will see starting reference for M. to write insolated one, this is OK.

51
00:04:26,940 --> 00:04:36,660
And the second thing, more three data that we are going to write to the 1409 15 and what will happen.

52
00:04:37,920 --> 00:04:40,650
Block move from D, for example.

53
00:04:43,330 --> 00:04:47,570
Say 300 from the 300.

54
00:04:48,160 --> 00:04:57,040
We will move our data to wafty how many data entry data we are going to write to that the one thousand

55
00:04:57,700 --> 00:04:59,620
four hundred ninety six.

56
00:04:59,770 --> 00:05:01,150
OK, but.

57
00:05:02,830 --> 00:05:04,470
Should be like this.

58
00:05:04,630 --> 00:05:12,400
And OK, let's check once you will see the slave is the one that we are going to write three data and

59
00:05:12,400 --> 00:05:13,570
the first day to day.

60
00:05:13,570 --> 00:05:14,290
Three hundred.

61
00:05:14,290 --> 00:05:15,980
Three hundred and one and two.

62
00:05:16,000 --> 00:05:19,470
OK, and let's go here now.

63
00:05:19,480 --> 00:05:23,230
We will read from Wafty.

64
00:05:23,410 --> 00:05:24,310
How can we read?

65
00:05:24,550 --> 00:05:31,060
First of all, we will do 16, two thousand and one hundred and two.

66
00:05:31,600 --> 00:05:38,800
And we will move it to where we will move it to the one thousand.

67
00:05:41,170 --> 00:05:43,420
Three hundred and fifty five.

68
00:05:43,920 --> 00:05:49,220
OK, and let's check where is the problem in here, the OK?

69
00:05:49,540 --> 00:05:50,150
That's correct.

70
00:05:50,380 --> 00:05:56,380
And how many data we are going to read, for example, three data that we are going to read.

71
00:05:57,800 --> 00:05:59,300
And blockquote.

72
00:06:00,310 --> 00:06:08,740
Three data, but from there, from the one thousand four hundred and eighty two, that these four hundred

73
00:06:09,250 --> 00:06:11,550
again, sorry for this.

74
00:06:12,130 --> 00:06:16,480
OK, now I will send this to.

75
00:06:18,110 --> 00:06:18,980
C.P.U.

76
00:06:19,830 --> 00:06:27,150
Now we are ready to write and read from the VTI, OK, now and close and I will go online.

77
00:06:29,530 --> 00:06:30,640
Three seconds later.

78
00:06:31,980 --> 00:06:41,760
Our enabled, our communications enabled, and you can check wafty is frequency value is zero zero.

79
00:06:41,790 --> 00:06:42,210
Why?

80
00:06:42,570 --> 00:06:48,500
Because we are writing in here the three hundred point zero and let's go here.

81
00:06:48,750 --> 00:06:56,610
Three hundred is the three hundred you will see run and jog and run and forward and reverse selection

82
00:06:56,850 --> 00:06:58,140
for the frequence command.

83
00:06:58,170 --> 00:07:00,620
We need to write to two thousand and one.

84
00:07:00,840 --> 00:07:05,000
So let's go hear device monitor table and OK.

85
00:07:05,400 --> 00:07:10,530
And these three, one hundred and three value and also the.

86
00:07:12,150 --> 00:07:17,160
I will go on my program, the 400 we selected.

87
00:07:19,340 --> 00:07:20,990
Four hundred and three data.

88
00:07:21,350 --> 00:07:24,020
OK, data rather than one, let's right here.

89
00:07:24,040 --> 00:07:27,010
Two hundred and fifty.

90
00:07:27,320 --> 00:07:29,760
So you can see the frequency now.

91
00:07:29,990 --> 00:07:32,660
Two point five hertz, OK.

92
00:07:32,840 --> 00:07:37,730
And 400 suddenly two hundred and fifty becomes.

93
00:07:38,030 --> 00:07:42,250
And the three hundred that's right here is binary.

94
00:07:42,260 --> 00:07:43,910
OK, and binary system.

95
00:07:44,150 --> 00:07:46,390
And let's go here and check once.

96
00:07:46,700 --> 00:07:53,900
If I say zero and one and if I say two here, ten or one and zero, what would happen.

97
00:07:54,110 --> 00:07:55,850
That is going to be run.

98
00:07:56,060 --> 00:08:05,750
I will go there and one and zero and I will say, OK, and now our wafty is working to that and it is

99
00:08:06,140 --> 00:08:07,640
running for a moment.

100
00:08:07,840 --> 00:08:19,340
OK, and if I say like this, stop now we have this stopped and what will happen, I will say turn forward.

101
00:08:19,550 --> 00:08:20,900
Now it's turning forward.

102
00:08:20,900 --> 00:08:26,920
I will say turn reverse, OK, and run for reverse between four and five.

103
00:08:26,930 --> 00:08:28,700
Let's go that four and five.

104
00:08:28,700 --> 00:08:32,000
Zero and one and two and three and four and five.

105
00:08:32,000 --> 00:08:33,860
Five becomes one.

106
00:08:34,160 --> 00:08:36,170
OK, and I will say Ram.

107
00:08:39,880 --> 00:08:45,700
Now it is turning rivers and it is running, I will change the frequency.

108
00:08:47,250 --> 00:08:51,180
Two, for example, two thousand five hundred.

109
00:08:51,570 --> 00:09:02,370
Now our frequency, you can see from here, twenty five, I will change it to three thousand and now

110
00:09:02,400 --> 00:09:10,560
our frequency is thirty, OK, thirty heads and you will see from here is four hundred and three thousand

111
00:09:10,560 --> 00:09:11,520
and three thousand.

112
00:09:11,910 --> 00:09:21,210
And I will change my acceleration and firstly I will stop and we will see everything if I change mode.

113
00:09:21,510 --> 00:09:26,160
This is the output and this is the amper on Perry's zero.

114
00:09:26,160 --> 00:09:33,240
OK, and sometimes you will see it is changing zero point one and it just becomes a one.

115
00:09:33,540 --> 00:09:40,680
OK, and for a moment, what we are going to do now, we will stop firstly.

116
00:09:41,680 --> 00:09:46,750
And change present value and as binary system, and I will say stop.

117
00:09:48,500 --> 00:09:52,000
Now, are we have these stopped?

118
00:09:53,220 --> 00:09:55,660
OK, now we can wait a little bit.

119
00:09:55,890 --> 00:09:56,890
What can we do now?

120
00:09:57,150 --> 00:10:03,580
I will change acceleration and deceleration time and we will see the output frequency.

121
00:10:03,600 --> 00:10:04,110
OK.

122
00:10:05,150 --> 00:10:13,070
We need to go to parameter Xeros now, parameter four and three and two.

123
00:10:17,010 --> 00:10:18,660
This generation onepoint.

124
00:10:21,170 --> 00:10:23,150
Nine, I will change it.

125
00:10:25,660 --> 00:10:28,300
It is 20.

126
00:10:29,390 --> 00:10:33,200
Eight, and it is two point zero, OK?

127
00:10:35,400 --> 00:10:40,230
One point nine, again, twenty eight, it's really, really high.

128
00:10:40,710 --> 00:10:53,370
OK, now let's start I will make it bigger, a little bit more and I will go my ISP solved and now the

129
00:10:53,370 --> 00:10:56,120
output is four hundred and one.

130
00:10:56,490 --> 00:11:00,570
And if we go down and down again to.

131
00:11:02,760 --> 00:11:03,590
And down.

132
00:11:06,510 --> 00:11:08,630
Five and six and eight.

133
00:11:09,470 --> 00:11:14,760
To nine parameters, OK, I want to show you one more thing.

134
00:11:15,170 --> 00:11:19,370
OK, we are reading output current.

135
00:11:19,940 --> 00:11:25,070
I'm sorry for God's command and output, frequency and output current and output frequency is also now

136
00:11:25,070 --> 00:11:25,550
zero.

137
00:11:25,580 --> 00:11:27,410
OK, now check once.

138
00:11:27,770 --> 00:11:32,700
I will say, Ron, this is the RAM and also Ron forward.

139
00:11:32,770 --> 00:11:33,320
OK.

140
00:11:34,220 --> 00:11:37,760
Now you can see the frequency of output.

141
00:11:39,620 --> 00:11:43,290
Check once we are reading same values.

142
00:11:43,410 --> 00:11:52,140
OK, this one and this one, and we will reach to 30 had at the end of the acceleration time.

143
00:11:52,430 --> 00:12:01,970
OK, now we are writing to frequency and we are reading from dry and at and we can write we are in communication

144
00:12:01,970 --> 00:12:05,890
with the easy selling to drive and we can read from dry it like this.

145
00:12:06,380 --> 00:12:08,800
So this is really good application for you.

146
00:12:08,840 --> 00:12:13,870
If you have any problem or if you have any questions to me, just contact me.

147
00:12:14,060 --> 00:12:15,670
I am finished for this video.

148
00:12:15,830 --> 00:12:17,510
See you in the next video.
