Data Memory (Dm) Area - Omron SYSMAC CS Series Operation Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Data Memory (DM) Area

Instruction name
COUNTER: CNT or
CNTX
REVERSIBLE
COUNTER: CNTR(012)
548)
or CNTRX(
COUNTER WAIT:
CNTW(814) or
CNTWX(818)

9-20 Data Memory (DM) Area

With CS1-H CPU Units, the refresh method for counter PVs can be set from
the CX-Programmer to either BCD or binary. With CS1 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.
Reset
Mode
change
PV → 0000
Maintained
Flag → OFF
Note When designating addresses in programming or allocations inside C200H
Special I/O Units, "C000" to "C511" will actually specify T0000 to T0511 in the
CPU Unit. C0512 to C4095 cannot be specified inside the C200H Special I/O
Units.
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.
Data in the DM Area is retained when the PLC's power is cycled or the PLC's
operating mode is changed from PROGRAM mode to RUN/MONITOR mode
or vice-versa.
Although bits in the DM Area cannot be accessed directly, the status of these
bits can be accessed with the BIT TEST instructions, TST(350) and
TSTN(351).
Bits in the DM Area cannot be force-set or force-reset.
Note
1. If using a C200H DeviceNet Master Unit (C200HW-DRM21-V1), use the
following words as the status area. Data in this area is updated when the
C200H DeviceNet Master Unit is used, so the area cannot be used for oth-
er applications.
• Master Status: D06032 + (2 x unit number)
• Current Communications Cycle Time: D06033 + (2 x unit number)
The CS-series DeviceNet Unit (CS1W-DRM21) does not use the above
words.
2. When designating addresses in programming or allocations inside Group-
I and Group-II C200H Special I/O Units, DM 0000 to DM 0999 will actually
specify D00000 to D00999 in the CPU Unit and DM 1000 to DM1999 will
actually specify D20000 to D20999 (part of the Special I/O Unit Area) in
the CPU Unit. Other addresses in this area cannot be specified. When des-
ignating addresses in programming or allocations inside Group-III and
Effect on PV and Completion Flag
PLC startup
Reset Input
Maintained
Reset
Section 9-20
CNR(545) or
Interlocks
CNRX(548)
(IL-ILC)
Reset
Maintained
461

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu_hCs1g/h-cpu_-ev1

Table of Contents