Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
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...

Blurred answer
Students have asked these similar questions
8086 circuit, assume that the connection of ports A and B is as follows. An information parallel to Port A, or input is provided using the push button. 74LS47 (BCD->display converter) to port B) connected, 7-segment display is placed at the output of the converter. From the A-g inputs of the display characters are created by giving the corresponding led light on the display, whichever is 1. 74LS47 received from Port B binary information provides a conversion to show the correct number on the display(For addresses of ports a and b. By dividing the number consisting of the values (in this order) found in d0, d2, d4 and d6 from the information in Port A by two enter the code showing the result in the range 0-F on the display (if the result is two digits, one digit).
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) 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…

Chapter 2 Solutions

Programmable Logic Controllers

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
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