Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: PLC Timer Application in Security Camera Recording
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Timer Application in Security Camera Recording

PLC Timer Application in Security Camera Recording

In the PLC timer application for security camera recording, when motion is detected then camera starts recording and lights also turn on.

Last updated: April 10, 2024 4:47 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

In the PLC timer application for security camera recording, when motion is detected then camera starts recording and lights also turn on.

Contents
PLC Timer ApplicationPLC Training Videos SeriesPLC InputsPLC OutputsSecurity Camera Ladder LogicProgram ExplainedResult: When motion is detected

Note: This is a basic PLC program prepared for beginners to learn the ladder logic. The real-world application will be equipped with more safety logic and control devices. This is just for learning purposes.

PLC Timer Application

Problem Statement:

Design a PLC ladder logic for the following application.

We are using one sensor to control the Camera and Light.

When motion is detected, a camera should start recording and continue for 25 seconds. With that, lights should also be turned at an interval of 2 seconds.

PLC Training Videos Series

The PLC training video series is prepared with concepts ranging from basic to advanced with a simple explanation.

PLC Inputs

The inputs of the program are listed here.

Sensor: I0.0

PLC Outputs

The outputs of the program are listed here.

Camera: Q0.0

Light: Q0.1

Security Camera Ladder Logic

PLC Timer Application in Security Camera Recording

Program Explained

We have used Normally Open Contact for Sensor (I0.0) and Memory Bit 1 (M0).

In Rung0:

1) Normally Open Contact is used for Sensor (I0.0) to Turn ON  the output Camera (Q0.0) and Memory Bit 1 (M0).

2) Timer Function Block type TP is used to Turn ON the output Camera (Q0.0) and Memory Bit 1 (M0) for a limited time.

In Rung1:

1) Normally Open Contact is used for Memory Bit 1 (M0) to Turn ON the output Light (Q0.1) and Memory Bit 2 (M1).

2) Normally Closed Contact is used for Memory Bit 2 (M1) to turn OFF the output Light (Q0.1) and Memory Bit 2 (M1).

3) Normally Closed Contact is used for Light (Q0.1) to turn ON Memory Bit 2 (M1).

4) Timer Function Block type TP is used to Turn ON the output Light (Q0.1) for a limited time.

5) Timer Function Block type TON is used to delay the turning ON time of Memory Bit 2 (M1) for some time.

Result: When motion is detected

When Senor (I0.0) gets activated (Sensor detects motion),  the output Camera (Q0.0) turns ON (Camera starts recording) and Memory Bit 1 (M0) also turns ON in Rung0 as Normally Open Contact used for Sensor (I0.0) will be in true state and allows the signal to pass through it.

The output Camera (Q0.0) and Memory Bit 1 (M0) turn ON but only for a limited time as Timer Function Block type TP  is used to Turn ON the output Camera (Q0.0) and Memory Bit 1 (M0) for a limited time. The time is set to 45 seconds.

PLC driven camera

After 45 seconds, the output Camera (Q0.0) and Memory Bit 1 (M0) will turn OFF.  When Memory Bit 1 (M0) turns ON in Rung0, Normally Open Contact used for Memory Bit 1 (M0) in Rung1 will be in a True state and allow the signal to pass through it.

In a false state, Normally Closed Contact used for Memory Bit 2 (M1) also passes the signal to turn ON the output Light (Q0.1). The output Light (Q0.1) turns OFF after some time as Timer Function Block type TP  is used to Turn ON the output Light (Q0.1) for a limited time. The time is set to 2 seconds.

PLC Application Examples of Programming

After 2 seconds, the output Light (Q0.1) will turn OFF. When the output Light (Q0.1) turns OFF, Normally Closed Contact used for Light (Q0.1) will be in a false state and pass the signal to turn ON Memory Bit 2 (M1) and Memory Bit 2 (M1) turns ON but after a delay of 2 seconds as Timer Function Block type TON is used to delay the turning ON time of Memory Bit 2 (M1). The time is set to 2 seconds.

PLC Timer example security camera

After 2 seconds, Memory Bit 2 (M1) will turn ON but it will turn OFF within no time because in Rung1, Normally Closed Contact is used for Memory Bit 2 (M1). In Rung1, Normally Closed Contact used for Memory Bit 2 (M1) will also turn ON and OFF within no time and the whole process will restart in Rung1.

PLC sensor detects motion and turns lights on and off

In Rung0, when Timer Function Block Type TP reaches its time limit i.e. 25 seconds, the output Camera (Q0.0) will turn OFF ( Camera stops recording) and Memory Bit 1 (M0) will also turn OFF.

As Memory Bit 1 (M0) turns OFF in Rung0, Normally Open Contact used for Memory Bit 1 (M0) in Rung1 will be in a false state and does not allow the signal to pass through it and the whole process stops in Rung1.

If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Single-acting Cylinder PLC Logic Operation
  • Free Omron PLC Online Training Course Online
  • User-Defined Data Types and Function Blocks
  • Machine Expert Basic versus Machine Expert
  • How to Configure Distributed IO in a PLC Project?
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
What is a Floating License? – Automation Software Systems
Establish Communication Between Two PLC Via PROFIBUS Protocol
PLC Latching Function
Does Really a Safety Barrier is Important? – PLC DCS Systems
Difference Between Normal Counters and Fast Counters – Learn PLC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Introduction to GOC controllers

Mitsubishi Electric GOC Controllers

Grounding or Earthing Scheme in DCS or PLC Systems

Grounding or Earthing Scheme in DCS or PLC Systems

If Else Statement in SCL Language

If Else Statement in SCL Language

WHILE DO Statement in SCL Language

WHILE DO Statement in SCL Language

FIFO and LIFO Sequences in PLC

What are FIFO and LIFO Sequences in PLC?

PLC Program for Fishpond Water Level Monitoring System

PLC Program for Artificial Fishpond Water Level Monitoring System

Namur Digital Input Card

What is Namur Digital Input Card?

Example of Automated Guided Vehicle with PLC

Example of Automated Guided Vehicle with PLC

More Articles

Types of Pneumatic Valves

Types of Pneumatic Valves : Poppet & Spool

Bipolar Junction Transistor Construction

Bipolar Junction Transistor Construction

Basic Principles of Solar Technology

Basic Principles of Solar Technology

Allen Bradley SLC 500 PLC Programming

Vibration Sensor

Vibration Probes Questions and Answers

Purpose of Isolation valve

What are Isolation valves? – Purpose, Types, Configurations

Flapper nozzle system

Flapper Nozzle Questions

safety control system

Safety Instrumented Burner Management System

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?