huoshi
為所當(dāng)為
級(jí)別: 網(wǎng)絡(luò)英雄

精華主題: 0
發(fā)帖數(shù)量: 2597 個(gè)
工控威望: 21439 點(diǎn)
下載積分: 16558 分
在線(xiàn)時(shí)間: 2772(小時(shí))
注冊(cè)時(shí)間: 2010-12-27
最后登錄: 2025-04-23
查看huoshi的 主題 / 回貼
樓主  發(fā)表于: 2016-07-30 15:11
(*泄壓閥與液位控制*)
if XYMo3=1  and  P221_to_HMI>Pxy3  then
   XYDCFQT3_m:=1;
else if XYMo3=1  and  P221_to_HMI<Pxy3 and LV1_to_HMI<LVMIN  then
   XYDCFQT3_m:=1;
end_IF;
END_IF;
if XYMo3=1  and  P221_to_HMI<Pxy3-Pxy  then
   XYDCFQT3_m:=0;
ELSE IF  XYMo3=1  and  P221_to_HMI<Pxy3 and LV1_to_HMI>LVMAX  then
   XYDCFQT3_m:=0;
END_IF;
end_if;
cmsn
      
級(jí)別: 略有小成
精華主題: 0
發(fā)帖數(shù)量: 275 個(gè)
工控威望: 451 點(diǎn)
下載積分: 1037 分
在線(xiàn)時(shí)間: 281(小時(shí))
注冊(cè)時(shí)間: 2012-09-10
最后登錄: 2025-02-22
查看cmsn的 主題 / 回貼
1樓  發(fā)表于: 2016-07-30 16:41
你是指語(yǔ)法??三菱的ST吧