Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Next chapter is about testing and unlock input for also measuring voltage here.
I shall we are once again on the table.
But now it is for up in the presentation for the voltage as you see.
Now we can have also possibility not only to measure a plus minus 10 involved but we can also measure
plus minus 5 volts and plus minus two and they have all we can make it much more
precisely as you see for zero voltage We have got I have reference for the zero decimal system.
We have got zeroes and also here the same number which means that maximal right that range as you will
see it is plus minus store plus value.
And when you have got also the possibility to measure from zero to 10 volts then for example for our
city then we haven't got this negative but as you see him the same like for the outputs we can hear
him have something like over short range and also overflow for these values we measure with much worse
accuracy.
Now once again the equation for recalculating our outputs from our input models from a metal.
So as it will seem we poort also our max mountain ranges from our model pout and our voltage which we
cannot measure.
For example aiport.
Here are some value which we have for example up from our model and we want to know which it is exactly
voltage.
So once I get it from the proportion we calculate that it is this our volume multiply by 10 divided
by the range in that same model and you'll see that it is about 6 volts.
So the main question is following that if you want Opt-In and the result in voltage you are short poort
here our signal from the input model.
And next we have to multiply it by 10 and divided by the range of measurements for these 10 volt.
So come back to the program and write a program for it.
We will continue our programming on our last program for analog output.
So this what we have already done is stay here and write your program for analog input.
First of all I would like to show you all that might be see 12 14 AC DC relay has onboard in port when
we click here and open the properties you'll see that we have something like an airlock in inputs and
we can distinguish here two channels so we have put on those Exactly or measure some signal as you see
we can not change it because it is only for measuring voltage.
When we go to off line mode.
We can check if these values can be changed or not as you will see after because these values can be
only changed.
And don't loan to the DLC in off line mode.
As you see here we can not change.
We have this tool in parts of analog measurements only for the voltage and for their range from the
0 to 10 volts.
So come back to our program and once more feedback on that our time address for analog input it is 64.
So remember this volume and that we will have to use it.
You can have probably another value so please check it and write your value.
So come back to the main program and write the program here if you want.
Check out how the models are if your model works you can also go to our Walch table and before starting
programming right these value will eat that you're 64.
In my case no IWM.
And here we showed that it is decimal because we haven't got here a plus minus sign.
It is only from 0 to 10 volts so in other words in decimal from zero to twenty seven thousand and so
on.
So when we connect it but we have to be first of all in on line as you see now I wasn't on line at all
and Kleek directly monitor.
So our program make it out to magically as you see.
Now I have something valuable here.
So something is working.
In my case I connect directly instead of our voltmeter from previous subchapter.
I connect a volt meter our analog input.
So when you make it you can connect your zero from analog output to exactly the point of two am in the
Yellow Sea and the zero of that output to the zero of analog input.
Then we can measure it so that grounds which means m connect together and call call connect Also together.
Then you are short Opt-In the Sam Simula Vario.
But as you see in my case it is not exactly the same value.
Why.
Because as you remember our model in the Yellow Sea not idea and has a very slow way in a very low impedance
only one hundred killer arms.
So it is résistance.
So our and also flow by these crazy stands and we have that voltage drop there and we measure not exact
voltage exactly from our silicate But we measure the voltage decrease by our value on this resistor.
And as you know the voltage drop is smaller for the smaller values and bigger for bigger values according
to the law.
So if you want to make very precise measurements for example for temperature it is much better to your
signal model than an analog models which are on board of the CPO.
After your check your analog input works correctly you can write a program in the main program for example
in the second network as you see here.
I can write that the network one was for the analog output
and here for example look output we can say in other words that it is our supply.
Yes we take it from this place and here and Alak import our volt meter
and what we show to first make it here.
Also will you or some calculate function we can copy it from the previous network as you will see here.
We have to put some question that question which I show you're in it looks very similar to an airlock
outboard so in disguise we have some small changes with short here.
Right.
The value of 10 and here right now is a value 27 Hanalei six twenty seven thousand six hundred forty
eight.
When we have got these things we have to port here our inputs as you are now we are short to once again
convert these values but now in other sites so from that in Dejah Toria And as our integer input is
our input from analog model.
If you remember in my case it is either that or 64 in your case it can be another value and now aiport
here and that temporary value which will have which will have these value after conversion.
So here we have two.
All right for example and the 8 because these first three after and before we rename the stack as temporary.
For example the name of tone and now is and the 8 we import exactly on our calculated blocks.
After this we have to update our volume involved in next M.D because it is once again very early because
we want to have their values more precisely than integer.
So here we have got measured devourer measure the voltage
in volts.
After this please don't want it to our people seem
start monitoring the program and you will see here our analog output.
So does the value of the voltage which we put to our model of the analog output and next after conversion
of the analog input we measure the same voltage and you'll see that it isn't exactly at the Volt about
seven volt ninety eight and nine hundred eighty millivolt.
So I show you on some interesting things.
Now I will put one evolved as you see now one of vult is measured with very high accuracy.
Why.
Because it is our Almelo.
Why don't we put the higher voltage so also the higher current in our circuit.
Because we have got the current in order to warm our volt meter which is not ideal and we have got the
100 Keela arms.
So we have some voltage drop on this small element if we pull for example to come off 5 volts we have
got these value also here.
If we put a very high value even 11 volt it is much more this hour range because we can measure up to
10 involved but I want to show you that our model also works correctly.
We can try that also the voltage out of range for example 12 volt.
It should be enough.
You'll see that our conversion even does not work correctly because our value to the interior is out
of the range so we cannot make it exact how our program works because we haven't got any problems here
on the output.
Of course you can connect instead of our analog output.
You can contact your supplier but be careful in order not to put so high voltage in order to not destroy
your converter in the PLCC.
So is everything about the analog output.
So thank you.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.