Hello, in this video, we are going to learn how to communicate between p.l.c. and Dalt of safety via
serial communication.
And here you will see two cables for the serial communication part.
This is going to go to pulses, come to arrest four hundred and eighty five PT..
OK, and then what we need, first of all, for the drive side, we need to adopt our communication
address.
This is our communication address for the, um, the safety and transmission speed of this wafty is
botrytis nine thousand six hundred and ten.
What we need to do, the communication protocol must be selected.
And I selected seven, even one.
And now one more thing in this document.
We need to take a look once.
Here, OK, we will write our Africa Command to 2001 hexadecimal address of fifty two thousand hexadecimal
address that we are going to say, OK, turn forward and reverse run or stop and etc. and we will read
from the fifty four, for example, Frequency Command from two thousand one hundred and two hexadecimal
address for output current for example.
2104 hexadecimal address.
OK, I will create my.
P.L.C. program for a moment in the program's area, I will say new in the later diagram.
OK, new project is created in the right side in the Delta Library in the common protocol area.
I will come to I will put here, come to and come to protocol function block is inserted, OK?
And now we can continue in.
You come to my house to portray we need to select moderate one.
And datalink Shilpi seven that won the parity must be even so try and stop, it is going to be one and
one USQUE or Arcus election.
We will select our communication and station address of the PRC.
Imagine it is 20 and timeout will be three hundred.
And we can put here, for example, the fifty for error call.
OK, this is the first thing the communication and we are preparing the communication settings between
the PRC and we have teams and the second network when the PRC is powered on Helda and one thousand and
we will wait.
Just three seconds, because the wafty must be opened and the whole power must be on the communication
parameters and the settings and everything must be energized or powered on.
So three second or two second that we need to wait a little bit more because because it can be crushed
immediately.
OK, then three second.
Imagine like this and let us down and here.
On the rising edge, t zero.
And one thousand three hundred and fifty, this is our is parcelling and one thousand two hundred and
fifty one, and this should be set and this should be set.
And now let us go to write and read parameters between p.l.c. and we have to Aldy and one and that moment.
What we need to do, we need to we need to write, for example, for Kansi and other instructions to
wafty.
How can we do this?
First of all, we need to define our station numbers and data registers.
This we have this station number is one.
So what we need to do, we need to do more.
A sixteen two thousand and the one hundred eighty one thousand four hundred and fifteen.
OK.
And if you come here, you will see starting reference for M. to write insolated one, this is OK.
And the second thing, more three data that we are going to write to the 1409 15 and what will happen.
Block move from D, for example.
Say 300 from the 300.
We will move our data to wafty how many data entry data we are going to write to that the one thousand
four hundred ninety six.
OK, but.
Should be like this.
And OK, let's check once you will see the slave is the one that we are going to write three data and
the first day to day.
Three hundred.
Three hundred and one and two.
OK, and let's go here now.
We will read from Wafty.
How can we read?
First of all, we will do 16, two thousand and one hundred and two.
And we will move it to where we will move it to the one thousand.
Three hundred and fifty five.
OK, and let's check where is the problem in here, the OK?
That's correct.
And how many data we are going to read, for example, three data that we are going to read.
And blockquote.
Three data, but from there, from the one thousand four hundred and eighty two, that these four hundred
again, sorry for this.
OK, now I will send this to.
C.P.U.
Now we are ready to write and read from the VTI, OK, now and close and I will go online.
Three seconds later.
Our enabled, our communications enabled, and you can check wafty is frequency value is zero zero.
Why?
Because we are writing in here the three hundred point zero and let's go here.
Three hundred is the three hundred you will see run and jog and run and forward and reverse selection
for the frequence command.
We need to write to two thousand and one.
So let's go hear device monitor table and OK.
And these three, one hundred and three value and also the.
I will go on my program, the 400 we selected.
Four hundred and three data.
OK, data rather than one, let's right here.
Two hundred and fifty.
So you can see the frequency now.
Two point five hertz, OK.
And 400 suddenly two hundred and fifty becomes.
And the three hundred that's right here is binary.
OK, and binary system.
And let's go here and check once.
If I say zero and one and if I say two here, ten or one and zero, what would happen.
That is going to be run.
I will go there and one and zero and I will say, OK, and now our wafty is working to that and it is
running for a moment.
OK, and if I say like this, stop now we have this stopped and what will happen, I will say turn forward.
Now it's turning forward.
I will say turn reverse, OK, and run for reverse between four and five.
Let's go that four and five.
Zero and one and two and three and four and five.
Five becomes one.
OK, and I will say Ram.
Now it is turning rivers and it is running, I will change the frequency.
Two, for example, two thousand five hundred.
Now our frequency, you can see from here, twenty five, I will change it to three thousand and now
our frequency is thirty, OK, thirty heads and you will see from here is four hundred and three thousand
and three thousand.
And I will change my acceleration and firstly I will stop and we will see everything if I change mode.
This is the output and this is the amper on Perry's zero.
OK, and sometimes you will see it is changing zero point one and it just becomes a one.
OK, and for a moment, what we are going to do now, we will stop firstly.
And change present value and as binary system, and I will say stop.
Now, are we have these stopped?
OK, now we can wait a little bit.
What can we do now?
I will change acceleration and deceleration time and we will see the output frequency.
OK.
We need to go to parameter Xeros now, parameter four and three and two.
This generation onepoint.
Nine, I will change it.
It is 20.
Eight, and it is two point zero, OK?
One point nine, again, twenty eight, it's really, really high.
OK, now let's start I will make it bigger, a little bit more and I will go my ISP solved and now the
output is four hundred and one.
And if we go down and down again to.
And down.
Five and six and eight.
To nine parameters, OK, I want to show you one more thing.
OK, we are reading output current.
I'm sorry for God's command and output, frequency and output current and output frequency is also now
zero.
OK, now check once.
I will say, Ron, this is the RAM and also Ron forward.
OK.
Now you can see the frequency of output.
Check once we are reading same values.
OK, this one and this one, and we will reach to 30 had at the end of the acceleration time.
OK, now we are writing to frequency and we are reading from dry and at and we can write we are in communication
with the easy selling to drive and we can read from dry it like this.
So this is really good application for you.
If you have any problem or if you have any questions to me, just contact me.
I am finished for this video.
See you in the next video.