PROGRAMMABLE LOGIC CONTROL.(LL)>CUSTOM<
5th Edition
ISBN: 9781266481475
Author: Petruzella
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 2, Problem 4P
Explanation of Solution
a.
Five-digit code for a pushbutton:
- It is given that the pushbutton is connected to terminal 5 of module group 2 located on rack 1.
- The addressing format for the given pushbutton is shown below...
Explanation of Solution
b.
Five-digit code for a lamp:
- It is given that the lamp is connected to terminal 3 of module group 0 located on rack 2.
- The addressing format for the given lamp is shown below...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
A. Design an interface circuit for three 8255 PPI's and minimum mode 8088 MPU.
The memory-mapped addresses are started from [00700h].
Design the arithmetic module of an 8 bit ALU system using VHDL that can perform factorial and square operations. The type of operation should also is taken as one of the inputs. Select the data
type such that the maximum range of numbers is achievable.
1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write)
Unit 3 (A/L) - Design a 4-bit ALU using Unit 1 and Unit 2. The control signal A/L willindicate which operation the ALU will perform (when the control signal is 0 performArithmetic, otherwise if the signal is 1 then perform Logic).Unit 4 (R/W)- Design three 4-bit parallel registers to hold A, B, and C where C keepsthe output of the ALU. The registers have a R/W control signal that indicates that theyare being written to or read from.
Chapter 2 Solutions
PROGRAMMABLE LOGIC CONTROL.(LL)>CUSTOM<
Ch. 2 - Prob. 1RQCh. 2 - What is the function of a PLC output interface...Ch. 2 - Prob. 3RQCh. 2 - Prob. 4RQCh. 2 - Prob. 5RQCh. 2 - Prob. 6RQCh. 2 - Prob. 7RQCh. 2 - Prob. 8RQCh. 2 - Prob. 9RQCh. 2 - Prob. 10RQ
Ch. 2 - Prob. 11RQCh. 2 - What are the advantage and the disadvantage of...Ch. 2 - With reference to PLC discrete input modules: a....Ch. 2 - Prob. 14RQCh. 2 - Explain the function of the backplane of a PLC...Ch. 2 - Prob. 16RQCh. 2 - Prob. 17RQCh. 2 - Prob. 18RQCh. 2 - What electronic element can be used as the...Ch. 2 - With reference to discrete output module current...Ch. 2 - What electronic element can be used as the...Ch. 2 - Prob. 22RQCh. 2 - Prob. 23RQCh. 2 - Prob. 24RQCh. 2 - Prob. 25RQCh. 2 - Prob. 26RQCh. 2 - Prob. 27RQCh. 2 - Prob. 28RQCh. 2 - Prob. 29RQCh. 2 - Explain the difference between a unipolar and...Ch. 2 - Prob. 31RQCh. 2 - In what two ways can the loop power for current...Ch. 2 - Prob. 33RQCh. 2 - Prob. 34RQCh. 2 - Prob. 35RQCh. 2 - Write a short explanation for each of the...Ch. 2 - Write a short explanation for each of the...Ch. 2 - Prob. 38RQCh. 2 - Prob. 39RQCh. 2 - Prob. 40RQCh. 2 - Prob. 41RQCh. 2 - Prob. 42RQCh. 2 - Prob. 43RQCh. 2 - Prob. 44RQCh. 2 - Prob. 45RQCh. 2 - Prob. 46RQCh. 2 - Prob. 47RQCh. 2 - What information is normally stored in the ROM...Ch. 2 - Prob. 49RQCh. 2 - Prob. 50RQCh. 2 - Prob. 51RQCh. 2 - Prob. 52RQCh. 2 - Prob. 53RQCh. 2 - Prob. 54RQCh. 2 - Prob. 55RQCh. 2 - Prob. 56RQCh. 2 - Prob. 57RQCh. 2 - Prob. 58RQCh. 2 - Prob. 59RQCh. 2 - Prob. 60RQCh. 2 - What is the function of a transducer?Ch. 2 - Prob. 62RQCh. 2 - Prob. 1PCh. 2 - Assume a thermocouple, which supplies the input to...Ch. 2 - With reference to I/O module specifications: a. If...Ch. 2 - Prob. 4PCh. 2 - Prob. 5PCh. 2 - Prob. 6P
Knowledge Booster
Similar questions
- 1. Design a 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write) The details of each control signal (Unit) are as follows.Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C.Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C.Unit 3 (A/L) - Design a 4-bit ALU using Unit…arrow_forward1. Design a SINGLE 4-bit ALU that performs Arithmetic (add, subtraction), and Logicoperations (AND, OR). The following control signals are to be considered:• A/S: add/subtract (0:add, 1:subtract)• A/O: and/or (0:and, 1:or)• A/L: arithmetic/Logic (0:arithmetic, 1:logic)• R/W: read/write signal (0:read, 1:write) The details of each control signal (Unit) are as follows. Unit 1 (A/S) - Design a 4-bit adder/subtractor that accepts two 4-bits numbers, A andB, and either add them up (A + B) or subtract them (A – B) depending on a controlsignal A/S (when the control signal is 0 perform ADD, otherwise if the signal is 1 thenperform SUB). The result will be stored in C. Unit 2 (A/O) - Design a 4-bit AND/OR unit that accepts two 4-bits numbers, A and B,and either AND them or OR them depending on a control signal A/O (when the controlsignal is 0 perform AND, otherwise if the signal is 1 then perform OR – bitwise logicaloperation). The result will be stored in C. Unit 3 (A/L) - Design a 4-bit ALU…arrow_forwardName all six segment registers.arrow_forward
- Specify the addressing modes for automatic increment and decrement.arrow_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_forwardSelect between automatic increment or automatic decrement as the addressing mode.arrow_forward
- (i) Draw and explain the control word register of 8255 PPI for BSR mode. (ii) If the bit PC4 must be reset, what would be the control word?arrow_forwardSignals in VHDL A VHDL design has five input ports labeled enable (MSB), read, write, selector, and compare (LSB) and three outputs labeled address_latch (MSB), data_enable, and strobe (LSB). a. Write a VHDL statement that concatenates all input lines into a signal called control. The signal is written with the most significant bit on the left. b. Write a series of VHDL statements that separates a signal called status into the output ports listed above. The ports are written with the most significant bit on the left. da thearrow_forwardThe code is in RISC V For this part write the binary code/machine level code of the following instructions (all offsets in decimal numbers): ld x5, 6(x2) xor x6, x5, x1 sh x6, -3(x2) ble x9, x13, -348arrow_forward
- 12. Show the steps involved in the followingMOV DX,9103H ;DX = 9103HMOV CL,5RCL DX,CL ;shift right DX five times, CF=1 Show the contents of the flag register.arrow_forwardPart III Design and implement a circuit that successively flashes digits 0 through 9 on the 7-segment display HEXO. Each digit should be displayed for about one second. Use a counter to determine the one-second intervals. The counter should be incremented by the 50-MHz clock signal provided on the DE-series boards. Do not derive any other clock signals in your design-make sure that all flip-flops in your circuit are clocked directly by the 50-MHz clock signal. A partial design of the required circuit is shown in Figure 2. The figure shows how a large bit-width counter can be used to produce an enable signal for a smaller counter. The rate at which the smaller counter increments can be controlled by choosing an appropriate number of bits in the larger counter. Counter 50 MHz Clock Counter ... Slow count Figure 2: Making a slow counter.arrow_forwardPlease,write a code for assembly language(8051 assembly language) DS1620 is a programmable temperature sensor. In this problem, this sensor to the MCU We will write a program to link. Explanation-Find the correct connection pins for DS1620 and connect to 8051.-We have a fan connected to P1.0 and a heater connected to P1.1.-Set the high temperature register to 90 and the low temperature register to 80.- If the temperature rises to 80, turn on the heater, if it rises to 90, turn on the fan. (this task so important,please do it)arrow_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