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

Page 209

Advertising
background image

186

Pulse Outputs

Section 7-6

• Use PRV(881) to read the pulse output PV of the specified port.

Pulse Outputs without Acceleration/Deceleration (PULS(886): Electronic Cam
Control)

This procedure shows how to use the PULS(886) instruction’s electronic cam
control function to generate a single-phase pulse output without acceleration
or deceleration. The number of output pulses can be changed during position-
ing.

Procedure

1,2,3...

1.

Determine pulse output port.

• Select pulse output 1 or 2.

2.

Wire the output.

• Output: CW and CCW

• Output power supply: 5 V DC

3.

Make the necessary System Setup settings (Pulse Output Tab Page

− Op-

eration Mode).

• Set the pulse output operation mode (in the Pulse Output Tab Page

Operation Mode) to absolute linear pulse output (electronic cam control)
or absolute circular pulse output (electronic cam control).

• Set the clock speed for pulse outputs 1 and 2.

4.

Create the necessary ladder programming.

• Use PULS(886) to set the absolute position, output frequency, and pulse

output (automatic determination of pulse output direction) for the specified
port.

• Use INI(880) to stop pulse output from the specified port.

• Use PRV(881) to read the pulse output PV of the specified port.

Electronic Cam Control
Functions

The electronic cam control supports the following functions.

• The pulse output direction is determined automatically by comparing the

present position (pulse output PV) and target position.

• The PULS(886) instruction can be executed during pulse output to

change the absolute position setting and pulse frequency.

• Applications of Electronic Cam Operation:

PULS

INI

ACC

PRV

A621

A620

A623

A622

A624
A625

CW

CCW

CW

CCW

Pulse output
port 1

Pulse output
port 2

Single-phase
pulse output
(fixed duty ratio)

Start
output

Ladder program

Ladder program

Set the number
of output pulses.

Stop pulse output.

Target frequency: 0 Hz to 1 MHz

Start pulse output.

Pulse output
mode

System Setup

Mode settings for
ports 1 and 2

Port 1

Port 2

Port 1
Port 2

Refresh status (once each cycle
just after instruction execution)

Pulse output status

Pulse output PV

Refresh PV (once each cycle)

Refresh PV (immediate refresh)

SET PULSE

MODE CONTROL

HIGH-SPEED
COUNTER
PV READ

ACCELERTION
CONTROL

Mode settings (CW/CCW, accel-
eration/deceleration, independ-
ent/continuous)

Acceleration/deceleration rate
(common) (1 or 2 ms cycle,
1 Hz to 9,999 Hz)

Advertising