EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #285 background imageLoading...
Page #285 background image
247
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Timer and Counter Instructions
3
CNTR/CNTRX
CNTR/CNTRX
Applicable Program Areas
Operands
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)
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
REVERSIBLE COUNTER
CNTR --- 012
---
CNTRX --- 548
Symbol
CNTR CNTRX
BCD Binary
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK Not allowed OK OK OK OK
Operand Description
Data type
Size
CNTR CNTRX
N Counter Number COUNTER COUNTER 1
S Set Value WORD UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
N --- --- --- --- ---
OK
--- --- --- --- --- ---
--- OK --- --- --- ---
S OKOKOKOKOK OKOK OK OK OK OK
Name Label Operation
Error Flag P_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.
Increment input
Reset input
Decrement input
N: Counter number
S: Set value
CNTR(012)
N
S
Increment input
Reset input
Decrement input
N: Counter number
S: Set value
CNTRX(548)
N
S

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals