Menu
CoddyTech

A Flasher

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

A timer can stop another timer. Two TONs that reset each other make a flasher, an output that blinks on and off for as long as you like.

Follow it round. T1 counts 0.5 s, then lights Amber. Amber starts T2. After 0.5 s more, T2.Q turns on and its normally closed contact cuts T1's input: T1 resets, Amber goes out, and so T2 resets too. On the next scan T1 starts again.

You can read a timer's output anywhere with a contact on T1.Q or T2.Q.

challenge icon

Challenge

Easy

Make Amber flash while SW1 is on: 0.5 s on, 0.5 s off. With SW1 off, Amber is dark.

Use two TONs that reset each other.

Try it yourself

{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}

All lessons in Timers

Practice on your own: PLC playground