PLC Basics MCQs — Set 6

10 practice questions on PLC counters — CTU, CTD and up/down counters, presets and resets — with answers and explanations.

Q1. What does a CTU (count up) counter do?

  • (a) It counts down from the preset to zero
  • (b) It adds 1 to its accumulated value on each false-to-true pulse, and sets its done bit when the count reaches the preset
  • (c) It delays the output by the preset time
  • (d) It measures the scan time

Answer: (b) It adds 1 to its accumulated value on each false-to-true pulse, and sets its done bit when the count reaches the preset.

Q2. A CTU counter has a preset of 5. A sensor sends 5 pulses. What happens?

  • (a) Nothing changes
  • (b) The done bit turns on after the 5th pulse
  • (c) The counter resets to zero
  • (d) The output turns off

Answer: (b) The done bit turns on after the 5th pulse — accumulated value 5 equals the preset, so the DN bit is set.

Q3. A CTU counter has a preset of 10 and is counting bottles on a conveyor. After how many bottles does the done bit turn on?

  • (a) 5 bottles
  • (b) 9 bottles
  • (c) 10 bottles
  • (d) 11 bottles

Answer: (c) 10 bottles — the done bit sets when the accumulated count reaches the preset of 10.

Q4. What does a CTD (count down) counter do?

  • (a) It counts up from zero to the preset
  • (b) It starts at the preset value, subtracts 1 on each pulse, and sets its done bit when the count reaches zero
  • (c) It delays the output by the preset time
  • (d) It resets the timer

Answer: (b) It starts at the preset value, subtracts 1 on each pulse, and sets its done bit when the count reaches zero.

Q5. A CTD counter has a preset of 8. How many pulses are needed for its done bit to turn on?

  • (a) 4 pulses
  • (b) 7 pulses
  • (c) 8 pulses
  • (d) 16 pulses

Answer: (c) 8 pulses — the counter counts down from 8 to 0 in 8 pulses, and the done bit sets at zero.

Q6. How is a CTU counter reset to zero?

  • (a) By turning the PLC off
  • (b) By a RES (reset) instruction, or a reset input, which clears the accumulated value to zero
  • (c) By pressing the start button
  • (d) It resets itself after every pulse

Answer: (b) By a RES (reset) instruction, or a reset input, which clears the accumulated value to zero — the done bit also turns off when the counter is reset.

Q7. A packing machine must put 12 bottles in each case. Which counter setup does the job?

  • (a) TON with a 12 s preset
  • (b) CTU with a preset of 12, reset after each full case
  • (c) TOF with a 12 s preset
  • (d) CTD with a preset of 1

Answer: (b) CTU with a preset of 12, reset after each full case — the done bit signals a full case of 12 bottles, then the counter resets for the next case.

Q8. A CTU counter has a preset of 24 and counts parts into a box. After 24 parts, what should the program do?

  • (a) Nothing — the counter keeps counting forever
  • (b) Use the done bit to move the full box away and reset the counter for the next box
  • (c) Switch the PLC off
  • (d) Change the preset to 48

Answer: (b) Use the done bit to move the full box away and reset the counter for the next box — the done bit at 24 parts triggers the box-change sequence.

Q9. When does a counter register a count?

  • (a) While its input stays ON continuously
  • (b) Only on the false-to-true (rising edge) transition of its input
  • (c) Once per scan, regardless of the input
  • (d) Only when its reset input is ON

Answer: (b) Only on the false-to-true (rising edge) transition of its input — a steady ON input counts once, not continuously.

Q10. What is a CTUD (up/down) counter used for?

  • (a) Delaying an output by the preset time
  • (b) Counting in both directions, for example tracking the position of a moving carriage from an encoder
  • (c) Measuring the temperature of a motor
  • (d) Switching the PLC between run and program mode

Answer: (b) Counting in both directions, for example tracking the position of a moving carriage from an encoder — one input counts up, the other counts down, giving a net position.

Also read: Logic Gates Explained | Digital Electronics MCQs | All MCQ Topics