gimmephone
Member
Hi,
This may seem like a very stupid question to you guys but I am a bit stuck with this. I was playing with my ML1100 and trying to scale an input signal to an input voltage between 0-10 to 0-10000.
A screenshot follows.....
First, my question is why is I:0.4 shown as Analog Input0? Does the PLC automatically place a 16-bit result here based on the analog input value (0-1023)?? I ran this code and values of my output seem to change...I will get a better idea tomorrow when I try it out with a variable power supply. Can anyone tell me on the line after where I chose Input inside the SCF instruction as I:0.4, why does a 5 show up and correspondingly a 49 as my output value? Does this me that an input=Common is scaled to 49?
I have worked a lot with Modicon and AB to me seems like hell right now !!
Thanks for the help
This may seem like a very stupid question to you guys but I am a bit stuck with this. I was playing with my ML1100 and trying to scale an input signal to an input voltage between 0-10 to 0-10000.
A screenshot follows.....
First, my question is why is I:0.4 shown as Analog Input0? Does the PLC automatically place a 16-bit result here based on the analog input value (0-1023)?? I ran this code and values of my output seem to change...I will get a better idea tomorrow when I try it out with a variable power supply. Can anyone tell me on the line after where I chose Input inside the SCF instruction as I:0.4, why does a 5 show up and correspondingly a 49 as my output value? Does this me that an input=Common is scaled to 49?
I have worked a lot with Modicon and AB to me seems like hell right now !!
Thanks for the help
Last edited: