恭喜,你发布的帖子
发布于 2019-01-21 11:57:15
3楼
dim mytag(5)
mytag(0)=hmiruntime.tags("dd1").read
mytag(1)=hmiruntime.tags("dd2").read
mytag(2)=hmiruntime.tags("dd3").read
mytag(3)=hmiruntime.tags("dd4").read
mytag(4)=hmiruntime.tags("dd5").read
if mytag(0)=1 and mytag(1)=0 then
hmiruntime.tags("dd3").write mytag(3)
end_if
if mytag(0)=0 and mytag(1)=1 then
hmiruntime.tags("dd3").write mytag(4)
end_if
请填写推广理由:
分享
只看
楼主