Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 172

Advertising
background image

149

Pulse Inputs

Section 7-5

Counter values

Linear Counter: 8000 0000 to 7FFF FFFF hex
Circular Counter: 0000 0000 to Circular maximum count (hex)
(The circular maximum count is set in the System Setup between 0000
0001 and FFFF FFFF hex.)

High-speed counter PV storage locations

High-speed counter 1: A601 (upper bytes) and A600 (lower bytes)
High-speed counter 2: A603 (upper bytes) and A602 (lower bytes)

These values can be used for target-value comparison interrupts or
range-comparison bit pattern outputs.

Note The PVs are refreshed during the Motion Control Module’s I/O

refresh. The PVs can also be read with the PRV(881) instruction.

Data storage format: 8-digit hexadecimal

• Linear Counter: 8000 0000 to 7FFF FFFF hex
• Circular Counter: 0000 0000 to Circular maximum count

Latch inputs

There are two latch inputs. One latch input can be for each high-speed
counter or both latch inputs can be used for one high-speed counter. It is
also possible for both high-speed counters to share one latch input.

The latched PV can be read with the PRV(881) instruction.

Control
method

Target value comparison

Register up to 48 target values and interrupt tasks.

Range comparison

Register up to 16 upper limits, lower limits, and output bit patterns.

Counter reset

Phase Z Signal + Software Reset
The counter is reset on the phase-Z signal if the Reset Bit is ON.

Software Reset
The counter is reset when the Reset Bit is turned ON.

Note The counter reset method is set in System Setup.

Reset Bits
A610.01 is the Reset Bit for high-speed counter 1 and A611.01 is the Reset
Bit for high-speed counter 2.

Mea-
sure-
ment
mode

Counter movements
(mode 1)

Measures the change in the high-speed counter’s PV for the set sampling
time or each cycle.

Sampling time: 1 to 9,999 ms
Movement (absolute value): 0000 0000 to FFFF FFFF hex

Counter frequency
(mode 2)

The frequency is calculated from the PV between 0 and 500,000 Hz.

Measurement storage location
for above measurements

High-speed counter 1: A605 (upper bytes) and A604 (lower bytes)
High-speed counter 2: A607 (upper bytes) and A606 (lower bytes)

Note The high-speed counter value can also be read with the PRV(881)

instruction.

Stored Data
Movement: 8-digit hexadecimal
Frequency: 8-digit hexadecimal

Note The data is refreshed during the Motion Control Module’s I/O refresh

period.

• Select mode 1 or mode 2 in the System Setup.
• Measurement starts when the Measurement Start Bit (A610.02 for high-speed counter 1 or A611.02 for

high-speed counter 2) is turned ON.

• The Measuring Flag (A608.06 for high-speed counter 1 or A609.06 for high-speed counter 2) will be ON dur-

ing the measurement.

Item

Specification

Advertising