Here in this tutorial, we will give you an answer to Chautauqua Callea, and the question was that
your Mustafah?
Can you explain how to scale for 20 million?
Pareene Delta.
I have one Lozar which measures, uh, 150 kg.
I want to get every kilogram like 10 kg, 20 kg and like that.
And let's start first of all create a new project and I will go to Manuell.
I can't imagine you are using analog to digital, but normally you should use DBP 200 to, uh, tell
us, OK, Lortel module's OK, because if you want to get each gram OK or kilogram and if you make it,
uh, calibrated or like that, you need to use a scale model of Delta 200 to L.C as this is the name
of the module.
But if you are working with the analog signal as current or as voltage, OK, I'm not going to talk
about the details of the analog modules.
Just I'm going to come to here.
You will see a control register.
Twelve is present for you.
Channel one input signal.
Um, I'm thinking the settings are done with the two instructions.
Everything is defined to analog module.
I will just continue with the from instruction.
Let's create a new program.
Nippo, you and the little diagram.
OK, it can remain like that and I will start with the Aldy and one thousand.
OK and imagine I am reading from the first module.
And I'm Reading Channel Control registered 12 Channel one input signal, and I'm writing it to the zero
and one that I am reading.
OK, this is the first thing and done for the scale instruction than what we are doing here.
We are reading.
Analogue signal it here.
OK, and then skate instruction that we need to use at this point and then for the skill instruction
we have for parameter, OK, because of this, I will write your one thousand and then I will start
with the instruction.
Imagine your analog data.
I'm just giving an example now.
OK, zero to.
Tannenwald or.
And it equals to, um, for the resolution of the our system, imagine it is eight thousand in Delta.
OK, so but zero to eight thousand, this is the first thing.
And imagine you have zero kg and then, for example, 1000 kg.
OK, then now what we need to do, we need to right here.
First of all, uh, move and the input data is maximum eight thousand.
OK, and five hundred.
OK, these are not important.
And then move zero the five hundred and one and move the output data is one thousand.
Now this is kg ok to D five hundred and two and the minimum kg.
OK, now it is raining and the next I will use now the scale instruction and how we are using scale
instruction all day and one thousand and then scale and scale and.
OK, then the input data where the input data from here, analogue signal is coming from here it is
reading from the module and it's written to zero.
So this is my input data first thing and the parameters are starting from the five hundred.
OK, and then in here the output data.
OK, then we can say to here for example these six hundred then now we are ready.
I will go to compute.
This is the first thing and what we going to do.
I will create a simulator.
I'm looking is it created now.
And it is going to be a simulator and the simulator is going to run on ISS to uh for our CPU.
OK, and I am going to say this driver driver five, then go here then communications settings and then.
I will select that I will fight for and I will say, OK, and I will go online and I will say yes.
Then, um, it is not connected, I guess I'm looking and searching.
Um, OK, is it run still offline?
OK, then what I forgot, I'm just going to say run simulator start.
OK, it stopped because of this now, uh, it started again, I will go on line.
And I want to do a download transfer.
Also, you can use this data on the HMO.
I'm not going to show HMO at this tutorial and this is stopped and I will say just say yes, OK, and
let's test once.
Imagine your zero is changed, but now it is not going to change because it is not reading, but it's
changed.
OK, now.
Very good.
Uh, the input data is five hundred so the output is sixty two kg according to our input.
Imagine if the input, that analog signal is zero to 10.
What at this point you can see if it is 2000, the input voltage will be 2.5 fold.
Right.
And then let's check it.
So the output is two hundred and fifty kg.
And then if you change it to, for example, four thousand, OK, the output is will be 500 kg then.
The answer of the question, you can make it like that, and if you say I want to show it on the HMO
and thank KG and then 20 kg or 30 kg, OK, you can put here costs like how, um, for example, if
the data is, uh, you can divide the output data to ten, for example, and you can show on the HMO,
I will just uh or you can say if it is equal to, uh, five hundred now for example, you can divide
or you can multiply it and also, um, you can you can show it on the HMO with the scale destruction
easily like that.
Imagine this is your input data and if you change to 1000 to 2000, the output scale output scale instructions,
output will be changed.
But, uh, it is easy to use religious instruction, really easy to use instructions in here.
You can get this, uh, program, uh, for you to show.
How can you continue?
How can you, uh, write a code and how can you understand the program if you're stuck at any point?
Again, you can ask me a question directly.
See you in the next tutorial.