Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
13Activity
0 of .
Results for:
No results containing your search query
P. 1
Alarm System_ Educational Example Using the Omron PLC C28K

Alarm System_ Educational Example Using the Omron PLC C28K

Ratings:

4.57

(7)
|Views: 1,704|Likes:
Published by Ionela
Alarm system -an example using the Omron PLC C28K
To put it simply a PLC (programmable logic controller) is a small computer, but, differently from a PC, it must interface to electric circuits and not to a man. Its microprocessor expects to get signals from electric devices as buttons, alarm contacts, level signals etc. and not from a mouse or a keyboard.
Alarm system -an example using the Omron PLC C28K
To put it simply a PLC (programmable logic controller) is a small computer, but, differently from a PC, it must interface to electric circuits and not to a man. Its microprocessor expects to get signals from electric devices as buttons, alarm contacts, level signals etc. and not from a mouse or a keyboard.

More info:

Published by: Ionela on Oct 08, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/13/2013

pdf

text

original

 
Alarm system: educational example using the Omron PLC C28Khttp://dev.emcelettronica.com/print/519721 din 607.10.2008 08:43
Your Electronics Open Source
(http://dev.emcelettronica.com)
Home > Blog > arag61's blog > Contenuti
Alarm system: educational example usingthe Omron PLC C28K
By arag61Created 10/06/2008 - 13:52
Programming alarm system c28k electric circuit ladder ladder logic Omron plc programmablelogic controllerAlarm system - an educational example using the Omron PLC (programmable logiccontroller)C28KTherefore a PLC (programmable logic controller)is a device, equipped with a microprocessor,destined to control electric devices, but with the advantage that the program modification iseasy and speedy compared to the one of the electric circuit that should be wired again. ThePLC, after elaborating the input signals by the program, can control engines, electro-valves,warning lights etc.So there are :input circuits that " adjust " the electric signals, coming from devices or systems, to thePLC voltages and currentsoutput circuits that accomplish the inverse operationBelow, as educational exercise only, an alarm system using a PLC will be illustrated.A C28K Omron PLC and a ladder diagram will be used ( of course a PLC is wasted for this job only !!!).Before starting, let’s spend some words on ladder diagram.The name is based on the observation that programs in this language resemble ladders, withtwo vertical "rails" and a series of horizontal "rungs" between them.Only a few graphics symbols are used in this language : We can construct simply logic functions to control an hypothetical lamp, using multiplecontacts. If we use standard binary notation for the status of the switches and lamp (0 forun-actuated or de-energized; 1 for actuated or energized), a truth table can be made to showhow the logic works:
 
Alarm system: educational example using the Omron PLC C28Khttp://dev.emcelettronica.com/print/51972din 607.10.2008 08:43
 Now the lamp will come on if either contact A or contact B is actuated, because all it takes forthe lamp to be energized is to have at least one path for current from wire L1 to wire 1. Whatwe have is a simple OR logic function, implemented with nothing more than two contacts anda lamp. We can mimic the AND logic function by wiring the two contacts in series instead ofparallel:Now the lamp energizes only if contact A and contact B are simultaneously actuated. A pathexists for current from wire L1 to the lamp ( wire 2 ) if and only if both switch contacts areclosed. The logical inversion function, or NOT, can be performed on a contact input simply byusing a normally closed contact instead of a normally open contact:
 
Alarm system: educational example using the Omron PLC C28Khttp://dev.emcelettronica.com/print/51972din 607.10.2008 08:43
Now the lamp energizes if the contact is not actuated and de-energizes when the contact isactuated.Ladder logic has "contacts" that "make" or "break" "circuits" to control "coils." Each coil orcontact corresponds to the status of a single bit in the programmable controller's memory.Unlike electromechanical relays, a ladder program can refer any number of times to thestatus of a single bit, equivalent to a relay with an indefinitely large number of contacts.So-called "contacts" may refer to physical ("hard") inputs to the programmable controller fromphysical devices such as pushbuttons and limit switches via an integrated or external inputmodule, or may represent the status of internal storage bits which may be generatedelsewhere in the program.Each rung of ladder language typically has one coil at the far right. Some manufacturers mayallow more than one output coil on a rung.
--( )-- a regular coil, true when its rung is true--(\)-- a "not" coil, false when its rung is true--[ ]-- A regular contact, true when its coil is true (normally false)--[\]-- A "not" contact, false when its coil is true (normally true)
The "coil" (output of a rung) may represent a physical output which operates some deviceconnected to the programmable controller, or may represent an internal storage bit for useelsewhere in the program.Coming back to our alarm system, we suppose to have the following components:a power supply: exit 24 Volts (DC)a PLC interfacea PLCan accumulator: in case of black outa push button: to connect/disconnect the alarm systemtwo sensor: we suppose to have 1 front door and 1 windowThe alarm system is constituted from:

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
shadi22 liked this
Mirela Blemovici liked this
SamadP liked this
mohamadou_ba2186 liked this
ajaix liked this
greggyjoy liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->