By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
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 FBD Programming for Burglar Alarm Security System
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
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 FBD Programming for Burglar Alarm Security System
PLC Tutorials

PLC FBD Programming for Burglar Alarm Security System

Learn how to write a burglar alarm security system using a functional block diagram FBD programming in the PLC system.

Last updated: September 17, 2024 10:59 am
Viral Nagda
Share
5 Min Read
SHARE

A system which finds more interest in new PLC programmers is a burglar alarm system. Because alarms are a critical condition in any automation system, they often find this system as interesting to study. And as new types of sensors and equipment are deployed nowadays to enhance security in systems, the programmers must be able to first understand a basic security system and write its program efficiently and bug-free.

Contents
Burglar Alarm Security SystemPLC FBD Programming

One of the most preferred languages in PLC programming is a functional block diagram. In this post, we will see how to write a burglar alarm security system using a functional block diagram.

Burglar Alarm Security System

Let us first see the case scenario. An intruder sensor is employed in a plant area to detect any untoward access. As soon as some intruder is detected after 2 seconds, the buzzer will horn continuously.

Also, an alarm light will flash on and off for 2 seconds. Both these outputs will turn off when the acknowledge push button is pressed by the operator. But, it has a condition – it will turn off the outputs only when the sensor is inactive.

That means, if the intruder is still there and the operator tries to reset the alarm, then too the outputs will not turn off. It will turn off only when the area is clear and the button is pressed for resetting. This is done for safety purposes.

PLC FBD Programming

Now, let us see the logic written. Refer to the below image. In the first condition, we use a sensor reference and give it to a timer to detect it for 2 seconds. After this time is done, we turn on the buzzer and light.

You will see that we are using a rising edge block before turning the light on. This is done because we are resetting the light in a flash style as required and again setting it. If we do not use this block, then the light will be set continuously as long as the sensor is on, and it will not reset.

This is the basis of SR or RS flip-flop logic (set-reset). Both the set and reset conditions should not remain on at the same time. Buzzer in our case is not an issue because it is anyways required to be continuously on.

PLC FBD Programming for Burglar Alarm Security System

Now, after the alarm has been sensed, we use a flash logic for the lamp. In the second condition, we turn off the lamp after 2 seconds – the condition being both the buzzer and lamp are on first.

Then, in the third condition, we again turn on the lamp after 2 seconds – the condition being that the buzzer is on but the lamp is off (you can see a circle which denotes the negate condition). The logic will then continue to run in this fashion.

In the last state, we use a reset button to reset the outputs, also checking whether the sensor is off or not. If both the conditions are fulfilled, then only the outputs will turn off. So, if the sensor was on in that case, then our first condition would not be affected and the outputs too would remain on.

Then again, when the sensor is detected, the cycle repeats.

In this way, we saw how to write a burglar alarm security system using a functional block diagram.

Read Next:

  • PLC Ladder Logic for Alarm Security System
  • Allen Bradley PLC ControlLogix Hardware
  • Quiz Program Logic Using PLC Programming
  • Testing and Validation in PLC Development
  • Face Mask Making Machine using PLC HMI
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 !
Basics of Fail-safe Circuits
PLC Programming using Level Switches
Basics of Sinking and Sourcing – Automation System MCQ
Traffic Light Control using PLC Ladder Logic
Structured Text PLC Code for Sequential Process Data Storage
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
206kSubscribersSubscribe
38kFollowersFollow

Latest

Top Non-PLC Certification Courses for Automation Professionals
Top Non-PLC Certification Courses for Automation Professionals
Common
Things You Need to Know About DeviceNet
Things You Need to Know About DeviceNet
Communication
Why is IEC 60269 Important
Why is IEC 60269 Important? – Electrical Applications
Standards
NAMUR OPEN ARCHITECTURE
What is NAMUR OPEN ARCHITECTURE?
Control Systems

You Might also Like

Components of SCADA
PLC Tutorials

Components of SCADA

March 4, 2021
PLC Program for Conveyor Motor
PLC Tutorials

PLC Conveyor Motor Ladder Logic

November 2, 2023
How to Train Your Maintenance Team for Industrial Automation Systems
CommonControl SystemsPLC Tutorials

How to Train Your Maintenance Team for Industrial Automation Systems?

May 6, 2025
PLC Instruction List Code
PLC Tutorials

PLC Instruction List Program for Basic Instructions

March 10, 2025
Single Line Diagram of UPS System
Control SystemsInstrumentation DesignPLC Tutorials

UPS Selection Factors for a Control System

October 17, 2023
PLC Programming Example on Multi-Motor Control for Beginners
PLC Tutorials

PLC Programming Example on Multi-Motor Control for Beginners

December 15, 2023
//

Inst Tools

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

[mc4wp_form id=”847″]

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?