Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
bartleby

Concept explainers

Question
Book Icon
Chapter 4, Problem 5RQ
Program Plan Intro

Logic gate:

  • Logic gate is an electronic circuit that is used to take logical decisions based on the input.
  • It contains one or more number of inputs and one output.
  • The working of logic gate is based on the binary principle that has two states either logic 0 or logic 1.
  • The output of logic gate is produced when it satisfies any of its logic conditions.
  • The logic condition depends upon the type of the gates and the number of inputs.
  • The primary logic gates include AND, OR and NOT and the combinations of these gates are used to implement any of the other logic gates.

AND gate:

  • The AND gate refers to a logic gate whose output will be HIGH only when all the inputs are HIGH.
  • The output of AND gate will be LOW when any one of its input is LOW.
  • The symbol to represent AND gate is given below:

Programmable Logic Controllers, Chapter 4, Problem 5RQ , additional homework tip  1

  • The truth table for AND gate is as follows:
INPUT AINPUT BOUTPUT Y
000
010
100
111

OR gate:

  • The OR gate refers to a logic gate whose output will be HIGH when any one of its inputs are HIGH.
  • The output of AND gate will be LOW when both the inputs are LOW.
  • The symbol to represent OR gate is given below:

Programmable Logic Controllers, Chapter 4, Problem 5RQ , additional homework tip  2

  • The truth table for OR gate is as follows:
INPUT AINPUT BOUTPUT Y
000
011
101
111

NOT gate:

  • The NOT gate refers to a logic gate whose output will be HIGH when it’s input is LOW and whose output will be LOW when it’s input is HIGH.
  • The symbol to represent NOT gate is given below:

Programmable Logic Controllers, Chapter 4, Problem 5RQ , additional homework tip  3

  • The truth table for NOT gate is as follows:
INPUT AOUTPUT Y
01
10

Explanation of Solution

b.

Logic gate circuit:

The logic gate circuit for the given relay ladder diagram is as follows.

Explanation:

In the above given logic gate circuit,

  • The input “C” is connected to logic NOT gate and the corresponding output will be “C¯”.
  • Then the inputs “A”, “B”, “C¯” are connected to a logic OR gate and the corresponding output will be (A+B+C¯).
  • Now, the resultant along with the other input “D” is connected to a logic AND gate whose output will be Y=(A+B+C¯)D

Blurred answer
Students have asked these similar questions
Suppose you buy an electronic device that you operate continuously. The device costs you $300 and carries a one-year warranty. The warranty states that if the device fails during its first year of use, you get a new device for no cost, and this new device carries exactly the same warranty. However, if it fails after the first year of use, the warranty is of no value. You plan to use this device for the next six years. Therefore, any time the device fails outside its warranty period, you will pay $300 for another device of the same kind. (We assume the price does not increase during the six-year period.) The time until failure for a device is gamma distributed with parameters α = 2 and β = 0.5. (This implies a mean of one year.) Use @RISK to simulate the six-year period. Include as outputs (1) your total cost, (2) the number of failures during the warranty period, and (3) the number of devices you own during the six-year period. Your expected total cost to the nearest $100 is _________,…
Which one of the 4 Entities mention in the diagram can have a recursive relationship?    If a new entity Order_Details is introduced, will it be a strong entity or weak entity? If it is a weak entity, then mention its type (ID or Non-ID, also Justify why)?
Please answer the JAVA OOP Programming Assignment scenario below: Patriot Ships is a new cruise line company which has a fleet of 10 cruise ships, each with a capacity of 300 passengers. To manage its operations efficiently, the company is looking for a program that can help track its fleet, manage bookings, and calculate revenue for each cruise. Each cruise is tracked by a Cruise Identifier (must be 5 characters long), cruise route (e.g. Miami to Nassau), and ticket price. The program should also track how many tickets have been sold for each cruise. Create an object-oriented solution with a menu that allows a user to select one of the following options: 1. Create Cruise – This option allows a user to create a new cruise by entering all necessary details (Cruise ID, route, ticket price). If the maximum number of cruises has already been created, display an error message. 2. Search Cruise – This option allows to search a cruise by the user provided cruise ID. 3. Remove Cruise – This op…
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage