Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 784

Table of Contents

Advertisement

3. Instructions
Switching from Continuous Mode Speed Control to Independent Mode Positioning
Example application
Change from speed control to fixed
distance positioning during operation
Fixed distance feed interrupt
Sample program
When CIO 0.00 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.
0.00
Pulse frequency
Target frequency
50 kHz
Start frequency
200 Hz
PLS2(887) executed.
746
Frequency changes
Outputs the number of
pulses specified in
PLS2(887) (Both relative
and absolute pulse
specification can be used.)
Pulse frequency
Target
frequency
Execution of
ACC(888)
(continuous
Execution of
mode)
PLS2(887)
Pulse
frequency
Present
frequency
Execution of
ACC(888)
(continuous
Execution of PLS2(887)
mode)
with the following settings
Number of pulses =
number of pulses until stop
Relative pulse specification
Target frequency = present
frequency
Acceleration rate = 0001 to
07D0 hex
Deceleration rate = target
deceleration rate
@PLS2
Pulse output: 0
#0000
Pulse output
#0000
method: CW/CCW
D100
Direction: CW
D110
Pulse type: Relative
100,000 pulses
Description
PLS2(887) can be executed during a
speed control operation started with
ACC(888) to change to positioning
operation.
Time
Time
01F4
Acceleration rate: 500 Hz/4 ms
D100
00FA
D101
Deceleration rate: 250 Hz/4 ms
C350
D102
Target frequency: 50 kHz
0000
D103
86A0
D104
Pulse output amount: 100,000 pulses
0001
D105
00C8
D110
Start frequency: 200 Hz
0000
D111
Time
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Procedure/
instruction
ACC(888)
(Continuous)
PLS2(887)

Advertisement

Table of Contents
loading

Table of Contents