PROGRAMMABLE LOGIC CONTROLLERS (LL)
5th Edition
ISBN: 9781260844146
Author: Petruzella
Publisher: MCG
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
Create a PLC ladder logic diagram for an alarm that turns on when either A counts up to 10, or B counts down to 7.
Describe how the clocking procedure works.
Construct a basic stop/start seal-in circuit. Energize an internal relay to seal-in (latch) the circuit. write the circuit in both Ladder Logic and Function Block Diagram (FBD).
Hardware setup:
Input 1 - Normally closed stop pushbutton,
Input 2 - Normally open start pushbutton.
Output 1 - A Red light to indicate the circuit is not energized.
Output 2 - A Green light to indicate the circuit is energized.
Label all inputs and outputs in the plc program.
Write the program in both ladder and function block diagram (FBD).
Chapter 3 Solutions
PROGRAMMABLE LOGIC CONTROLLERS (LL)
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
- Find the values to be placed in TCCR1A and TCCR1B if Timer1 should be programmed to operate in CTC mode using a pre-scaler of 256.arrow_forwardUsing the Quartus II software, create a 4-bit logic unit that performs the following operations:1. AND2. OR3. XORarrow_forwardDescribe the sequence of timing signals of 8155 programmable devices when it reads or writes to an I/O port in handshake mode. Also determine the states of status word, control word. What will be the control word for 8155 timer?arrow_forward
- Using the MSP430FR2355. Assembly language only please (No C code). Analog to digital converters. Produce a blinking output in one external LED on a breadboard. The blinking frequency (hint: the time between toggling) needs to be controlled using a potentiometer as an analog input. Please show me an assembly code on how to control the speed of a blinking external LED (I guess we need to use the XOR operation) with a potentiometer. Please show either a polling example and/or using timers and interrupts. Please show: Pseudocode and assembly code with comments. Thank you so much.arrow_forwardDescribe the clocking procedure.arrow_forward5. With the help of timing diagrams, state the number of pulses required to perform shifting of binary number 1001 using i. SISO shift registerii. SIPO shift registeriii. PISO shift registeriv. PIPO shift registerv. Ring counterarrow_forward
- What is the significance of a watchdog timer in a microcontroller system?arrow_forward1. Create a Ladder logic using below instruction -Function: A start, and a stop button is used for starting and stopping a motor. But makesure that the buttons can only start and stop the motor on a positive or rising edge.2. Briefly explain how the traffic light are working using PLC Program for Traffic LightControl. Include a diagram to your explanation.arrow_forward. What is the state of the register in figure after each clock pulse if it stars in the (101001111000) state? Data in D SRG 12 Data out CLK B C il L L T B D L T UL T LRl by, . ]arrow_forward
- Given the following Combinational circuit, Use Verilog HDL on Quartus tool to1. Write a Verilog HDL code to describe the module DCDR2×4 // this module name must be your last name ( younis2. Write a Verilog HDL code to describe the whole system structurally from its subsystems// this module name must be your university number ( 1181230)arrow_forwardWrite a PLC ladder logic program that will provide a low voltage start to an electric motor.arrow_forwardCounter implementation using timer 1 module in timer mode.Each incremental value will have delay of last 5 seconds, code should be in Mikro C for PIC16F877A.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Enhanced Discovering Computers 2017 (Shelly Cashm...Computer ScienceISBN:9781305657458Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. CampbellPublisher:Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning