easy-forum
English Support - Hardware => easy topics (general) => Thema gestartet von: ozzygenc am April 12, 2006, 21:41:30 Nachmittag
-
Dear all,
I need your help urgently. I have a Easy 820-DC-RC with 4 analog inputs and 1 Analog Output on it.
What I am trying to do is;
--- First I want to scale my analog input
--- Second I want to transfer my scaled value to my analog output channel.
I appreciate if you can give me some guidance on how to do it and/or which function blocks to use.
Thanks in advance.
Ozzy
-
Hello
yxou need the "LS" function.
Seach at the Helpfor "LS"
Martin
-
Martin Hi,
I used the datablock to copy my analog input-3 to the marker word-1. See attached "transferAIN1toMW1.jpg".
And I used a LS block to scale and output my Marker Word-1 to Analog Output-1. See attached "transferMW1toAO1.jpg".
It works for transferring AIN1 to MW1. But it does not work for the part of scaling and transferring to Analog output.
I appreciate if you can give me some more help..
Thanks.
Ozzy
-
Hi,
i wrote a smal Progamm for You.
Martin
-
Thanks Martin.