Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Chapter 8, Problem 11RQ
Program Plan Intro
a.
Programmable Logic Controller (PLC):
- Programmable Logic Controller (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 control
programming language.
PLC counter:
- A counter is a PLC instruction which counts up or down when the input transfers from an off state (false) to an on state (true).
- The three different types of counters instructions are as follows:
- Up counter
- Down counter
- Combined counter
Explanation of Solution
b.
Underflow bit of a down-counter:
- An underflow occurs when the count value goes below its preset value...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Implement a 16:1 multiplexer using following instructions:
a. Use a combination of 8:1, 4:1 and 2:1 multiplexer.
b. You are allowed to use only one 8:1 and one 4:1 multiplexer.
c. Identify the correct number of select bits in each multiplexer used.
The carry register:
A. Is set when a carry from bit 7 occurs.B. Is set when a "borrow" for bit 7 of the accumulator occurs.C. Acts like the ninth bit of the accumulator.D. All the above.
2. Use state machine to design a binary up/down counter that counts
from 0 through 12.
Chapter 8 Solutions
Programmable Logic Controllers
Ch. 8 - Name the three forms of PLC counter instructions,...Ch. 8 - State four pieces of information usually...Ch. 8 - In a PLC counter instruction, what rule applies to...Ch. 8 - Prob. 4RQCh. 8 - When does the PLC counter instruction increment or...Ch. 8 - Prob. 6RQCh. 8 - Prob. 7RQCh. 8 - Prob. 8RQCh. 8 - Prob. 9RQCh. 8 - Prob. 10RQ
Knowledge Booster
Similar questions
- 25. Write a program to monitor the RB5 bit. When it is HIGH, make a LOW-to- HIGH-to-LOW pulse on RB3.arrow_forwardQ4: Write the software that programs counter 1 as a BCD counter, to generate an 10 KHz square wave if the CLK input to counter 1 is 50ms, where the 8253 is addressed by 80H~83Harrow_forward3) Write a Verilog code for a 5-bit up/down counter. The counter has reset and enable control signals. module Counter(q_out, d_in, clk, reset, enable, up, down);arrow_forward
- What is the bit mask design to set the bits in the position 0 through 3 of the register AL, while passing through the bits in the position 4 through 7? OR AL, 1111_0000b. а. XOR AL, 0000_1111b. b. OR AL, 0000_1111b. O d. OR AL, 1111_0000b.arrow_forward“Generally, the synchronous counters are slower than the ripple counters”, this statement is: a. True b. Falsearrow_forwardPlease answer the following question using only one 3-bit binary counter with clear input and the minimum number of components listed below, design a counter that generates the following sequence repeatedly: 0-> 3 -> 5 -> 7 -> 9 -> 11-> 13 -> 0 -> 3 -> 5 -> 7 …… Note: E is enable input. When E = 1, it counts at every clock cycle. When E = 0, it stops counting and output stays unchanged. clr is clear input. When clr = 1, it starts counting from 0 from the next clock cycle if E = 1. The allowed components are: a) 3-bit binary counter b) left and right shifter c) Logic Gates (And, Or, Not) (the number of input pins are not limited, which means that you can have more than 2 input pins)arrow_forward
- Please answer the following question using only one 3-bit binary counter with clear input and the minimum number of components listed below, design a counter that generates the following sequence repeatedly: 0-> 3 -> 5 -> 7 -> 9 -> 11-> 13 -> 0 -> 3 -> 5 -> 7 …… Information: E is enable input. When E = 1, it counts at every clock cycle. When E = 0, it stops counting and output stays unchanged. clr is clear input. When clr = 1, it starts counting from 0 from the next clock cycle if E = 1. The only allowed components are: a) 3-bit binary counter b) left and right shifter c) Logic Gates (And, Or, Not) PLEASE USE THE 3-BIT COUNTER DESIGN BELOW WHEN DESIGNING THE COUNTERarrow_forwardWhat is the bit mask design to invert the bits in the position 0 through 3 of the register AL, while passing through the bits in the position 4 through 7? OR AL, 0000_1111b. а. O b. XOR AL, 1111_1111b. AND AL, 0000_1111b. С. O d. XOR AL, 0000_1111b.arrow_forward4. How many output lines will a 32-input multiplexer have? How many select lines will this multiplexer have?arrow_forward
- a)Write a complete program for the PIC16F84A, with circuit connection as shown in Figure 1(a),so that it flashes the LEDs connected to Port B continuously, in the following patterns:00000000, 00000001, 00000010, 00000100, 00001000, 00010000, 00100000, 01000000,10000000 one after the other with a delay of 1 s inserted between each change of pattern. Use alook-up table to run through the patterns. [Notes: Assume 1s delay subroutine is given. You do not need to write the 1 s delay subroutine] (b) Write a complete program for the PIC16F84A to store even numbers starting from zero inmemory locations 10H to 4FH. For example, 10H should contain 0H, 11H should contain 02H,12H should contain 04H and so on.arrow_forward2. The following figure shows the four-bit Subtractor. Your inputs for this combinational circuit are A = 2 and B = 7. What is the outputs S3, S₂, S₁, and So? You have to show how to get the outputs by indicating each carry bit. (Note: You should show all the steps to receive full credits) C₁ A3 B3 FA Y3 C3 A₂ B₂ FA Y₂ C₂ A₁B₁ FA Y₁ C₁ Ao Bo FA Yo Co 1arrow_forward4. Write a sequence of C statements to configure PCo-PC2 pins to analog input for ADC module 1.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