Menu
CoddyTech

Warning Before a Start

Part of the Timers section of Coddy's PLC Programming journey. Lesson 12 of 18.

Before a big machine moves, it warns the people around it. A horn sounds for a few seconds, and only then does the machine start.

Latch a Run bit from the start button. A TON on Run starts the machine when it is done, and the horn sounds while Run is on but the timer is not done yet:

When T1.Q turns on, the horn stops and the machine starts in the same scan. A stop drops Run, and with it the horn, the timer and the machine.

challenge icon

Challenge

Easy

PB1 starts the machine (Green), PB2 stops it. Before Green lights, sound the Horn for 2 s. Green lights when the horn stops and stays lit until PB2.

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