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 #61 background imageLoading...
Page #61 background image
36
Interrupt Functions Section 1-4
High-speed Counter 0 Interrupt Count
For high-speed counter 0 interrupts, a comparison table is used instead of a
“count up.” The count check can be carried out by either of the two methods
described below. In the comparison table, comparison conditions (for compar-
ing to the PV) and interrupt subroutine combinations are saved.
Target Value Comparisons
The current count is compared to the target values in the order that target val-
ues are set in the comparison table and interrupts are generated as the count
equals each target value. Once the count has equaled all of the target values
in the table, the target value is set to the first target value in the table, which is
again compared to the current counted until the two values are equal.
Range Comparisons
The current count is compared in cyclic fashion to all of the ranges at the
same time and interrupts are generated based on the results of the compari-
sons.
Note When performing target value comparisons, do not repeatedly use the INI
instruction to change the current value of the count and start the comparison
operation. The interrupt operation may not work correctly if the comparison
operation is started immediately after changing the current value from the pro-
gram. (The comparison operation will automatically return to the first target
value once an interrupt has been generated for the last target value. Repeti-
tious operation is thus possible merely by changing the current value.)
Method Operation
Target value A maximum of 16 comparison conditions (target values and count
directions) and interrupt subroutine combinations are saved in the
comparison table. When the counter PV and the count direction match
the comparison conditions, then the specified interrupt routine is exe-
cuted.
Range com-
parison
Eight comparison conditions (upper and lower limits) and interrupt rou-
tine combinations are saved in the comparison table. When the PV is
greater than or equal to the lower limit and less than or equal to the
upper limit, then the specified interrupt subroutine is executed.
Target value 1
Target value 2
Target value 3
Target value 4
Target value 5
Comparison Table
Count
Initial value
Target value
Interrupts
12 3 4 5
Rage setting 1
Rage setting 2
Rage setting 3
Rage setting 4
Comparison Table
Count
13
0
24

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