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 1P
Program Plan Intro
Programmable Logic Controller (PLC):
- PLC is a specialized computer used in industrial segments to control machines and process.
- PLC is program that consists of a set of instructions which resembles the controlling functions needed to perform specific tasks.
- The function of PLC is similar to that of a relay and hence, in an industrial segment a relay is greatly replaced by a suitable PLC.
- When compared to general Personal Computer (PC), a PLC is available in small and tiny sizes.
- The basic architecture of a PLC consists of an input-output interface module and a small Central Processing Unit (CPU) that runs by controlling
programming language.
Hexadecimal number system:
- In hexadecimal number system, the numbers from “0” to “9” and letters from “A” to “F” are used.
- It means, in total, hexadecimal system has 10 numbers and 6 alphabets.
- Therefore, the base used for hexadecimal numbering system is 16.
Binary number system:
- In binary system, the numbers “0” and “1” are only used.
- It means, in total, binary system has only 2 numbers.
- Therefore, the base used for binary numbering system is 2.
Explanation of Solution
b.
Conversion of binary number to its equivalent hexadecimal code:
- Given, binary number is “00100101”.
- First, the given binary number is partitioned into two groups, such that each group contains only four bits.
- Now, each group is converted to its corresponding hexadecimal code.
- Here, “0010” is one such group and “0101” is the other group.
- The following diagram describes the hexadecimal notation of the binary number “0010”.
- The hexadecimal equivalent of decimal number “2” is “2”...
Explanation of Solution
c.
Conversion of binary number to its equivalent hexadecimal code:
- Given, binary number is “01001110”.
- First, the given binary number is partitioned into two groups, such that each group contains only four bits.
- Now, each group is converted to its corresponding hexadecimal code.
- Here, “0100” is one such group and “1110” is the other group.
- The following diagram describes the hexadecimal notation of the binary number “0100”.
- The hexadecimal equivalent of decimal number “4” is “4”...
Explanation of Solution
d.
Conversion of binary number to its equivalent hexadecimal code:
- Given, binary number is “00111001”.
- First, the given binary number is partitioned into two groups, such that each group contains only four bits.
- Now, each group is converted to its corresponding hexadecimal code.
- Here, “0011” is one such group and “1001” is the other group.
- The following diagram describes the hexadecimal notation of the binary number “0011”.
- The hexadecimal equivalent of decimal number “3” is “3”...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Determine the value in R17 for the following AVR instructions:
Compute the Huffman code for the following discrete memoryless source generates the alphabet symbols: A B C D E0.4 0.25 0.2 0.1 0.05
Using the S-R
(set-reset) flip-flop, design a memory
cell
with the following inputs: Data-in,
Read/Write, Select.
Output: Data-out.
SELECT
DATA-IN
DATA-OUT
FIG.I
R
READ/WRITE
1/0
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
- SID & SOD pins are used with Flag register О PC O Accumulator ALU O all other options are wrong O register pair O SParrow_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_forwardUsing the Quartus II software, create a 4-bit logic unit that performs the following operations:1. AND2. OR3. XORarrow_forward
- 10. For the following I/O table, derive an expression that produces equivalent output to the function f(x,y,z). xyz f(x,y,z) 1 1 1 1 1100 1010 1001 0111 0 1 0 0 0010 0001arrow_forwardAssuming that a certain ASM chart has 2 states, what is the minimum number of flip flops required to implement it using the sequence register and decoder approach: Select one: a. None of the given b.2. с 3 d. 1 Question 2.. In the following code, what is the value of the output if the input is 111 module circuit (A, B, C, D, E) output D, E input A,B,C wire w or X3 (D, W. E): not X2 (EC) and X1 (M.A, A); endmodule Select one a. D-0, E-1. E, D=0, E=0. C. ex. out=x. d. D-1, E-1. e. D=1, E=D.arrow_forwardA- Which group each of the following instructions belong to? 1- LEA 2- SUM 3- AND 4- RCL 5- SHRarrow_forward
- Topic: Flip Flop ApplicationTrace the operation of the following sequential circuits, by drawing the timing diagram and creating the complete count sequence. (Note: Start at 0 initial state)arrow_forwardThe purpose of the clock input to a flip-flop is to(a) clear the device(b) set the device(c) always cause the output to change states(d) cause the output to assume a state dependent on the controlling (J-K or D) inputs.arrow_forward4. Find the value of the accumulator register (AL) which initially stores the hexadecimal value OXD1 and the carry flag (CF) after the following operations. Assume that the operations are to be applied to this original value separately (not one after another) and assume that CF is cleared before all operations. a. SAL AL, 2 AL CF b. SHR AL, 3 AL CF C. ROL AL, 2 AX CF d. RCR AL, 3 AX CFarrow_forward
- Register A holds the 8-bit binary 11011001. Determine the B operand and the logic microoperation to be performed in order to change the value in A to: a. 01101101 b. 11111101arrow_forward5. A four-bit binary counter contains the number 0100. Nine input pulses occur. The new counter state is 6. Design a 4-bit binary down counterarrow_forwardGiven the instruction A000h MOV M, A, complete the timing diagram below by drawing the signal for ALE, RD, WR and IO/M: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