Up Counter Counters

Inputs/Outputs Operands Data Types
CU (LAD) Power Flow BOOL
CU (FBD) I, Q, M, SM, V, S, L, T, C, Power Flow BOOL
R (LAD) Power Flow BOOL
R (FBD) I, Q, M, SM, V, S, L, T, C, Power Flow BOOL
PV VW, IW, QW, MW, SMW, LW, SW, AIW, AC, Constant, *VD, *AC, *LD INT
Q I, Q, M, SM, V, S, L BOOL
CV VW, IW, QW, MW, SW, LW, AC, *VD, *AC, *LD INT
xxxx (LAD & FBD) Constant (C0 C255) CTU

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
The Up Counter (CTU) function block counts up from the current value to the preset value on the rising edges of the Count Up (CU) input. When the current value (CV) is greater than or equal to the preset value (PV), the counter output bit (Q) turns on. The counter is reset when the reset input (R) is enabled. The Up Counter stops counting when it reaches the preset value (PV).

Counter ranges:xxx=C0 through C255

Note:

Since there is one current value for each counter, do not assign the same number to more than one counter. (Up Counters, Down Counters, and Up/Down Counters access the same current value.)