Logic Functions and Symbols

Slides:



Advertisements
Similar presentations
Programming with Ladder Logic
Advertisements

Unit 7 Discrete Controllers
Programming Logic Controllers
HYDRAULICS & PNEUMATICS
Dr. HABEEB HATTAB HABEEB Dr. HABEEB HATTAB HABEEB Office: BN-Block, Level-3, Room Ext. No.: 7292 UNITEN.
Programmable Logic Controllers
Programmable Logic Controller PLC
Elec467 Power Machines & Transformers
EUT 1040 Lecture 10: Programmable Logic Controllers.
1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
Chapter 6 Introduction to Logic.
1 The University of Jordan Mechatronics Engineering Department PLC: Programmable Logical Controller.
Introduction To Programmable Logic Controllers
PLC OPERATION & PROGRAMMING Dr. ONUR TOKER. What is a PLC ? PLC is a computer system controlling a process. inputs - the keyboard is analogous to a proximity.
Lecture 4: Programmable logic Controllers
Programmable Logic Controller Internal Operations
PLC Fundamentals Module 2: Hardware and Terminology.
Components, Symbols, and Circuitry of Air-Conditioning Wiring Diagrams
Logic Operations in Electro-Pneumatics
Module 2: Hardware and Terminology
Logic Functions OR Operation
TRTS Team-6))EET-EL-5 15/5/ – Ibrahim Hamdy 219 – Salman Hassan About : PLC ( LOGO ) With Mr.Klaus Koevener.
ECE 4951 Lecture 1: Programmable Logic Controllers.
Chapter 6 Control_relays.
Chapter 10 PLC Processors.
1 FUNDAMENTOS DEL CONTROLADOR PROGRAMABLE. 2 ¿QUE ES UN CONTROLADOR PROGRAMABLE? PROGRAMMABLE CONTROLLER ENTRADAS A solid state device that controls output.
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
PLC: Programmable Logical Controller
Ladder Diagram Symbols Flashcard Exercise Get Started.
Ladder Diagram Symbols. Study the various symbols identified in this presentation. Once you have memorized the different symbols and can name them, take.
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Memory Layout and SLC500 System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
PLCs were invented in answer to the needs of the automobile industry, and were introduced in the late 1960’s. They were designed to take the place of older,
Chapter 10 Advanced Programming, PLC Interfacing, and Troubleshooting
Introduction to PLC by Dr. Amin Danial Asham.
PROGRAMMABLE LOGIC CONTROLLER
Timers and Counters by Dr. Amin Danial Asham. References  Programmable Controllers-Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
Operational Rule for Programming Programmable Logic Controllers.
Power Supply and Programming Devices by Dr. Amin Danial Asham.
PLC ARCHITECTURE – Memory 1 by Dr. Amin Danial Asham.
PLC ARCHITECTURE - CPU by Dr. Amin Danial Asham.
LADDER PROGRAMMING LANGUAGE by Dr. Amin Danial Asham.
Prepared by: Engr. Qurban Ali Memon 11ES (SEC- 1 & 2)
Programmable Logic Controllers
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
Copyright © 2002 Delmar Thomson Learning Chapter 13 Understanding Relay Instructions and the Programmable Controller Input Modules.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
PROGRAMMABLE LOGIC CONTROLLER
PROGRAMMABLE LOGIC CONTROLLER (PLC) MUNIRA MOHAMED NAZARI PPK BIOPROSES UniMAP.
Programmable Logic Controller
Actuators and Control, Part 4 Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning.
Chapter 5.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Lecture 10: Programmable Logic Controllers
Chapter 7.
Chapter 5.
PLC Terminology and Application
PLC: Programmable Logical Controller
The Programmable Logic Controller
Session III Architecture of PLC
Chapter 14 Understanding Relay Instructions and the Programmable Controller Input Modules.
Manisha Goel, Lecturer, EE Deptt Govt. Polytechnic Manesar
Workbook Section.
MECH 1500 Motor Controls.
Programmable Logic Controllers (PLCs)
Presentation transcript:

Logic Functions and Symbols by Dr. Amin Danial Asham

References Programmable Controllers-Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan

PLC’s were used in the industry to replace the replay control system. Relay control systems used electrical circuits to implement the logic function in the control applications. Consequently, relay controlled circuit are built in the PLC as a software program and even the programming language uses the symbols similar to the relay control circuits, which is called Ladder language. The logic implemented in PLCs is based on the three basic logic functions AND, OR, and NOT

AND Function AND Logic function is: This function can be implemented Electrically as follows

OR Function OR Logic function is: This function can be implemented Electrically as follows:

