Thanks a lot and it worked for me.. Now after writing. Logic for Pid with setpoint scaling and pv scaling I am unable to see the proportionate pv value in Pid setup.. I am confused and can anybody show a solution for this.. Thank youI should have added you’ll lose a bit of accuracy from the input being parallel with the resistor, and accuracy of the resistor.
Analog inputs are around 200 K ohm input impedence which makes the resistance with a perfect 500 ohm resistor about 498.8 ohms, making 20 mA about 9.98 volts.
It’s not optimal but if you don’t need extreme precision, it will work.