Saturday, May 1, 2021

PLC Program for Alarm Security System

PLC Program for Alarm Security System

Programmable Logic Controllers (PLC) are often defined as miniature industrial computers that contain hardware and software used to perform control functions.

More specifically, a PLC would be used for the automation of industrial electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or food processing.

They are designed for multiple arrangements of digital and analog inputs and outputs with extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Sometime engineer can get data from Fire Alarm Panel as integration.

Problem Description

Make burglar alarm system program in S7-1200 PLC for the house.

Consider one house, in this we want to arrange automatic burglar alarm security system. Alarm should be ON when any person will be detected by the motion sensor.

Problem Diagram

Problem Solution

·        We can solve this problem by using simple logic. Here we can use two sensors, one motion sensor and second window sensor. Window sensor is the loop of wires.

·        The motion sensor is designed such that when person is detected in a house or room, then the sensor will be activated (change its state to 1 or true)

·        Here important point in window sensor is that current is always passing until the breakage occurs in the glass. Hence output always true and when someone will try to break the window glass, current will not flow in the circuit.

List of Inputs/Outputs

Inputs List
§  System START :- I0.0
§  System STOP :- I0.1
§  Motion detector :- I0.2
§  Window sensor :- I0.3
§  Alarm stop button :- I0.4


Outputs List
§  Alarm :- Q0.0
 
M Memory
§  M0.0 :- Master coil.
§  M0.1 :- Alarm on condition.

PLC Ladder diagram for Alarm Security System



Program Description

In this problem we will consider S7-1200 PLC and TIA portal software for programming.

Network 1:-

This network shows simple latching circuit for system ON and system OFF.

we used Normally Open (NO) contact of system START button (I0.0) and NC contact of system STOP button (I0.1) for system activation.

Network 2:-

When system is activate and motion sensor (I0.2) detects the person entry, alarm on (M0.1) condition will be ON and it will activate the alarm (Q0.0).

Normally NC contact of window sensor (I0.3) is used in parallel so in normal condition it is true. If breakage of glass or window condition is detected, window sensor (I0.3) input goes false and it will activate the alarm condition (M0.1).

Network 3:-

In this network latching circuit is used for alarm (Q0.0). If alarm condition is detected (M0.1), alarm will be ON and it can be stopped by pressing alarm STOP PB (I0.4).

Note: - Above logic is for explanation purpose only. We can implement this example by using hard wired relay logic also. S7-1200 PLC system is so costly for this simple system.

Runtime Test Cases


2 comments:

  1. Thank you for sharing the valuable content

    Foamtech Antifire Company is a leading Fire Fighting Foam Manufacturers Company. And ISO 9001:2015, 14001:2015 & ISO 45001:2018 certified, the company deals in a wide range of products, meeting national and international standards. And also avail Dry Chemcial Powder at best price, With the base of high class Engineering technology and superior quality of work with base of our customer needs.

    ReplyDelete