EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 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 #77 background imageLoading...
Page #77 background image
56
CQM1 Interrupt Functions Section 1-5
to the maximum count value when decrementing. There are no negative
values.
The number of points on the ring (maximum count value +1) can be set
from 1 to 65,000.
2. Linear Mode:
The counting range in linear mode is –8,388,607 to 8,388,607. If the allow-
able counting range for high-speed counter 1 or 2 is exceeded, an under-
flow or overflow status will occur and the counters PV will remain at
0838 8607 for overflows and F838 8607 for underflows, counting or com-
parison will be stopped, and AR 0509 (port 1) or AR 0609 (port 2) will be
turned ON.
Note 1. One of the methods in the following section should always be used to reset
the counter when restarting it. The counter will be automatically reset when
program execution is started or stopped.
2. The following signal transitions are handled as forward (incrementing)
pulses: A-phase leading edge to B-phase leading edge to A-phase trailing
edge to B-phase trailing edge. The following signal transitions are handled
as reverse (decrementing) pulses: B-phase leading edge to A-phase lead-
ing edge to B-phase trailing edge to A-phase trailing edge.
Reset Methods
Either the Z-phase signal + software reset or software reset may be selected
for resetting the PV of the count (i.e., setting it to 0). These resets operate the
same as they do for high-speed counter 0. Refer to page 48 for details.
Note 1. The reset bits for high-speed counters 1 and 2 (SR 25201 and SR 25202)
are refreshed once every cycle. Make sure that a reset bit is ON for at least
one full cycle so it can be read reliably.
2. The comparison table, execution status, and range comparison results will
be retained through a reset. (A comparison will be continued after a reset
is performed.)
High-speed Counter Interrupt Count
The comparison tables used for high-speed counters 1 and 2 are just like the
one used for high-speed counter 0. Refer to page 49 for details.
PC Setup When using high-speed counter 1 and/or 2 interrupts, make the settings in
PROGRAM mode shown below before executing the program.
Port 1 and 2 Mode Setting (DM 6611)
Specify high-speed counter mode for ports 1 and 2. If high-speed counter
mode is not specified, CTBL(63) cannot be used to make count comparisons.
Ring Mode
0
Max. count value
Decrement Increment
Linear Mode
0–8.388,607 8.388,607
Underflow Overflow

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals