Hello all.
I'm working with a Siemens C7-635 OP.
And this is the first time that i'm working with the analog inputs. On one of my four analog inputs i have connected a measuring device, wich measuers lenght. For instance 10 centimeters of lenght equals 1V, 20 centimeters 2V and so on to 100 centimeters and 10V. The main problem that i have is that the value wich I read from this particular analog input isn't riseing lineary.
For example:
When I measure 10 cm(1V on the analog input) of distance I read 144(INT value) on that analog input.
When I measure 20 cm(2V on the analog input) of distance I read 304(INT value). There is a deviation allready.
When I measure 30 cm(3V on the analog input) of distance I read 448(INT value).
Why is this happening??? I expected that the value would be riseing linearly like the Volts but it doesn't. Is there any way to correct this???
I should also state that i then convert the INT value do DINT and DINT to Real. So that I than devide the REAL value by that much that the final resoult is than 10 if the measuring device is measuring 10 cm...
If it is supposed to be measuring 40 cm the value that i get from the devidement is 75
BTW: the analog input is configured like this:
Measurnig Unit: V
Measuring raneg: 0-10V
Interference frequency: 50Hz.(I changed this to 60Hz and 400 Hz, and nothing changes, I didn't expect it to change but it's worth trying.)
Thank you.
>Ales<
I'm working with a Siemens C7-635 OP.
And this is the first time that i'm working with the analog inputs. On one of my four analog inputs i have connected a measuring device, wich measuers lenght. For instance 10 centimeters of lenght equals 1V, 20 centimeters 2V and so on to 100 centimeters and 10V. The main problem that i have is that the value wich I read from this particular analog input isn't riseing lineary.
For example:
When I measure 10 cm(1V on the analog input) of distance I read 144(INT value) on that analog input.
When I measure 20 cm(2V on the analog input) of distance I read 304(INT value). There is a deviation allready.
When I measure 30 cm(3V on the analog input) of distance I read 448(INT value).
Why is this happening??? I expected that the value would be riseing linearly like the Volts but it doesn't. Is there any way to correct this???
I should also state that i then convert the INT value do DINT and DINT to Real. So that I than devide the REAL value by that much that the final resoult is than 10 if the measuring device is measuring 10 cm...
If it is supposed to be measuring 40 cm the value that i get from the devidement is 75
BTW: the analog input is configured like this:
Measurnig Unit: V
Measuring raneg: 0-10V
Interference frequency: 50Hz.(I changed this to 60Hz and 400 Hz, and nothing changes, I didn't expect it to change but it's worth trying.)
Thank you.
>Ales<