278
Timer and Counter Instructions Section 3-6
Counter PVs are retained even through a power interruption. If you want to
restart counting from the SV instead of resuming the count from the retained
PV, add the First Cycle Flag (A20011) as a reset input to the counter.
3-6-10 REVERSIBLE COUNTER: CNTR(012)/CNTRX(548)
Purpose CNTR(012)/CNTRX(548) operates a reversible counter.
Ladder Symbol BCD
Binary
Variations
Applicable Program Areas
Operands N: Counter Number
The counter number must be between 0000 and 4095 (decimal).
S: Set Value
First Cycle Flag
(A20011)
CNTR(012)
N
S
Increment input
Reset input
Decrement input
N: Counter number
S: Set value
CNTRX(548)
N
S
Increment input
Reset in
ut
Decrement input
S: Set value
N: Counter number
Variations Executed Each Cycle for ON Condition CNTR(012)/
CNTRX(548)
Executed Once for Upward Differentiation Not supported.
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
Not allowed OK OK OK
Data Range
BCD #0000 to #9999
Binary &0 to &65535 (decimal)
#0000 to #FFFF (hex)