Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
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
Write an arduino code that will use a DC Motor with an Encoder. Have the arduino tell the DC motor that their are 7 positions it will go to being 0°,30°,60°,90°,120°,150°,180° then have it stop
Y. Show how the flag register is affected by MOV AL,0F5H ADD AL, OBH
The carry register: A. Is set when a carry from bit 7 occurs.B. Is set when a "borrow" for bit 7 of the accumulator occurs.C. Acts like the ninth bit of the accumulator.D. All the above.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE 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