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