One-shot pulse output specifications – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 200

Advertising
background image

177

Pulse Outputs

Section 7-6

Set the pulse output operation mode to 1 shot in advance in the System
Setup, as shown in the following table.

Note

A pulse output port that is being used for one-shot pulse outputs cannot be
used for any other pulse output functions.

The elapsed time of the one-shot pulse output is stored in 8-digit hexadecimal
in words A621 and A620 (pulse output 1) or A623 and A622 (pulse output 2).
When the one-shot pulse output is turned ON, the content of the correspond-
ing words is set to 0000 0000 hex and the content is incremented as time
passes. The final value is retained when the one-shot output is turned OFF.

One-shot Pulse Output Specifications

Tab page

Function

Setting

Pulse Output

Pulse Output 1

− Operation mode

1 shot (one-shot pulse output)

Pulse Output 2

− Operation mode

1 shot (one-shot pulse output)

ON

OFF

One-shot pulse output

Turned ON by STIM
instruction execution.

Turned OFF by hardware.

Setting units: Select 0.01 ms, 0.1 ms, or 1 ms.
Setting range: 0001 to 270F Hex (1 to 9,999)

Word

Bits

Function

Contents

A620

00 to 15

Elapsed time
of One-shot
pulse output 1

Lower
4 digits

Contains the elapsed time of the
one-shot pulse output in 8-digit hexa-
decimal.

The content can range from 0000 0000
to 0000 270F hex, and the units are set
to 0.01 ms, 0.1 ms, or 1 ms with the
STIM(980) instruction.

Note These words are refreshed dur-

ing the Motion Control Module’s
I/O refreshing.

A621

00 to 15

Upper
4 digits

A622

00 to 15

Elapsed time
of One-shot
pulse output 2

Lower
4 digits

These words function just like the
words for pulse output 1, described
above.

A623

00 to 15

Upper
4 digits

Item

Specification

Pulse ON time

0.01 to 9,999 ms (Can be set with the STIM(980) instruction.)

Operating conditions 1. Set the pulse output operation mode to 1 shot in the System

Setup.

2. Execute the STIM(980) instruction with operand C1 = #0001

or #0002.

Response time

Response time when the STIM(980) instruction is executed at
the beginning of an interrupt task:

0.2 ms max. from the generation of the interrupt until the
one-shot pulse output goes ON

Advertising