恭喜,你发布的帖子
发布于 2018-04-03 08:06:36
7楼
deta=27648/T,转换成要给扫描周期的变化量,假如你的plc扫描周期是100ms,你要10s到达,则T=100,deta=276.48
if out<=0 then
out:=0
end if
if out>=27648 then
out:=27648
end if
if out>0 and out<27648 then
out:=out+deta
end if
请填写推广理由:
分享
只看
楼主