Programmable Logic Controllers.

Slides:



Advertisements
Similar presentations
Truth Tables and Logic Gates. What are Logic Gates? Logic gates are components used in making logic circuits. Each gate has one or more inputs and produces.
Advertisements

Logic Gates.
Logic Gates.
CT455: Computer Organization Logic gate
Computer Science 210 Computer Organization Introduction to Logic Circuits.
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.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Programmable Logic Controllers
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.
3. DIGITAL ELECTRONICS..
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
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.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
PROGRAMMABLE LOGIC CONTROLLER “ FUNDAMENTALS OF LOGIC…”
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,
CHAPTER 5 Combinational Logic Analysis
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
DIGITAL ELECTRONICS. Everything in digital world is based on binary system. Numerically it involves only two symbols 0 or 1. –0 = False = No –1 = True.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Hoda Roodaki Boolean Algebra Hoda Roodaki
Logic gates.
Logic Gates and Boolean Algebra
Logic Gates.
Transistors and Logic Circuits
Logic Gates and Boolean Algebra
Lab02 :Logic Gate Fundamentals:
ECE 331 – Digital System Design
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Exclusive OR Gate.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Computer Science 210 Computer Organization
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Logic Gates.
JC Technology Logic Gates.
Logic Gates.
SOLIDS AND SEMICONDUCTOR DEVICES - IV
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Logic Gates.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
XOR Function Logic Symbol  Description  Truth Table 
Truth tables Mrs. Palmer.
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Introduction to Logic diagrams and truth tables
Further binary, Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
What are Logic Gates?.
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

Programmable Logic Controllers

Chapter 4 Part 1 Fundamentals of Logic

The Binary Concept Many things can be thought of as existing in one of two states. These two states can be defined as “high” or “low”, “on” or “off”, “yes” or “no”, and “1” or “0”. 5V high, on, yes, 1 low, off, no, 0 Binary Signal

The Binary Concept This two-state binary concept, applied to gates, can be the basis for making decisions. The gate is a device that has one or more inputs with which it will perform a logical decision and produce a result at its one output.

Gate Decision Making The Logical AND Light Switch AND High Beam Gate High Beam Switch The automotive high beam light can only be turned on when the light switch AND high beam switch are on.

Gate Decision Making The Logical OR Passenger Door Switch OR Dome Gate Light Driver Door Switch The automotive dome light will be turned on when the passenger door switch OR the driver door switch is activated.

AND Function The outcome or output is called Y and the input signals are called A, B, C, etc. 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 Function 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 Function 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 Function 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 Function Application – Example 1 Basic Rules If all inputs are 0, the output will be 0 If one or more inputs are 1, the output will be 1

OR Gate Function Application – Example 2 The OR gate operates like a parallel circuit. The light will be “on” if switch A or switch B is closed.

NOT Function 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 Acts like a normally closed pushbutton in series with the output. The light will be “on” if the pushbutton is not pressed. 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 The NAND gate 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 The NOR gate 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 XOR function has two inputs and one output. The output of this gate is HIGH only when one input or the other is HIGH, but not both. It is commonly used for comparison of two binary numbers.

1. The two binary states can be defined as: “high” or “low” “on” or “off” 1” or “0” all of these 2. A gate can have one or more outputs but only one input. (True/False)

3. The ______ table shows the resulting output for each possible gate input conditions. a. input status c. data b. output status d. truth 4. A light that is "off" or a switch that is "open" would normally be represented by a binary 1. (True/False) 5. The OR function, implemented using contacts, requires contacts connected in series. (True/False)

6. With an AND gate, if any input is 0, the output will be 0 6. With an AND gate, if any input is 0, the output will be 0. (True/False) 7. The symbol shown is that of a(an) _________ . AND gate OR gate NAND gate inverter

8. Which of the following gates is commonly used for the comparison of two binary numbers? NAND NOR XOR NOT 9. The basic rule for an XOR function is that if one or the other, but not both, inputs are 1 the output is 1. (True/False) 10. A NAND gate is an AND gate with an inverter connected to the output. (True/False)

Gate Boolean Equations 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

Circuit Development Using A Boolean Expression – Example 1

Circuit Development Using A Boolean Expression – Example 2

Producing A Boolean Expression From A Given Circuit – Example 1

Producing A Boolean Expression From A Given Circuit – Example 2