Hello, in this tutorial, we will try to initialize communication, can open communication, and then
we will try to communicate, we can open with the Third Reich and I will start with the Aldy, for example,
go offline, first of all, and I'll be OK.
And I will say to hear.
Start OK in it, OK?
This is a global variable I will define as global and this is a bull.
OK, this is the first one, but this is it.
This must be in it, but it doesn't matter.
OK, I will put here as we said.
OK, then.
Special B is one hundred one thousand six hundred eighty one.
OK, then you may forget, uh, you may, you may wonder what is it.
I will open.
Call my uh here.
OK, uh this one.
OK, my from my desktop you will see this, uh picture that I created for you.
OK, if we go to uh one thousand six hundred eighty one um this is read just to read and write, OK,
you can see them all in the screen and enabling specific function also and the initialization and communication
are completed.
OK, I do want it two, three and until eight.
OK, we can use this bit and positioning is completed, special bits and stuff like that, and the sample
on flags and also communication error code, several current position and target command position and
everything.
Special bits are here.
OK, then let's go back to my program and at this point I will use reset, OK, and we will say in it.
OK, just I will continue.
OK.
And then this will be defined global, OK, maybe at this point we can use like that.
No.
OK, and I will cut it to here, but we need to use at this point, just end up like that, OK, from
this up we can go like that or OK, this one.
OK, and I will add here my instructions.
And in here also I will add my instruction to here.
Let us put here, OK.
I want to select, you know, and I will write.
This instruction, OK?
This is how it works in it.
See, this is the initialised the site was OK on the communication line and how many servers that we're
going to initialize and build a communication, just one server, OK?
And at this point, we will continue with the like that.
OK, this is M OK, one thousand six hundred eighty one.
OK, and at this point we will continue with the reset.
OK, Sam.
One thousand six hundred eighty one and reset.
Start.
OK, and also reset, um, OK, we said, which can say just now said, OK, you need.
OK, and also we can sit start, I will explain what is the C, a, C later, OK, and define global
and Bill.
OK, very good.
Then no.
OK, I will just go online and I will send this to this project, to my CPU now, OK?
It is sending.
And transfer, and I will say just yes.
OK, now I will just say set on, OK, and then you will see it is not working.
OK, I will just set off just one thing that I forgot.
This must be rising, OK?
And I will send it to my c.p.u again.
And if the communication is working correctly.
OK, and this must be work, OK?
And I will go online and I will just say start it and I will say, OK, and you will see it is not working.
So there is no communication between my policy and my sarod.
Right.
OK.
And then I will go my right.
OK, and I will check my parameter value.
OK, this is one and this is also five hundred.
I can both trade, OK, we need to sell these five the and I will say just send it.
OK then.
Now it has changed communication protocol.
Uh OK we selected five hundred also.
I will check once more.
Is it written.
Transmission speed can be traced, OK?
OK.
And I will just compare parameters with but it doesn't matter just right.
Sarah.
We need to wait a little bit more.
We may forget if we forgot to adapt our communication about.
Because in the hardware configuration, let's go here.
OK, let's check it.
If Sharon felt, um, OK, and then just I would try to write one more.
OK, just I will go here.
I will make set of OK, and this is the first thing and then let's go here and building communication.
Delta spatial driver, let's check it, OK.
And five hundred K ok and everything is OK.
Just try once to download.
To be sure.
OK, and say yes and say yes and close it, OK, and I will close it and try one small set on and again
it is not, um, communicating.
Now we need to check it, OK.
My cabling and everything is OK and ok and ok.
Everything is ok.
So my CPU's at run situation this is also OK and my Sahawa.
OK, the parameters.
OK there is something wrong and because of this I will make power of my sarro.
Because of the moderate, it is possible to there is no communication.
OK, now.
I will just say again, read from the device.
Read what was felt, let's close it and.
OK, there is something wrong.
OK, for the communication, I will reopen.
OK, I will try once to go in and start out to detect.
Uh.
My age is soft, is this close is of and I will try once to go online again and I will say OK and parameters
editor OK, and then read from the device, OK, and read parameter file.
OK, and parameter one zero one control mode is one.
OK.
Uh these are the pets are OK and not this one.
OK.
At this point we need to sell it.
OK, not one hundred twenty five.
This must be five hundred kilobytes and write to Sara.
OK, and this is written, read from the device again.
Parameter.
OK.
And three, this is OK.
And one is OK, communication, protocol and everything is OK.
Now check here, one control mode is must be PR position, OK and OK.
We are ready and then let's go here again.
Uh, I will start it.
I will try once more.
But it is not finding this, uh.
Sara right in my line and I will check once, where is my problem?
Are there a cabling problem?
And these are all tested.
But let's check once.
OK, and I'm just looking to cabling.
OK, um.
I'm looking at the cable and cable.
And no, it is not stop policy and start our policy, and it is run and set on, but this flag is not
activating because of fire in sea is one and this is initialization and communication are completed
for us.
They too it is not working.
Also set off OK and lets go is dissolved and I will check once.
OK, these are all OK and ok and ok.
This is OK and digital inputs are of OK, communications address settings is.
One.
OK, this is OK, and then this is transmission's and five hundred kilobits also, OK, and this is.
Not.
Important for us and communication time and the communication selection for the Sadil communication,
this is it doesn't matter for us and can open and must have a synchronization signal said.
Things are also important for us and OK.
And just, I will say, whole parameters to Sarah, OK.
And I will say offline.
OK, and just one more thing I will make Parvanov.
And I will just say again, Povero.
OK.
What is the problem?
I'm just trying to solve it, uh, because why it is not.
Detecting can lie.
Uh, start.
You need OK, now you will see power off and power on its worked, then you will see.
And it is OK and this everything is OK.
It is completely over there now I will show it to you.
Um, Detroit Cam.
Some parameters, uh, is not written all over it, and sometimes you need to make power off and power.
OK, I will try once to go online again.
Um, start.
OK, now Sheikh wants to transport, OK?
Ten lump at this point, I will make a little bit focus.
You will see it is running, for example, if I make a policy of OK, then you will see Chinese gun,
OK, and I will say again, run p.l.c. can is still not on.
And if I say start it, OK, uh, now you will see Kenis active.
OK, the initialization is OK and my server is communicating with my p.l.c..
That's all for this tutorial.
I'm finished here.
See you in the next tutorials.