EasyManua.ls Logo

Omron CJ - 08-2008 - Counter Area; Data Memory (DM) Area

Omron CJ - 08-2008
733 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
Loading...
425
Counter Area Section 9-14
grammed with timer numbers 2048 to 4095 will be held when jumped or
when in a task that is on standby.
5. CJ1-H-R CPU Units only.
Timer Completion Flags can be force-set and force-reset.
Timer PVs cannot be force-set or force-reset, although the PVs can be
refreshed indirectly by force-setting/resetting the Completion Flag.
There are no restrictions in the order of using timer numbers or in the number
of N.C. or N.O. conditions that can be programmed. Timer PVs can be read as
word data and used in programming.
9-14 Counter Area
The 4,096 counter numbers (C0000 to C4095) are shared by the CNT,
CNTX(546), CNTR(012), CNTRX(548), CNTW(814), and CNTWX(818)
instructions. Counter Completion Flags and present values (PVs) for these
instructions are accessed with the counter numbers.
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.
With CJ1-H and CJ1M CPU Units, the refresh method for counter PVs can be
set from the CX-Programmer to either BCD or binary. With CJ1 CPU Units, it
can only be set to binary.
It is not recommended to use the same counter number in two counter
instructions because the counters will not operate correctly if they are count-
ing 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.
Counter PVs cannot be force-set or force-reset, although the PVs can be
refreshed indirectly by force-setting/resetting the Completion Flag.
There are no restrictions in the order of using counter numbers or in the num-
ber of N.C. or N.O. conditions that can be programmed. Counter PVs can be
read as word data and used in programming.
9-15 Data Memory (DM) Area
The DM Area contains 32,768 words with addresses ranging from D00000 to
D32767. This data area is used for general data storage and manipulation
and is accessible only by word.
Instruction name Effect on PV and Completion Flag
Reset Mode
change
PLC startup Reset Input CNR(545)/
CNRX(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

Related product manuals