恭喜,你发布的帖子
发布于 2024-03-28 07:50:31
11楼
你的这个_pos也需要赋值呀!在哪里赋值的?
上升沿正确做法:
in:Iinput
in_out或者stat:in_sav
if Iinput and not in_sav then
上升沿需要执行的指令
end if
if mot Iinput and in_sav then
下降沿需要执行的指令
end if
in_sav:=Iinput;
mot应为NOT
请填写推广理由:
分享
只看
楼主