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

Blurred answer
Students have asked these similar questions
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
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 Quartus II software, create a 4-bit logic unit that performs the following operations:1. AND2. OR3. XOR
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