EasyManuals Logo

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 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 #65 background imageLoading...
Page #65 background image
40
Interrupt Functions Section 1-4
son table and interrupts will not be generated unless the CTBL(63) instruction
is executed.
High-speed counter 0 is reset to “0” when power is turned ON and when oper-
ation begins.
The present value of high-speed counter 0 is maintained in SR 230 and
SR 231.
Controlling High-speed Counter 0 Interrupts
1,2,3... 1. Use the CTBL(63) instruction to save the comparison table in the CQM1H
and begin comparisons.
If C is set to 000, then comparisons will be made by the target matching
method; if 001, then they will be made by the range comparison method.
The comparison table will be saved, and, when the save operation is com-
plete, then comparisons will begin. While comparisons are being executed,
high-speed interrupts will be executed according to the comparison table.
For details on the contents of the comparison tables that are saved, refer
to the explanation of the CTBL(63) instruction in SECTION 5 Instruction
Set.
Note The comparison results are normally stored in AR 1100 through
AR 1107 while the range comparison is being executed.
If C is set to 002, then comparisons will be made by the target matching
method; if 003, then they will be made by the range comparison method.
For either of these settings, the comparison table will be saved, but com-
parisons will not begin, and the INI(61) instruction must be used to begin
comparisons.
2. To stop comparisons, execute the INI(61) instruction as shown below.
To start comparisons again, set the second operand to “000” (execute
comparison), and execute the INI(61) instruction.
Once a table has been saved, it will be retained in the CQM1H during op-
eration (i.e., during program execution) as long as no other table is saved.
Reading the PV
There are two ways to read the PV. The first is to read it from SR 230 and SR
231, and the second to use the PRV(62) instruction.
1,2,3... 1. Reading SR 230 and SR 231
The PV of high-speed counter 0 is stored in SR 230 and SR 231 as shown
below. The leftmost digit will be F for negative values.
(@)CTBL(63)
000
C
TB
C: (3-digit BCD)
000: Target table set and comparison begun
001: Range table set and comparison begun
002: Target table set only
003: Range table set only
TB: Beginning word of comparison table
(@)INI(61)
000
001
000
Leftmost 4 digits Rightmost 4 digits Differential phase mode Incrementing mode
SR 231 SR 230 F0032768 to 00032767
(32,768)
00000000 to 00065535

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
I/O CapacityUp to 512 points
Power Supply100 to 240 VAC, 50/60 Hz or 24 VDC (depending on model)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Program Capacity7.2K to 15.2K steps
Communication PortsRS-232C
Expansion SlotsUp to 3 expansion units
TypeProgrammable Logic Controller (PLC)
CPU TypeRISC
Program Memory7.2K to 15.2K steps
I/O Points512 max
Expansion CapabilityUp to 3 expansion units
Data MemoryRAM (battery backup)

Related product manuals