46
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
REVERSIBLE
COUNTER
CNTR
012
(BCD)
CNTRX
548
(Binary)
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
Output
Required
247
RESET TIMER/
COUNTER
CNR
@CNR
545
(BCD)
CNRX
@CNRX
547
(Binary)
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
CNR(545)/CNRX(547) resets the timers or counters within the speci-
fied range of timer or counter numbers. Sets the set value (SV) to the
maximum of 9999.
Output
Required
250
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
CNTR(012)
N
S
Incre-
ment
input
Decre-
ment
input
Reset
input
N: Counter
number
S: Set value
SV
+1
SV
1
Increment input
Counter PV
Decrement input
Counter PV
Completion Flag
Counter PV
Completion Flag
CNTR(012)/CNTRX(548) operates a reversible counter.
CNTRX(548)
N
S
Incre-
ment
input
Decre-
ment
input
Reset
input
N: Counter
number
S: Set value
CNR(545)
N1
N2
N
1
:
1st number in
range
N
2
:
Last number
in range
CNRX(547)
N1
N2
N
1
:
1st number
in range
N
2
:
Last number
in range