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 #241 background imageLoading...
Page #241 background image
220
Timer and Counter Instructions Section 5-15
C2 and C3 have no function and should both be set to 000.
Flags ER: Interval timer 0 is started while a pulse output is operating.
(C1=000 only)
Interval timer 2 is started while the high-speed counter 0 is enabled
(C1=002 only)
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
A data area boundary has been exceeded.
5-15-6 REGISTER COMPARISON TABLE – CTBL(63)
This instruction is not available for SRM1 PCs.
Limitations The first and last comparison table words must be in the same data area. (The
length of the comparison table varies according to the settings.)
In the CQM1-CPU43-EV1, CTBL(63) cannot be used if the PC Setup (DM
6611) is set to pulse output mode.
In the CPM1/CPM1A PCs, P must be 000.
Description When the execution condition is OFF, CTBL(63) is not executed. When the
execution condition is ON, CTBL(63) registers a comparison table for use with
the high-speed counter PV. Depending on the value of C, comparison with the
high-speed counter PV can begin immediately or it can be started separately
with INI(61).
The port specifier (P) specifies the high-speed counter that will be used in the
comparison.
The function of CTBL(63) is determined by the control data, C, as shown in
the following table. These functions are described after the table.
When the PV agrees with a target value or falls within a specified range, the
specified subroutine is called and executed. Refer to 1-5-5 High-speed
P: Port specifier
000, 001, or 002
Ladder Symbols Operand Data Areas
@CTBL(63)
P
C
TB
TB: First comparison table word
IR, SR, AR, DM, HR, LR
C: Control data
000 to 003
CTBL(63)
P
C
TB
P Function Applicable PCs
000 Specifies high-speed counter 0. CQM1/CPM1/CPM1A
001 Specifies high-speed counter 1. CQM1 only
002 Specifies high-speed counter 2.
C CTBL(63) function
000 Registers a target value comparison table and starts comparison.
001 Registers a range comparison table and starts comparison.
002 Registers a target value comparison table. Start comparison with INI(61).
003 Registers a range comparison table. Start comparison with INI(61).

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