Omron CJ2 CPU UNIT SOFTWARE User Manual page 497

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
COUNTER
CNT
---
(BCD)
CNTX
546
(Binary)
REVERSIBLE
CNTR
012
COUNTER
(BCD)
CNTRX
548
(Binary)
RESET TIMER/
CNR
545
COUNTER
@CNR
(BCD)
CNRX
547
@CNRX
(Binary)
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
Count
CNT/CNTX(546) operates a decrementing counter.
CNT
input
The setting range for the set value (SV) is 0 to
N
9,999 for BCD and 0 to 65,535 for binary (decimal
S
or hexadecimal).
Reset
input
Count input
N: Counter number
S: Set value
Reset input
CNTX(546)
Count
input
Counter PV
N
S
Reset
input
Completion
Flag
N: Counter number
S: Set value
CNTR(012)/CNTRX(548) operates a reversible counter.
Incre-
CNTR(012)
ment
N
input
Decre-
Increment input
S
ment
input
Reset
Decrement input
input
N: Counter number
S: Set value
Counter PV
Incre-
CNTRX(548)
ment
Counter PV
input
N
Decre-
S
ment
input
Reset
Completion Flag
input
N: Counter number
S: Set value
Counter PV
Completion Flag
CNR(545)/CNRX(547) resets the timers or counters within the
CNR(545)
specified range of timer or counter numbers. Sets the set
value (SV) to the maximum of #9999 for BCD and #FFFF for
N1
binary.
N2
N
: 1st number in
1
range
N
: Last number
2
in range
CNRX(547)
N1
N2
N
: 1st number in
1
range
N
: Last number
2
in range
Function
SV
SV
+1
SV
Appendices
Execution
Location
condition
Output
Required
Output
Required
−1
Output
Required
A-13

Advertisement

Table of Contents
loading

Table of Contents