PROGRAMMABLE LOGIC CONTROLLER “ FUNDAMENTALS OF LOGIC…”

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Logic Gates.
Programmable Logic Controllers.
Digital Electronics Lecture 2 Logic Gates. Lecture 2 outline Announcement:
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Programmable Logic Controllers
Chapter 6 Introduction to Logic.
Section 10.3 Logic Gates.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Chapter 2: Fundamentals of Digital Electronics Dr Mohamed Menacer Taibah University
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
LOGIC GATES A logic gate is an elementary building block of a digital circuit.digital circuit Most logic gates have two inputs and one output terminals.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
LOGIC GATES.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CMOS Logic.  The CMOS Logic uses a combination of p-type and n-type Metal-Oxide-Semiconductor Field Effect Transistors (MOSFETs) to implement logic gates.
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Combinational Logic Digital Design Department of Software Development Faculty of Information Technology Islamic University of Gaza Dr. Rebhi Baraka
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Digital Activity work sheet Inputs  Sound  Light  Heat  Slide Switch  Push Switch Output  Light________________  Buzzer______________  Relay_______________.
CHAPTER 5 Combinational Logic Analysis
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
1 Binary Signals Logic gate circuits are designed to input and output only two types of signals: “high” (1) and “low” (0), as represented by a variable.
Programmable Logic Controller
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Logic gates.
Creating logic gates with Minecraft
Logic Gates and Boolean Algebra
Transistors and Logic Circuits
ECE 331 – Digital System Design
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
How Boolean logic is implemented
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Logic Gates.
JC Technology Logic Gates.
Discrete Mathematics CS 2610
Logic Gates.
Logic Gates.
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Logic Gates.
Digital Logic Circuits
Digital Logic Experiment
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Boolean Algebra and Gate Networks
Further binary, Logic diagrams and truth tables
ECE 352 Digital System Fundamentals
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

PROGRAMMABLE LOGIC CONTROLLER “ FUNDAMENTALS OF LOGIC…”

THE BINARY CONCEPT… PLC operates on the binary principle like all digital equipment. Term “binary principle”  refer to the idea that many things can be thought of as existing in one of two states. states can be defined as “high” or “low”, “on” or “off”, “yes” or “no”, and “1” or “0”. This two-state binary concept, applied to gates, can be the basis for making decisions.

THE BINARY CONCEPT… Gate  device that has one or more inputs with which it will perform a logical decision and produce a result at its one output. Logic  ability to make decisions when one or more different factors must be taken into account before an action is taken.

“AND” GATE… AND Light Switch High Beam Switch High Beam Light The automotive high beam light can only be turned on when the light switch AND high beam switch are on.

FUNCTION OF “AND” GATE… Binary 1 represents the presence of a signal or the occurrence of some event, while binary 0 represents the absence of the signal or nonoccurrence of the event.

‘AND’ GATE APPLICATION…EXAMPLE 1 Basic Rules The device has two or more inputs and one output If any input is 0, the output will be 0 If all inputs are 1, the output will be 1

‘AND’ GATE APPLICATION…EXAMPLE 2 The AND gate operates like a series circuit. The light will be “on” only when both switch A and switch B are closed.

“OR” GATE… Passenger Door Switch Driver Door Switch Dome Light The automotive dome light will be turned on when the passenger door switch OR the driver door switch is activated.

FUNCTION OF “OR” GATE… An OR gate can have any number of inputs but only one output. The OR gate output is 1 if one or more inputs are 1.

‘OR’ GATE APPLICATION…EXAMPLE 1 If one or more inputs are 1, the output will be 1 Basic Rules If all inputs are 0, the output will be 0

‘OR’ GATE APPLICATION…Example 2 The OR gate operates like a parallel circuit. The light will be “on” if switch A or switch B is closed.

FUNCTION OF ‘NOT’ GATE… The NOT function has only one input and one output. The NOT output is 1 if the input is 0. The NOT output is 0 if the input is 1. Since the output is always the reverse of the input it is called an inverter.

‘NOT’ GATE APPLICATION – Example 1 The light will be “on” if the pushbutton is not pressed. Acts like a normally closed pushbutton in series with the output. The light will be “off” if the pushbutton is n pressed.

‘NOT’ GATE APPLICATION – Example 2 If the power is “on” (1) and the pressure switch is not closed (0), the warning indicator will be “on” Low-pressure indicating circuit When the pressure rises to close the pressure switch, the warning indicator will be switched "off"

NAND FUNCTION Functions - like an AND gate with an inverter connected to its output. The only time the NAND gate output is 0 is when all inputs are binary 1.

NOR FUNCTION Functions - like an OR gate with an inverter connected to its output. The only time the NAND gate output is 1 is when all inputs are binary 0.

XOR (EXCLUSIVE-OR) FUNCTION The output of this gate is HIGH only when one input or the other is HIGH, but not both. Has two inputs and one output. Commonly used for comparison of two binary numbers.

GATE BOOLEAN EQUATIONS A B Y AND Y = A B Gate Boolean Equation OR A B Y Y = A + B NOT A Y Y = A

BOOLEAN EQUATION – Example 1 Each logic function can be expressed in terms of a Boolean expression

BOOLEAN EQUATION – Example 2 Any combination of control can be expressed in terms of a Boolean equation AB Y = AB + C A + B Y = (A + B) C

BOOLEAN EQUATION – Example 2 AB Y = AB + C A + B Y = (A + B) C

Producing A Boolean Expression From A Given Circuit – Example 1

Producing A Boolean Expression From A Given Circuit – Example 2 Final equation: Y= AB + AB

Hard Wired versus Programmed Logic The term hardwired logic refers to logic control functions that are determined by the way devices are interconnected. Hardwired logic can be implemented using relays and relay ladder schematics. Hardwired logic is fixed: it is changeable only by altering the way devices are connected.

Hard Wired versus Programmed Logic Example 4-1

Hard Wired versus Programmed Logic Example 4-2

Hard Wired versus Programmed Logic Example 4-3

Hard Wired versus Programmed Logic Example 4-4

Hard Wired versus Programmed Logic Example 4-5

Hard Wired versus Programmed Logic Example 4-6

Hard Wired versus Programmed Logic Example 4-7

Hard Wired versus Programmed Logic Example 4-8

Hard Wired versus Programmed Logic Example 4-9