Ov = [(Osh - Osl) * (Iv - Lsl) / (Ish - Isl)] + Osl 圖片中的程序:0到50范圍的溫度傳感器,4-20ma,對(duì)應(yīng)6400~32000
按照公式計(jì)算,OV=換算結(jié)果 Osh=換算結(jié)果高限,Osl=換算結(jié)果低限;Iv=換算對(duì)象,Ish=換算對(duì)象高限,Isl=換算對(duì)象低限
所以:將數(shù)值代[(50-0)*(AIW0-6400)/(32000-6400)]+0