From the course: Learning PLC Ladder Logic: 1 The Basics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use a timer to flash a light

Use a timer to flash a light - Ladder Logic Tutorial

From the course: Learning PLC Ladder Logic: 1 The Basics

Start my 1-month free trial

Use a timer to flash a light

- [Narrator] One of the common applications for Timer, is using it for flashing lights. Flashing lights are used in many applications, and industry and even I'm commercial environments. In a flashing light, simply the light is on for a certain time, and off for a certain time. So we need to think about how long to keep it on, and how long to keep it off. Let's take an example where we need to program a flashing light, and in our example, the light is on for six seconds and off for two seconds. So, one timer to keep track of the six seconds, and one timer to keep track of the two seconds. Note here, as mentioned previously, we need to know what is the timer base of the specific PLC timer we're using. In our example we are going to use a timer base of 0.1. So for the six second delay, and for the two seconds delay, we are going to use 60 and 20 for the preset value. I chose the names to be on timer for the six second delay, and off timer for the two seconds delay, but I'm using a timer…

Contents