Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
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
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.
Chapter 3 Solutions
Programmable Logic Controllers
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
- 12-name of the circuit in the figurearrow_forwardQ1// Design a combinational circuit that accepts a four-bit number (A,B,C,D) and generates an output X,Y,Z which is equal to the sum of the binary numbers formed by the input (AB) and (CD).Hent (AB+CD)arrow_forward2. Prime Number Detector Design a circuit that has a 3-bit binary input and a single output that ● output 1 if it is a prime number. eg 210, 310, 510, 710 otherwise output 0.arrow_forward
- Design a circuit that displays the letters A through J on a seven-segment indicator. The circuit has four inputs W, X, Y, Z, which represent the last 4 bits of the ASCII code for the letter to be displayed. For example, if WXYZ = 0001, "A" will be displayed.arrow_forwardLoad the accumulator A with the data byte 82H (the letter H indicates hexadecimal num- ber), and save the data in register B. USE SIM8085. PLEASEarrow_forwardO The AND gate gives an output of zero if at least one of the inputs is zero 10. In ASCII code each letter is represented in the memory by: O A unique address O The letter itself O A unique bit pattern O A unique symbol Part2: Circuit and E.arrow_forward
- The logic operation of XOR is often used to compare two inputs to determine whether they have the same value. Select one: True Falsearrow_forwardPROCEDURE : You are to design a 4-bit arithmetic unit that consists of a 4-bit adder/subtractor circuit. The arithmetic unit takes as inputs two 4-bit numbers (A and B) and one control input (M) add/subtract selector that selects the type of operation the unit will perform. When the input control is ‘0’, the input numbers are added. When it is set to ‘1’, the two input numbers are subtracted (A - B). TASK :: Two 4-bit Adder/Subtractor Circuit: Design and construct a 4-bit adder/subtractor circuit. DRAW THE CORRESPONDING LOGIC DIAGRAM OF THE CIRCUITarrow_forwardCreate a circuit that will display the sum of two 4-bit binary inputs in 7-segment display.Display the input value also in 7-segment display.arrow_forward
- gate gives the output as 1 only if all the inputs signals are 1. O a. Ex-OR ОБ. OR O c. NOR O d. ANDarrow_forwardQ2): Design a sequential circuit with two T flip-flops A and B, and one input x_in. (a) When x_in = 0, the state of the circuit remains the same. Whenx_in = 1, the circuit goes through the state transitions from 00 to 01, to 11, to 10, back to 00, and repeats. (b) When x_in= 0, the state of the circuit remains the same. When x_in=1, the circuit goes through the state transitions from 00 to 11, to 01, to 10, back to 00, and repeats.arrow_forwardQI: A: Design an arithmetic circuit with one selection variable S and two n-bit data inputs A and B. The circuit generates the following four operations in conjunction with the input carry Cin. Draw the logic diagram for the first two stages. S Cin Operation 0 0 0 1 1 0 1 1 A - B A +B A Add A-1arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
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