楼主最近还看过
回复内容:
对: wbj955 内容的回复!
macro_command main()
bool a,b,c,d
GetData(a, "Local HMI", LB, 9, 1)
GetData(b, "Local HMI", LB, 10, 1)
GetData(c, "Local HMI", LB, 11, 1)
while a==true or b==true or c==true
b=true
SetData(d, "Local HMI", LB, 300, 1)
break
wend
while a==false and b==false and c==false
d=false
SetData(d, "Local HMI", LB, 300, 1)
break
wend
end macro_command
帮我看看对不对