发表于:2022/9/12 16:48:58
#0楼
macro_command main()
bool b=false
short nSecondS = 0,nSecond = 0
GetData(b, "Local HMI", LB, 0, 1)
if b==false then
return
end if
GetData(nSecondS, "Local HMI", RW, 10, 1)
nSecondS = nSecondS+1
SetData(nSecondS, "Local HMI", RW, 10, 1)
SetData(nSeconds, "Local HMI", LW, 10, 1)
end macro_command
bool b=false
short nSecondS = 0,nSecond = 0
GetData(b, "Local HMI", LB, 0, 1)
if b==false then
return
end if
GetData(nSecondS, "Local HMI", RW, 10, 1)
nSecondS = nSecondS+1
SetData(nSecondS, "Local HMI", RW, 10, 1)
SetData(nSeconds, "Local HMI", LW, 10, 1)
end macro_command
[此贴子已经被作者于2022/9/12 16:57:54编辑过]
不积硅步,无以至千里;不积小流,无以成江河;九层之台,始于垒土。 好好学习,天天向
上。
上。