Programmable Logic Controllers - With Activities Manual and Access
Programmable Logic Controllers - With Activities Manual and Access
5th Edition
ISBN: 9781259732430
Author: Petruzella
Publisher: MCG
Question
Book Icon
Chapter 8, Problem 7P
Program Plan Intro

Count-Up (CTU) Counter:

  • The CTU counter refers to an up counter
  • This counter is used to count an event that occurs logically or externally and places that value in the counter’s accumulator.
  • The accumulated value can even be maintained during false rung conditions and can be reset back to 0 using reset instruction.

Count-Down (CTD) Counter:

  • The CTD counter refers to a down counter
  • It decrements the accumulated value at each false-to-true transition and it also retains the accumulated value as soon as an on/off power cycle occurs.

Explanation of Solution

b.

Accumulated count of counter CTD:

  • It is given that 20 on/off transitions occur at input “A” and 5 on/off transitions occur at input “B”.
  • The CTU and CTD counters are addressed at the same location “C5:2”.
  • The up-counter and down-counter operates simultaneously to increment and decrement the accumulated count value...

Explanation of Solution

c.

State of output A:

  • Here, the accumulated count value of CTU counter is 15.
  • The output “A” gets activated only when it receives CU signals from the counter “C5:2”.
  • But, the preset value is set for 10...

Explanation of Solution

d.

State of output B:

  • Here, the accumulated count value of CTD counter is 15.
  • The output “B” gets activated only when it receives CD signals from the counter “C5:2”.
  • But, the preset value is set for 10...

Explanation of Solution

e.

State of output C:

  • Here, the accumulated count value of up/down counters is 15 and it is greater than the preset value 10 in the counters addressed at “C5:2’...

Blurred answer
Students have asked these similar questions
Please help with the following in regards to Nand2Tetris, and hack code, so hack assembly and hack vm. There can be more that one answer to a question if  so please explain why. 1d. A symbol may be: a. @followed by a number b. @followed by a lower case word c. @followed by upper case word d. a and b e. b and c   1e. Every boolean expression of N inputs and one output can be implemented a. using a combination of D flip-flops, multiplexors and registers. b. by connecting the output directly to all of the N inputs. c. using a combination of And and Or gates. d. using a combination of And, Or and Nand gates   1f. In twos-complement arithmetic, to create a negative value of a number X:            To subtract X from Y: a. invert (Not) every bit in the number X. b. invert the most significant bit of X. c. add 1 to X, and invert every bit. d. subtract 1 from X, and invert every bit e. add 1 to X f. invert every bit of X and add 1
FSM with one input A and two outputs S and L. The FSM should detect a short or long pulse on input A and assert output S or L accordingly. Short pulses endure one state duration, whereas extended pulses last more than one state transition. Draw your FSM's algorithmic state machine (ASM) graphic.
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.     Execute the module code, testbench code, and the simulation results. PLEASE EXECUTE CODE IN VERILOG
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