huoshi
为所当为
级别: 网络英雄

精华主题: 0
发帖数量: 2595 个
工控威望: 20861 点
下载积分: 14473 分
在线时间: 2704(小时)
注册时间: 2010-12-27
最后登录: 2024-05-29
查看huoshi的 主题 / 回贴
楼主  发表于: 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;
source08
级别: 网络英雄
精华主题: 0
发帖数量: 527 个
工控威望: 6258 点
下载积分: 6472 分
在线时间: 201(小时)
注册时间: 2011-03-01
最后登录: 2024-05-29
查看source08的 主题 / 回贴
1楼  发表于: 2016-07-30 18:00
+++++++++++++++++