Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 280

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

CNTR/CNTRX
Instruction
REVERSIBLE COUNTER
BCD
Increment input
Symbol
Decrement input
Reset input
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
Counter Number
S
Set Value
N: Counter Number
The counter number must be between 0000 and 4095 (decimal).
S: Set Value
BCD:#0000 to #9999
Binary: &0 to &65535 (decimal) or #0000 to #FFFF (hex)
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
S
OK
OK
OK
Flags
Name
Error Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
CNTR
---
CNTRX
---
CNTR
CNTR(012)
N
N: Counter number
S
S: Set value
Block program areas
Step program areas
Not allowed
OK
Description
AR
T
C
DM
EM
---
---
---
---
OK
OK
OK
OK
OK
Label
ER
• ON if N is indirectly addressed through an Index Register but the address in the Index Register is not
the PV address of a counter.
• ON if in BCD mode and S does not contain BCD data.
• OFF in all other cases.
Function
code
012
548
Binary
Increment input
Decrement input
Reset input
Subroutines
OK
Data type
CNTR
COUNTER
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
3. Instructions
Function
---
CNTRX
CNTRX(548)
N
N: Counter number
S
S: Set value
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
CNTRX
COUNTER
1
UINT
1
Registers
Flags
Pulse
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
bits
---
---
243

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents