jaintapauljp
I have two variables named RangeSensor (REAL) and measuredDistance(INT). In my ST code, I used the following formula to convert from INT to REAL. 
 
measuredDistance := INT_TO_REAL(RangeSensor)/100.0; 
 
Even though the RangeSensor gives me a value , the measuredDistance shows me 0.00 always. See the attached screenshot. I am using python for linux submodule
Reply 0 0
thiagoralves
Most likely this is a bug with the monitoring table. Try reading that value using a Modbus tool like Radzio to confirm it is actually zero
Reply 0 0
Reply