LogixPro PLC Lab Manual for Programmable Logic Controllers
LogixPro PLC Lab Manual for Programmable Logic Controllers
5th Edition
ISBN: 9781259680847
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
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
Need help answering these questions!1. Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100.   2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000   3. Convert the While loop in the following code to a Do-While loop:     Declare Integer x = 1     While x > 0        Display "Enter a number."        Input x     End While
Need help with these:Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as the product contains a value less than 100.   2. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000   3. Convert the While loop in the following code to a Do-While loop:     Declare Integer x = 1     While x > 0        Display "Enter a number."        Input x     End While
Convert the While loop in the following code to a Do-While loop:    Declare Integer x = 1    While x > 0       Display "Enter a number."       Input x    End While
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
A+ Guide to Hardware (Standalone Book) (MindTap C...
Computer Science
ISBN:9781305266452
Author:Jean Andrews
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT