Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 15.6, Problem 4P
Explanation of Solution
Modified FBD
The modified FBD program for an up/down counter is given below.
Explanation:
From the above program,
- When a part enters the buffer zone, the pilot light “PL_1” turns “ON” and also the “Enter_Limit_Sw” is activated and the input “CUEnable” goes true to increase the counter value by “1”...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Write a Verilog code with testbench for 16-bit up/down counter with synchronous reset and synchronous
up/down.
If up/down is set the counter is up counter and if it is not set, the counter is a down counter.
clock
reset
IIn/down
submit the module code, testbench code, and the simulation results.
Write a Verilog code with testbench for 16-bit up/down counter with synchronous reset and synchronous up/down.
If up/down is set the counter is up counter and if it is not set, the counter is a down counter
submit the module code, testbench code, and the simulation results.
Stepper motor control using ULN2003 IC in 16F877 microcontroller will be carried out. In the program, stepper motor and driver IC will be connected to PORTD. to RA0 pin When the connected button is pressed, the stepper motor will turn to the left with half a step and one speed, to pin RA1. When the connected button is pressed, the motor will turn to the right at a certain speed. button connected to RA2 pin When pressed, the motor will be stopped no matter which direction it turns. During engine operation (right or left) If the button connected to the RA3 pin is pressed, the motor speed will double. Working logic Write the program described (solve with ccs)
Chapter 15 Solutions
Programmable Logic Controllers
Ch. 15.1 - Prob. 1RQCh. 15.1 - Prob. 2RQCh. 15.1 - Prob. 3RQCh. 15.1 - Prob. 4RQCh. 15.1 - Prob. 5RQCh. 15.1 - Prob. 6RQCh. 15.1 - Prob. 7RQCh. 15.1 - Prob. 8RQCh. 15.1 - Prob. 9RQCh. 15.1 - Prob. 10RQ
Ch. 15.1 - Prob. 11RQCh. 15.1 - Compare the accessibility of program scope and...Ch. 15.1 - Prob. 13RQCh. 15.1 - What is the difference between a produced tag and...Ch. 15.1 - Prob. 15RQCh. 15.1 - State the data type used for each of the...Ch. 15.1 - Describe the make-up of a predefined structure.Ch. 15.1 - Describe the make-up of a module-defined...Ch. 15.1 - Describe the make-up of a user-defined structure.Ch. 15.1 - Prob. 20RQCh. 15.1 - Prob. 21RQCh. 15.1 - Prob. 22RQCh. 15.1 - Prob. 23RQCh. 15.2 - Prob. 1RQCh. 15.2 - Prob. 2RQCh. 15.2 - Prob. 3RQCh. 15.2 - Prob. 4RQCh. 15.2 - Prob. 5RQCh. 15.2 - Prob. 6RQCh. 15.2 - Prob. 7RQCh. 15.2 - Prob. 8RQCh. 15.2 - Prob. 9RQCh. 15.2 - Prob. 10RQCh. 15.2 - Prob. 11RQCh. 15.2 - Extend control of the original ControlLogix...Ch. 15.2 - Prob. 3PCh. 15.3 - Prob. 1RQCh. 15.3 - Prob. 2RQCh. 15.3 - Prob. 3RQCh. 15.3 - Prob. 4RQCh. 15.3 - Prob. 5RQCh. 15.3 - Prob. 6RQCh. 15.3 - Prob. 7RQCh. 15.3 - Prob. 8RQCh. 15.3 - Prob. 9RQCh. 15.3 - Prob. 10RQCh. 15.3 - Prob. 11RQCh. 15.3 - Prob. 12RQCh. 15.3 - Modify the original CLX ten-second TON timer...Ch. 15.3 - Prob. 2PCh. 15.3 - Prob. 3PCh. 15.3 - Prob. 4PCh. 15.3 - Prob. 5PCh. 15.3 - Prob. 6PCh. 15.4 - Prob. 1RQCh. 15.4 - Prob. 2RQCh. 15.4 - Prob. 3RQCh. 15.4 - Prob. 4RQCh. 15.4 - Prob. 5RQCh. 15.4 - Prob. 6RQCh. 15.4 - Prob. 7RQCh. 15.4 - Prob. 1PCh. 15.4 - Prob. 2PCh. 15.5 - Prob. 1RQCh. 15.5 - Prob. 2RQCh. 15.5 - Prob. 3RQCh. 15.5 - Prob. 4RQCh. 15.5 - Prob. 5RQCh. 15.5 - Construct a ControlLogix ladder rung with compare...Ch. 15.5 - Prob. 2PCh. 15.5 - A single pole switch is used in place of the two...Ch. 15.6 - Prob. 1RQCh. 15.6 - Name the four basic elements of an FBD.Ch. 15.6 - Prob. 3RQCh. 15.6 - Prob. 4RQCh. 15.6 - Prob. 5RQCh. 15.6 - Prob. 6RQCh. 15.6 - Prob. 7RQCh. 15.6 - Prob. 8RQCh. 15.6 - Prob. 9RQCh. 15.6 - Prob. 10RQCh. 15.6 - Prob. 11RQCh. 15.6 - How is a function block feedback loop created?Ch. 15.6 - Prob. 13RQCh. 15.6 - Prob. 14RQCh. 15.6 - Prob. 1PCh. 15.6 - Prob. 2PCh. 15.6 - Prob. 3PCh. 15.6 - Prob. 4PCh. 15.6 - Prob. 5P
Knowledge Booster
Similar questions
- Computer Science A circuit for two output ports (A&C) of the AVR ATmega16 microcontroller each connected to 8 LEDs. Write a program to control the LEDs in a sequence shown by stepping to lit on the LED sequentially as in the figure by toggling the LED at the same time for both ports (500mS) ending at the last state of the figure and looping back inversely to the start. This s done for 3 times back and forth.arrow_forward5 Design a Asynchronous MOD – 12 counter using T – FF. Write the Behavioural HDL for T – FF and counter design using Structural HDL. it is compulsory to upload ModelSim codesarrow_forwardPart III Design and implement a circuit that successively flashes digits 0 through 9 on the 7-segment display HEXO. Each digit should be displayed for about one second. Use a counter to determine the one-second intervals. The counter should be incremented by the 50-MHz clock signal provided on the DE-series boards. Do not derive any other clock signals in your design-make sure that all flip-flops in your circuit are clocked directly by the 50-MHz clock signal. A partial design of the required circuit is shown in Figure 2. The figure shows how a large bit-width counter can be used to produce an enable signal for a smaller counter. The rate at which the smaller counter increments can be controlled by choosing an appropriate number of bits in the larger counter. Counter 50 MHz Clock Counter ... Slow count Figure 2: Making a slow counter.arrow_forward
- In digital electronics and modern computer hardware, a flip-flop is sequential digital circuit used as a basic memory element. It has two stable states and can be used to store state information. One of its states represents ‘1’ while the other represents ‘0’. The most common types of flip-flops are SR-flip-flop, JK-flip-flop, and D flip-flop. When used in a finite-state machine, the output and next state depend not only on its current input, but also on its current state (and hence, previous inputs). Figure 1 D-Flip-flop with clock pulse (CP) Figure 1 shows a D flip-flop with clock pulse (CP). D is directly passed from stage1 to stage 2 through NAND gate and passed as inverted through gate 5 and gate 4. The input D is always sampled when the system CP is 1. Considering the memory element in Figure 1, perform the following tasks: Design FSM for the Figure 1 Simulate the Figure 1 using C. Write 400 words report on shift and…arrow_forwardwrite a verilog code for counter which starts from 13 and stops at 113.arrow_forwardIn digital electronics and modern computer hardware, a flip-flop is sequential digital circuit used as a basic memory element. It has two stable states and can be used to store state information. One of its states represents ‘1’ while the other represents ‘0’. The most common types of flip-flops are SR-flip-flop, JK-flip-flop, and D flip-flop. When used in a finite-state machine, the output and next state depend not only on its current input, but also on its current state (and hence, previous inputs).arrow_forward
- Task: DL34. In digital electronics, a NAND gate (NOT-AND) is a logic gate which produces an output which is false only if all its inputs are true; thus, its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the gate are HIGH (1); if any input is LOw (0), a HIGH (1) output results. A NAND gate is made using transistors and junction diodes. Minimum number of NAND gates required to implement the following binary equation (A'+B') (C+D)?arrow_forward1. Design the state diagram and create the state table for a synchronous to detect the sequence 0101. The circuit has a single input, x, and a single output z. The output is logic-1 whenever the input sequence 0101 is detected, logic-0 otherwise. Note that overlapping sequences are allowed (that is: If the input is 01010101, the output is high on every 1 beginning with the second). Write the equations for the state variables and the output z ?arrow_forwardWrite an embedded C program for CT scanning with a neat necessary pin out diagram 1) When the DIP switch is pressed, the 8-pole stepper motor rotates in half step anti-clockwise direction up to 180 degrees steps and the DC fan turns ON. 2) When the DIP switch is released, the 8-pole stepper motor returns (clockwise direction) to its original position and the DC fan turns OFF Assume Stepper motor pins are connected to P1.17 to P1.10 (8th to 1st pole), DC fan is connected to P1.1(+Ve), P1.0(-Ve) and DIP switch is connected to P2.02.arrow_forward
- In verilog a counter must be developed from 0 to 9999 with a reset and parallel loading. The reset will be a button in charge of returning the count to 0 when pressed.For this practice, the implemented circuit will only use a 7-segment BCD converter module, which will have to be managed between the different 7-segment displays at a given frequency.arrow_forwardDesign a 4-bit Asynchronous Counter up/down (Note: Please have the design be a clear outline or printed in order to attach it to the file)arrow_forwardQ1 a) Design a single-digit decade counter that counts from 0 to 9 and repeats. The single-digit decade counter should be built by a cascaded synchronous binary counter (74LS163) and other basic logic gates. Simulate the complete counter circuit by OrCAD and PSPICE. Capture the circuit schematic and the simulated waveform. (Define the simulation timings for at least one full counting cycle from 0 to 9 and back to 0.) (Hint: Use the DigClock input from the SOURCE as shown below and setup the CLK ONTIME and OFFTIME accordingly for the clock source.) Part DigClock Part List: OFFTIME = .5uS DSTM1 ONTIME = .5us DELAY = STARTVAL = 0 OPPVAL = 1 DisClock FileStm1 FieStm16 CLK FileStim2 FileStim32 FileStim4 FileStime Libraries Design Cache EVAL 1. SOURCEarrow_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