Menu
CoddyTech

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 icon

Challenge

Easy

Light 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":[]}]}
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Timers

Practice on your own: PLC playground