❶ 瑗塊棬瀛怭LC S7-200妯℃嫙閲忚緭鍏ユ庝箞緙栫▼錛
鍦ㄨタ闂ㄥ瓙PLC S7-200涓錛屽勭悊妯℃嫙閲忚緭鍏(SI)鍜孉/D杞鎹㈡秹鍙婄殑緙栫▼鎶宸х浉瀵圭洿鎺ャ傚綋妯℃嫙淇″彿錛堜緥濡4-20mA錛夐氳繃A/D杞鎹㈠櫒杞鎹㈠悗錛屽叾鏁板艱寖鍥村彉涓篋0-Dm錛屼緥濡*00-32000銆傝繖涓榪囩▼瀹炶川涓婃槸綰挎ф槧灝勶紝鍙浠ラ氳繃鏁板﹀叕寮忔潵鎻忚堪銆
棣栧厛錛屽亣璁炬ā鎷熶俊鍙稟涓嶢/D杞鎹㈠悗鐨勬暟鍊糄涔嬮棿瀛樺湪綰挎у叧緋伙紝鍙浠ョ敤鍏寮廇 = (D - D0) * (Am - A0) / (Dm - D0) + A0鏉ヨ〃紺恆傝繖涓鍏寮忓厑璁告牴鎹瓺鍊艱$畻鍑虹浉搴旂殑妯℃嫙淇″彿A銆
閫嗗悜杞鎹錛屽嵆浠嶢鍒癉鐨勮漿鎹錛屽彲浠ラ氳繃D = (A - A0) * (Dm - D0) / (Am - A0) + D0瀹炵幇銆備緥濡傦紝鑻S7-200鐨凙IW0妯℃嫙杈撳叆瀵瑰簲4-20mA錛孉0=4, Am=20, D0=*00, Dm=32000錛屽綋AIW0鐨勫間負12800鏃訛紝閫氳繃鍏寮忚$畻鍙寰楁ā鎷熶俊鍙稟鐨勫間負8mA錛屽嵆*(00*16/25600) + 4銆
鍦ㄧ紪紼嬫椂錛岄渶瑕佹牴鎹瀹為檯鐨勬ā鎷熼噺鑼冨洿鍜孉/D杞鎹㈠櫒鐨勯厤緗錛屽噯紜鍦板簲鐢ㄨ繖浜涘叕寮忥紝紜淇濇ā鎷熼噺鐨勫噯紜杞鎹㈠拰澶勭悊銆