Counter Area (C) - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

5-7

Counter Area (C)

Overview
The Counter Area contains Completion Flags (1 bit each) and counter PVs (16 bits each). A Comple-
tion Flag is turned ON when the counter PV reaches the set value (counting out).
Precautions for Safe Use
With an E-type CPU Unit or with an N/NA-type CPU Unit without a Battery, the contents of the
DM Area (D) *, Holding Area (H), the Counter Present Values (C), the status of Counter Comple-
tion Flags (C), and the status of bits in the Auxiliary Area (A) related to clock functions may be
unstable when the power supply is turned ON.
* This does not apply to areas backed up to EEPROM using the DM backup function.
If the DM backup function is being used, be sure to refer to 3-2-4 Initializing I/O Memory at Star-
tup for details.
Notation
C 002
Counter number: 002
I/O memory area designator: C
Range
Counter numbers range from C0 to C255.
.
Details
Types of Counters
The following table shows which instructions are used to refresh counter PVs in BCD and binary
mode.
Counter instruction
COUNTER
REVERSIBLE COUNTER
Counter numbers 0 to 255 are used by all counters given above.
The refresh method for counter PVs can be set from the CX-Programmer to either BCD or binary.
Built-in high-speed counters 0 to 5 do not use counter numbers.
CP1E CPU Unit Software User's Manual(W480)
BCD mode
Binary mode
CNT
CNTR
CNTRX
5 I/O Memory
CNTX
5
5-15

Advertisement

Table of Contents
loading

Table of Contents