EBK ACTIVITIES MANUAL FOR PROGRAMMABLE
5th Edition
ISBN: 8220102795983
Author: Petruzella
Publisher: YUZU
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
Part A. Combinational Example:1. Practice by entering the following code for a basic two bit comparator circuit and the test benchto test it.2. Execute the code and verify the output.3. Modify the code to add a homework header as well as to create a 3 bit comparator circuit and anappropriate test bench to test it.4. Execute your modified code and verify the output. // Combinational Example is a basic comparator circuit. The output z =1 if x and y are equal. module comparator( input x, input y, output z ); assign z = (~x & ~y) |(x & y); endmodule// testbench for comparator module`timescale 1ns / 1psmodule stimulus;// Inputsreg x;reg y;EGS216 – Lab 8 HDL practice using online Verilog compiler.// Outputswire z;// Instantiate the Unit Under Test (UUT)comparator uut (.x(x),.y(y),.z(z));initial begin // Initialize Inputsx = 0;y = 0;#20 x = 1;#20 y = 1;#20 y = 0;#20 x = 1;#40; endinitial begin$monitor("x=%d,y=%d,z=%d \n",x,y,z);endendmodule
I got 2 inputs and 1 selector bit for A, but dont understand how I would get B or C
3) 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);
Chapter 8 Solutions
EBK ACTIVITIES MANUAL FOR PROGRAMMABLE
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
- 4. How many output lines will a 32-input multiplexer have? How many select lines will this multiplexer have?arrow_forwarda)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_forwardWrite in RTL Verilog. Use a 4-bit RCA, four 2-1 MUX, and four D-type flip-flops to implement a 4-bit counterarrow_forward
- Q3: Answer the following: 3:8 A. Write a VHDL code to implement 4 to 8 decoder. P. Using block statement Write a VHDL code to implement T flip-flop.arrow_forwardI need the answer as soon as possiblearrow_forward4. Write a sequence of C statements to configure PCo-PC2 pins to analog input for ADC module 1.arrow_forward
- 2. 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_forward: A clear to o and set X- flipflop has two operations to 1 when input X are 0 and I respectively. In designing of a 2- bit synchronous counter by using X flipflop which count 0 and 2, the value of XI and XOarrow_forwardY. Show how the flag register is affected by MOV AL,0F5H ADD AL, OBHarrow_forward
- 5- Write a C code that generates a 100 cycles only of waveform at variable frequency where the output frequency is given by: foutput = 5 + n Hz, where n is the Cycle Number n= 0,1, 2..... .99. The output is available from RB10. Given that Fcy = 50 MHz.arrow_forwardI need the answer at 20 minutearrow_forwardDesign an unsigned 8-bit divide-by-ten circuit which gives the output as Quotient and Remainder. The design should contain different modules for data path & control path. Paperwork should contain algorithms and block diagrams with all control signals which you have used in your design. If you are using FSM in your code , then write it in paperwork. To test the design take input as the last three digits i.e 009 and convert in binary. Then divide it by 10.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