PLC上升沿和下降沿程序

------------------------------
------------------------------
FB_rising_edge_trigger

output:=input and not temp;
temp:=input;

------------------------------
------------------------------
FB_falling_edge_trigger

output:=not input and temp;
temp:=input;

你可能感兴趣的:(TwinCAT,3,codesys,开发语言)