PROGRAMMABLE LOGIC CONTROLLERS BUNDLE
5th Edition
ISBN: 9781260582475
Author: Petruzella
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Question
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 numbers | D | C | B | A |
0 | L | L | L | L |
1 | L | L | L | H |
2 | L | L | H | L |
3 | L | L | H | H |
4 | L | H | L | L |
5 | L | H | L | H |
6 | L | H | H | L |
7 | L | H | H | H |
8 | H | L | L | L |
9 | H | L | L | H |
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.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents 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
Chapter 3 Solutions
PROGRAMMABLE LOGIC CONTROLLERS BUNDLE
Ch. 3 - Prob. 1RQCh. 3 - Convert each of the following decimal numbers to...Ch. 3 - Prob. 3RQCh. 3 - Prob. 4RQCh. 3 - Prob. 5RQCh. 3 - Prob. 6RQCh. 3 - Prob. 7RQCh. 3 - Prob. 8RQCh. 3 - Prob. 9RQCh. 3 - Prob. 10RQ
Ch. 3 - Prob. 11RQCh. 3 - Define the term sign bit.Ch. 3 - Prob. 13RQCh. 3 - Prob. 14RQCh. 3 - Prob. 15RQCh. 3 - Prob. 16RQCh. 3 - Prob. 17RQCh. 3 - Prob. 18RQCh. 3 - Prob. 19RQCh. 3 - Prob. 1PCh. 3 - Prob. 2PCh. 3 - Prob. 3PCh. 3 - Prob. 4PCh. 3 - Prob. 5PCh. 3 - Prob. 6PCh. 3 - Prob. 7PCh. 3 - Prob. 8PCh. 3 - Prob. 9PCh. 3 - Prob. 10P
Knowledge Booster
Similar questions
- In a 4-bit arithmetic circuit if the given input numbers A & B are 1011 and 1001 respectively. Then for the following control inputs, calculate the output: (i) Control input = 011 (ii) Control input = 110arrow_forwardUsing the Quartus II software, create a 4-bit logic unit that performs the following operations:1. AND2. OR3. XORarrow_forwardinput: -65 44 Input: -37 -39 H -25 -5 -54 both fail to runarrow_forward
- List the steps necessary to read a word from memory in the 4 × 3 memory circuit shown in Figurearrow_forwardHow can the ACT 1 Logic Module be used in 2-bit binary multiplication? the output is a 4-bit product (P3P2P1P0). Please show steps and drawings.arrow_forwardWrite 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 stoparrow_forward
- Show the configuration steps of the given TM for the input 1010 and 0001.arrow_forwardQ4: Write the software that programs counter 1 as a BCD counter, to generate an 10 KHz square wave if the CLK input to counter 1 is 50ms, where the 8253 is addressed by 80H~83Harrow_forwardThe 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.arrow_forward
- A VHDL down counter will output a 16-bit unsigned number. Use VHDL and also with a testbench, please. Thank you!arrow_forwardIn the CPU datapath multiple signals need to be combined to an output using a __________.arrow_forwardThe LEA instructions are more powerful than the OFFSET operator because of this.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education