3 input interrupts, 3-1 applicable models, 3-2 overview of the input interrupt function – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 165: 3-3 interrupt modes, 3-4 input interrupt specifications, Input interrupts, 3 input interrupts - input interrupt mode, Applicable models, Overview of the input interrupt function, Interrupt modes

Advertising
background image

142

Input Interrupts

Section 7-3

The EI(694) instruction does not enable all interrupts. If an interrupt was
masked before all interrupts were disabled, that interrupt will still be masked
after the prohibition on all interrupts is cleared.

Clearing Recorded
Interrupts

The CLI(691) instruction clears the interrupt event information recorded while
all interrupts were disabled by the DI(802) instruction.

7-3

Input Interrupts

7-3-1

Applicable Models

7-3-2

Overview of the Input Interrupt Function

Contact inputs 0 to 3 in the Motion Control Modules can be used for external
interrupt inputs. These inputs correspond to CIO 0000.00 to CIO 0000.03.
The interrupt tasks corresponding to these inputs are fixed and cannot be
changed. Contact inputs 0 to 3 call interrupt tasks 000 to 003, respectively.

Note

If the input interrupts are not being used, interrupt tasks 000 to 003 can be
used as interrupt tasks for other interrupt functions.

7-3-3

Interrupt Modes

There are two modes that can be used for the input interrupts. Each of the
four interrupt inputs can be set to either of these modes.

• Input Interrupt Mode:

An interrupt is generated when the external input turns ON, OFF, or both.

• Counter Mode:

External signals are counted, decrementing the PV from an SV, and an
interrupt is generated when the PV equals 0.

The interrupt mode for each interrupt input is set using the MSKS(690)
instruction.

7-3-4

Input Interrupt Specifications

Input Interrupt Mode

Model number

Functions

FQM1-MMP21

Motion Control Module for Pulse I/O

FQM1-MMA21

Motion Control Module for Analog I/O

Item

Specification

Interrupt condition

Contact inputs 0 to 3 (CIO 0000.00 to CIO 0000.03) turn ON,
OFF, or both

Note Set the interrupt condition in the System Setup.

Interrupt task num-
bers

CIO 0000.00 to CIO 0000.03: Interrupt tasks 000 to 003

Response time

0.1 ms for ON interrupt condition

The response time is measured from when interrupt condition
is met until interrupt task execution starts.

Signal pulse width

ON: 0.1 ms min., OFF: 0.2 ms min.

Advertising