Pulse Outputs

Section 7-6

Using PLS2(887) for Trapezoidal Acceleration/Deceleration

In this example, the axis is accelerated in the CW direction at 500 Hz/2 ms, the acceleration/deceleration rate is reduced to 300 Hz/2 ms, and the pulse output is stopped after 300,000 pulses have been output.

After 5 s, the same trapezoidal acceleration/deceleration operation is per- formed in the CCW direction.

Port 1 CW Operation

Port 1 CCW Operation

Frequency

Acceleration rate 500 Hz/2 ms

Specified number

Specified number

of pulses: 300,000

of pulses: 300,000

Target frequency 20,000 Hz

Starting frequency 500 Hz

Output starts when

PLS2 is executed.

 

Deceleration rate

Acceleration rate

 

300 Hz/2 ms

 

 

500 Hz/2 ms

 

Stopping

 

 

frequency 500 Hz

 

Output stops and

After 5 s, CCW output starts

Deceleration point

when PLS2 is executed.

A624.00 is turned ON.

 

Deceleration rate 300 Hz/2 ms

Time

Target frequency reached.

5 s

0003.00

DIFU

0002.00

CIO 0002.00 is turned ON when CIO 0003.00 turns ON.

0002.00 0002.02

0002.01

@PLS2

#1

#0

D00000

0002.

01

When CIO 0002.00 goes ON, pulses are output from port 1 in the CW direction with the following settings: Acceleration rate: 500 Hz/2ms Deceleration rate: 500 Hz/2ms Target frequency: 20,000 Hz (20 kHz) Starting frequency: 500 Hz Number of output pulses: 300,000

A624.00

TIM

0000

#0050

T0000

@PLS2

#1

#1

D00000

0002.

02

The 5 s timer starts if A624.00 is ON (pulse output completed).

After the pulse output is completed in the CW direction and 5 seconds have passed, the same pulse output pattern is performed in the CCW direction.

T

D00000

9

3

E

0

Number of output pulses

T+1

D00001

0

0

0

4

 

T+2

D00002

4

E

2

0

Target frequency

T+3

D00003

0

0

0

0

 

T+4

D00004

0

1

F

4

Starting frequency

T+5

D00005

0

0

0

0

 

T+6

D00006

0

1

F

4

Acceleration rate

T+7

D00007

0

1

2

C

Deceleration rate

Note When PLS2(887) cannot perform trapezoidal positioning with the trapezoidal acceleration/deceleration settings, it will perform triangular positioning with the same acceleration/deceleration settings. In this case, the PLS2(887) Tar-

193

Page 216
Image 216
Omron FQM1-CM001, FQM1-MMA21, FQM1-MMP21 operation manual Using PLS2887 for Trapezoidal Acceleration/Deceleration, @PLS2