EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #240 background imageLoading...
Page #240 background image
6 I/O Memory Areas
6-34
CJ2 CPU Unit Software User’s Manual
6-17 Counter Areas
Up to 4,096 counters with counter numbers C0 to C4095 can be used. There are two counter data
areas: the Counter Completion Flag Area and the Counter Present Value (PV) Area.
• Counter Completion Flags (C)
Counter numbers are used to access Completion Flags. A Completion Flag is turned ON when the
set value of the counter is reached.
• Counter PVs (C)
Counter numbers are also used to read and write the present values of counters (16 bits). The PVs
count up or down as the counter operates.
When a counter number is used in an operand that requires bit data, the counter number accesses the
Completion Flag of the counter. When a counter number is used in an operand that requires word data,
the counter number accesses the PV of the counter.
The same timer number are used by all of the following instructions CNT, CNTX(546), CNTR(012),
CNTRX(548), CNTW(814), and CNTWX(818).
Precautions for Correct UsePrecautions for Correct Use
It is not recommended to use the same counter number in two counter instructions because the
counters will not operate correctly if they are counting simultaneously. If two or more counter
instructions use the same counter number, an error will be generated during the program check,
but the counters will operate as long as the instructions are not executed in the same cycle.
The following table shows when counter PVs and Completion Flags will be reset.
• Counter Completion Flags can be force-set and force-reset.
• There are no restrictions in the order of using counter numbers or in the number of N.C. or N.O.
conditions that can be programmed.
• Counter PVs can be read as word data and used in programming.
Instruction name
Effect on PV and Completion Flag
Reset
Mode
change
PLC startup Reset Input
CNR(545)/CN
RX(547)
Interlocks
(IL-ILC)
COUNTER:
CNT/CNTX(546)
PV → 0000
Flag → OFF
Maintained Maintained Reset Reset Maintained
REVERSIBLE COUNTER:
CNTR(012)/CNTRX(548)
COUNTER WAIT:
CNTW(814)/CNTWX(818)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals