Program Example; An Alarm System - Mitsubishi Electric FX Series Training Manual

Programmable logic controllers
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

Program Example

5
Program Example

An Alarm System

5.1
Task description
The objective is to create an alarm system with several alarm circuits and a delay function for
arming and disarming the system.
The system will be armed after a delay between turning the switch and activation. This pro-
vides time for the user to leave the house without tripping the alarm.
An n alarm is activated after a delay to make it possible to disarm the system after entering
the house.
The siren will only be sounded for 30 seconds, but the alarm lamp will remain activated un-
til the system is disarmed.
Operation and function of the alarm system
The system will be armed with a key switch, with a 20-second delay.
When an alarm is triggered a siren and a blinking alarm lamp are activated after a delay of
10 seconds.
The key-operated switch will also be used to deactivate the alarm system.
I/O List
The following table contains an overview of the used inputs, outputs, and timer.The inputs
are used to read the status of the alarm circuits. The siren and a blinking alarm lamp are
connected to outputs. The timer are used for the required delays.
Function
Input
Output
Timer
Training Manual GX IEC Developer
Arm system
Alarm circuit 1
Alarm circuit 2
Alarm circuit 3
Display "system armed"
Acoustic alarm (siren)
Optical alarm (rotating beacon)
Alarm circuit 1 display
Alarm circuit 2 display
Alarm circuit 3 display
Arming delay
Alarm triggering delay
Siren activation duration
Adress
Remarks
X1
Make contact (key-operated switch)
X2
Break contacts (an alarm is triggered when the input
X3
has the signal state "0")
X4
Y0
Y1
The outputs functions are activated when the corre-
Y2
sponding outputs are switched on (set). For exam-
Y3
ple, if Y1 is set the acoustic alarm will sound.
Y4
Y5
T0
Time: 20 seconds
T1
Time: 10 seconds
T2
Time: 30 seconds
An Alarm System
5 - 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents