EasyManua.ls Logo

Omron CQM1H - 08-2005 - Page 55

Omron CQM1H - 08-2005
285 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
Loading...
30
Functions Listed by Purpose Section 1-4
Interrupt functions Processing interrupt
when an input turns ON
Example: Cut-to-length
processing (sending
instruction to a tool
when interrupt input is
received from a
proximity or
photoelectric sensor)
CPU Unit
(built-in inputs)
Input interrupts (4
inputs): Input
Interrupt Mode
Input interrupt
permitted by
clearing mask
using the INT(89)
instruction with
CC=000.
Interrupt subroutine is executed
when CPU Unit built-in input
(IR 00000 to IR 00003) turns ON.
Processing interrupts at
regular intervals
Example: Sheet speed
calculation (calculates
speed using input
signals from an encoder
at regular intervals)
Interval timer
interrupt:
Scheduled
Interrupt Mode
Specified with the
first operand of the
STIM(69) instruc-
tion.
Interrupt subroutine is executed
at regular intervals.
Processing interrupt
after a fixed time
Example: Stopping
conveyor belt with high
precision after
workpiece detected
(independent of cycle
time)
Interval timer
interrupt: One-shot
Mode
Three interval
timers (0 to 2).
(Interval timer 2
cannot be used at
the same time as
high-speed
counter 0.)
Specified with the
first operand of
STIM(69).
Interrupt subroutine is executed
once when the time expires.
Processing interrupt
when the PV of a
low-speed (1 kHz)
counter reaches 0
Example: Counting
workpieces (e.g., chip
components), and
stopping feeding when
a set value is reached
Input interrupts (4
inputs): Counter
Mode
(decrementing)
Counter Mode set
value updated and
masking cleared
using the INT(89)
instruction with
CC=003.
Decrements the PV every time
CPU Unit built-in input (IR 00000
to IR 00003) turns ON, and
executes the subroutine when the
PV reaches 0.
Processing interrupt
when the high-speed
counter PV matches a
certain value
Example: Performing
processing required for
cutting a workpiece
(e.g., wire) when it is a
certain length
CPU Unit
(built-in inputs)
Pulse I/O Board
Absolute
Encoder
Interface Board
High-speed
counter interrupt:
Target value
comparison
Interrupt subroutine is executed
when the PV matches a value
registered in the comparison
table.
Processing interrupt
when the high-speed
counter PV is within a
certain range
Example: Picking
workpieces (e.g., wires)
within specified lengths
at high speed
High-speed
counter interrupt:
Range comparison
Interrupt subroutine is executed
when the counter PV lies
between set upper and lower
limits.
Interrupting program
when data is received
via serial
communications
Serial
Communica-
tions Board
Protocol macro
interrupt
notification
---
Purpose Unit/Board Function Details

Table of Contents

Related product manuals