![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030318.webp)
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 input
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)
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...