Omron FQM1-MMP21, FQM1-CM001 Pulse Outputs, Section, Procedure, Electronic Cam Control Functions

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 209
Image 209
Electronic Cam Control Functions

Pulse Outputs

Section 7-6

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

Single-phase

pulse output

Start output

CW

Pulse output

Mode settings for ports 1 and 2

System Setup

Pulse output mode

(fixed duty ratio)

 

 

Ladder program

 

 

 

 

 

Ladder program

 

 

PULS

 

SET PULSE

 

 

 

ACC

 

Mode settings (CW/CCW, accel-

 

 

 

 

Set the number

 

 

 

 

 

 

 

eration/deceleration, independ-

 

 

 

 

 

 

 

ACCELERTION

ent/continuous)

 

 

 

 

of output pulses.

 

 

 

 

 

 

 

 

 

 

 

CONTROL

Target frequency: 0 Hz to 1 MHz

 

 

 

 

 

 

 

 

 

 

 

 

Acceleration/deceleration rate

 

 

INI

 

MODE CONTROL

 

 

 

 

 

(common) (1 or 2 ms cycle,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Hz to 9,999 Hz)

 

 

 

 

Stop pulse output.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Start pulse output.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CCW

CW

CCW

port 1

Pulse output port 2

Refresh status (once each cycle

Refresh PV (once each cycle)

Refresh PV (immediate refresh)

just after instruction execution)

 

 

 

 

 

 

 

HIGH-SPEED

Pulse output status

 

Pulse output PV

 

 

PRV

 

 

 

Port 1

 

 

 

 

 

 

 

 

 

COUNTER

A624

 

Port 1

A621

A620

 

 

 

 

Port 2

A625

 

Port 2

A623

A622

 

 

 

 

PV READ

 

 

 

 

 

 

 

 

 

 

 

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

Electronic Cam Control Functions

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.

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:

186

Page 209
Image 209
Omron FQM1-MMP21, FQM1-CM001, FQM1-MMA21 operation manual Pulse Outputs, Section, Procedure, Electronic Cam Control Functions