EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 127

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
87
Timer and Counter Instructions
Section 3-4
REVERSIBLE
COUNTER
CNTR
012
(BCD)
CNTRX
548
(Binary)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
Output
Required
RESET TIMER/
COUNTER
CNR
@CNR
545
(BCD)
CNRX
@CNRX
547
(Binary)
(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
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
CNTR(012)
N
S
Incre-
ment
input
Decre-
ment
input
Reset
input
N: Counter
number
S: Set value
SV
SV
+1
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
N1:
1st number in
range
N2:
Last number
in range
CNRX(547)
N1
N2
N1: 1st number in
range
N2: Last number
in range

Table of Contents

Related product manuals