Falling Edges
Part of the Latches, Edges and Interlocks section of Coddy's PLC Programming journey. Lesson 8 of 20.
The falling edge is the other moment: the scan where a tag goes from TRUE to FALSE, when the button is released. A falling edge contact, drawn with an N, passes power for that one scan.
Acting on the release lets a program tell a quick tap from a long hold.
Challenge
EasyLight Amber when PB1 is released, not when it is pressed. Use a falling edge contact and a set coil. Rung 2 already resets Amber from PB2.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]},{"els":[{"t":"no","tag":"PB2"},{"t":"reset","tag":"Amber"}]}]}All lessons in Latches, Edges and Interlocks
Practice on your own: PLC playground