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

Page 202

Advertising
background image

179

Pulse Outputs

Section 7-6

(3) If the STIM(980) instruction is executed again to restart an operating tim-

er, the timer value will be reset to 0 and the timer will restart.

Pulse Counter Timer Specifications

7-6-9

Target-value Comparison Interrupts from Pulse Output PVs

An interrupt task can be executed when the pulse output PV reaches a target
value, although this function cannot be used in independent mode (position-
ing), one-shot pulse output operation mode, or electronic cam control
because the pulse output stops.

When the pulse output operation mode is set to linear mode, this function can
be used for speed control (frequency changes) based on the present position.

When the pulse output operation mode is set to circular mode, this function
can be used for continuous speed control to control a series of repetitive oper-
ations at specific positions by repeating speed control patterns.

The processing of the target-value comparison interrupts for pulse output PVs
is the same as the processing for high-speed counter PVs, so refer to Check-
ing for High-speed Counter Interrupts
under High-speed Counter Function
Description
in 7-5-8 Pulse Input Function Description
for details.

Item

Specification

Timer measurement
range

0000 0000 to FFFF FFFF hex
The time units can be set to 0.01 ms, 0.1 ms, or 1 ms with the
STIM(980) instruction.

Operating conditions 1. Set the pulse output operation mode to Calculation (time

measurement) in the System Setup.

2. To start or stop the timer, execute the STIM(980) instruction

with operand C1 = #000B or #000C and one of the following
C2 values:
To start the timer, execute STIM(980) with operand C2 =
#0000.
To stop the timer, execute STIM(980) with operand C2 =
#0001.

Advertising