Hold to Confirm
Part of the Timers section of Coddy's PLC Programming journey. Lesson 4 of 18.
Some commands should not happen by accident: resetting a counter, emptying a tank. A common guard is hold to confirm: the operator must hold the button for a while.
A TON on the button does exactly that. A short press never lets ET reach PT, so Q never turns on. Only a long hold gets through.
The timer's Q is on only while the button is still held, so a set coil keeps the result after the button is let go.
Challenge
EasyLight Green when PB1 is held for 2 s. A shorter press does nothing. Green stays lit after PB1 is released, until PB2 is pressed.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}This lesson includes a short quiz. Start the lesson to answer it and track your progress.
All lessons in Timers
4Project: Pedestrian Crossing
Green Until PressedAmber Before RedRed and WalkClear the CrossingThe Wait LampNight ModePractice on your own: PLC playground