Ask about IEC 61131-3 and Siemens TIA Portal. Answers come from vendor manuals and standards, and Syniq lists its sources when you ask.
› How do I use R_TRIG for edge detection in IEC ST?
Declare an instance in VAR: StartEdge : R_TRIG; Then call it each scan: StartEdge(CLK := StartButton); Read the output as StartEdge.Q — it is TRUE for exactly one scan on the rising edge.