NOT Function NOT Logic function is: Control Relay (CR) A Control Relay (CR) is an electromechanical device which has a coil that functions as an electrical magnet. When this coil is energized it pulls mechanical contacts to connect and disconnect electrical circuits.

Control Relay (CR) (continue) Normally Closed contact (NC): A contact is normally closed when it is in ON (closed) state when it is in inactivated condition. Consequently, it opens when it is activated. Normally Open contact (NO): A contact is normally open when it is in an OFF (open) state when it is in inactivated condition. Consequently, it closed when it is activated. NC NO

Example: Show the logic gate, truth table, and circuit representation for a solenoid valve (V1) that will be open (ON) if selector switch S1 is ON and if level switch L1 is NOT ON (liquid has not reached level). Solution: The level switch L1 is normally open, but it closes when the liquid level reaches L1 CR1 is an auxiliary control relay that is energized when L1 is closed CR1-1 is a normally closed contact in the CR1 CR1 performs NOT function since when it is energized (input is Logic-1) its normally closed contact opens and cuts the circuit of the valve(output is Logic-0).

Example: Show the logic gate, truth table, and circuit representation for an alarm horn that will sound if push button PB1 is 1 (ON or depressed) and PB2 is NOT 0 (not depressed). Solution: Normally closed PB which performs NOT Function

PLC Circuits PLC Circuit Each circuit that controls a certain individual output is called rung or network. NC Over Load Contacts NO auxiliary contact closes when the motor is ON Hardwired rung (network) Each input point has an address which refers to a certain bit in the memory that stores the status of this input (1 or 0). Each output point has an address that stores the program result that is reflected on the real field. If the stored value is 1 this point is activated and vice versa. The PLC program reads the inputs from the input dedicated memory using the input addresses and writes the results in the output memory by pointing to it using output address. PLC software implementation Output Field Devices Input Field Devices PLC Circuit Output Address Input Addresses

PLC software implementation Wiring to the I/O (Input-Output) Modules Example Input Field Devices Output Field Devices PLC software implementation Limit Switch Pilot Light Wiring to the I/O (Input-Output) Modules

Some Symbols used in PLC Programs PLC programs are built in the form of virtual control circuit that resembles real electrical control circuits. Normally open contact. This is a virtual contact in the PLC program representing an input to the I/O module of the PLC. If the input is receiving a signal from the field (sensor or switch) this virtual contact closes and passes the signal to control circuit. Normally closed contact. This is a virtual contact in the PLC program representing an input to the I/O module of the PLC. If the input is not receiving a signal from the field (sensor or switch) this virtual contact is closed and passes the signal to control circuit. I case of Applying a signal to the input this contact opens and cuts the control circuit. Output. This is a coil of a virtual relay representing an output in I/O module of the PLC or an internal virtual output. This coil is energized or de-energized from the PLC program which is built in the form of virtual control circuit. When this coil is energized the corresponding point is energized. In addition virtual contacts of this virtual relay can be further used in the rest of the program.

EXAMINE-ON/NORMALLY OPEN An examine-ON instruction, referred to as a normally open (NO) contact instruction, tests for an ON condition in a reference address. During the execution of an examine-ON instruction in the control program, the processor examines the reference address of the instruction for an ON condition. 0210 If the reference address is logic 0 (OFF), the processor will not change the state of the normally open contact, it does not energize the rung If the reference address is logic 1 (ON), the processor will close the normally open condition to provide power flow in the rung

EXAMINE-OFF/NORMALLY CLOSED An examine-OFF instruction, also called a normally closed (NC) contact instruction, tests for an OFF condition in the reference address 0210 During the execution of an examine-OFF instruction, the processor examines the reference address for an OFF condition. If the reference address has a logic 0 status (OFF), the instruction will continue to provide power (continuity) through the normally closed contacts If the reference address has a logic 1 status (ON), the instruction will open the normally closed contact, thus breaking continuity to the rung An examine-OFF instruction can be associated with a logic NOT function, so that if the reference address is NOT ON, logic continuity will be provided.

OUTPUT COIL An output coil instruction controls either a real output (connected to the PLC via output interfaces) or an internal output (control relay). During the execution of an output coil instruction, the processor evaluates all the input conditions in the ladder rung 0310 If no continuity exists, the processor places a 0 in the output coil address bit, indicating an OFF condition to the output coil instruction if the processor detects continuity in any path, the processor places a logic 1 in the output coil address bit referenced by the instruction (see Figure 9-19b). This logic 1 status indicates an ON condition to the output coil instruction.

Examples of implementing Logic functions in PLC

Examples of implementing Logic functions in PLC

Thanks