Acceleration Control: Acc(888) - Omron CJ1M-CPU21 Operation Manual

Cj-series built-in i/o cpu units
Hide thumbs Also See for CJ1M-CPU21:
Table of Contents

Advertisement

ACCELERATION CONTROL: ACC(888)

Flags
Example
000000
Pulse frequency
Target frequency
50 kHz
Start frequency
200 Hz
PLS2(887) executed.
5-8
ACCELERATION CONTROL: ACC(888)
Purpose
Ladder Symbol
Name
Label
Error Flag
ER
When CIO 000000 turns ON in the following programming example,
PLS2(887) starts pulse output from pulse output 0 with an absolute pulse
specification of 100,000 pulses. Pulse output is accelerated at a rate of
500 Hz every 4 ms starting at 200 Hz until the target speed of 50 kHz is
reached. From the deceleration point, the pulse output is decelerated at a rate
of 250 Hz every 4 ms starting until the starting speed of at 200 Hz is reached,
at which point pulse output is stopped.
@PLS2
#0000
Pulse output 0
Method: CW/CCW
#0000
Direction: CW
D00100
Mode: Relative pulse
D00110
100,000 pulses
ACC(888) outputs pulses to the specified output port at the specified fre-
quency using the specified acceleration and deceleration rate. (Acceleration
rate is the same as the deceleration rate.) Either independent mode position-
ing or constant mode speed control is possible. For positioning, ACC(888) is
used in combination with PULS(886). ACC(888) can also be executed during
pulse output to change the target frequency or acceleration/deceleration rate,
enabling smooth (sloped) speed changes.
This instruction is supported by the CJ1M-CPU21/CPU22/CPU23 CPU Units
only.
ACC(888)
P
P: Port specifier
M
M: Output mode
S: First word of settings table
S
Operation
ON if the specified range for P, M, S, or F is exceeded.
ON if PLS2(887) is executed for a port that is already out-
putting pulses for SPED(885) or ORG(889).
ON if PLS2(887) is executed in an interrupt task when an
instruction controlling pulse output is being executed in a
cyclic task.
ON if PLS2(887) is executed for an absolute pulse output
but the origin has not been established.
D00100
Acceleration rate: 500 Hz/4 ms
01F4
Deceleration rate: 250 Hz/4 ms
D00101
00FA
D00102
C350
Target frequency: 50 kHz
D00103
0000
D00104
86A0
Pulse output amount: 100,000 pulses
D00105
0001
D00110
00C8
Start frequency: 200 Hz
D00111
0000
Time
Section 5-8
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1m-cpu23Cj1m-cpu22

Table of Contents