Programmable Logic Controllers - With Access
Programmable Logic Controllers - With Access
5th Edition
ISBN: 9781259933523
Author: Petruzella
Publisher: MCG
Question
Book Icon
Chapter 3, Problem 2P
Program Plan Intro

a.

Converting decimal numbers to binary numbers:

  • It is given that an encoder circuit is used for converting decimal numbers into binary numbers.
  • The output status of the encoder is stated as HIGH and LOW.

The truth table for the given encoder circuit is shown below.

Decimal numbersDCBA
0LLLL
1LLLH
2LLHL
3LLHH
4LHLL
5LHLH
6LHHL
7LHHH
8HLLL
9HLLH

Explanation of Solution

b.

Output status when 5 is pressed:

  • Consider that the decimal number 5 is pressed on the keyboard.
  • From the table given above, the corresponding encoded output to decimal number 5 is given below.

Explanation of Solution

c.

Output status when 7 is pressed:

  • Consider that the decimal number 7 is pressed on the keyboard.
  • From the table given above, the corresponding encoded output to decimal number 7 is given below.

Explanation of Solution

d.

Output status when 8 is pressed:

  • Consider that the decimal number 8 is pressed on the keyboard.
  • From the table given above, the corresponding encoded output to decimal number 8 is given below.

Blurred answer
Students have asked these similar questions
1. If the number 3 is to be printed on the common cathode 7 segment display, which of the following should be the a-b-c-d-e-f-g inputs?
Addition using with 6 bits register please A and B please
Write codes to evaluate the arithmetic expression “5 + (6 - 2)”, by: Using one register only Using two registers only
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education