6-13 pulse output function procedures, Pulse output function procedures – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 207

Advertising
background image

184

Pulse Outputs

Section 7-6

Setting the Pulse
Output Direction
Priority Mode

The pulse output direction priority mode for the PLS2(887) instruction is spec-
ified by setting the ON/OFF bit status of A628.14 before executing the
PLS2(887) instruction.

Note

The priority mode setting in A628.14 applies to both pulse output 1 and 2.

Pulse Output Direction
Priority Mode

Execute PLS2(887) with A628.14 OFF.

Absolute Position Priority
Mode

Execute PLS2(887) with A628.14 ON.

7-6-13 Pulse Output Function Procedures

Pulse Outputs without Acceleration/Deceleration (PULS(886) + SPED(885))

This procedure shows how to use PULS(886) and SPED(885) to generate a
single-phase pulse output without acceleration or deceleration. The number of
output pulses cannot be changed during positioning.

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 relative pulse output, absolute linear pulse output, or
absolute circular pulse output.

@PLS2

#1

#0

D00000

D00000

8000

D00001

0000

D00002

C350

D00003

0000

D00004

0000

D00005

0000

D00006

03E8

D00007

03E8

Target position: 8000 Hex

Target speed: 50 kHz

Starting speed: 0 Hz

Acceleration rate: 1,000 Hz
Deceleration rate: 1,000 Hz

CW Output

Pulse output 1

CW direction

Setting table: D00000

@PLS2

#1

#0

D00000

D00000

8000

D00001

0000

D00002

C350

D00003

0000

D00004

0000

D00005

0000

D00006

03E8

D00007

03E8

P_On

A628.14

Target position: 8000 Hex

Target speed: 50 kHz

Starting speed: 0 Hz

Acceleration rate: 1,000 Hz
Deceleration rate: 1,000 Hz

Execution condition

Pulse output 1

CW direction

Setting table: D00000

The direction setting is
ignored and the direction
is changed automatically.

Advertising