Changing The Interpolation Acceleration Time - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

Changing the Interpolation Acceleration Time

9-6
Changing the Interpolation Acceleration Time
Sample Program
Explanation
P006: N002
Calls subprogram P800.
P800: N001
Returns to the workpiece origin. The workpiece coordinate system is selected at
this time. M code M10 is output and the Unit waits for the M code reset.
P800: N002 through N006
The subprogram's series of absolute positioning operations is performed by lin-
ear interpolation in Pass mode.
P800: N007
Returns to the workpiece origin. M code M20 is output and the Unit waits for the
M code reset.
P800: N008
When the reset is received, block N008 returns to the reference origin. M code
M30 is output and the Unit waits for the M code reset.
P800: N009
When the reset is received, block N009 returns to main program P006.
P006: N003
Changes the workpiece origin offset to X200.
P006: N004
Calls subprogram P800 and repeats the same series of operations.
This program changes the setting of the interpolation acceleration time parame-
ter and performs linear interpolation.
N000
P007
XY
N001
G69
#3/X500
N002
G01
X1000 Y500
N003
G01
X2000 Y–1000
N004
M20
N005
G69
#3/X100
N006
G01
X3000 Y1000
N007
G01
X4000 Y1500
N008
G79
Block N000 declares the program number and axes being used.
N001
Changes the setting of the X-axis' interpolation acceleration time parameter to
500 ms, which becomes the X-axis acceleration time used for interpolation in
this task.
N002
Moves to (X1000, Y500) by linear interpolation with an acceleration time of 500
ms and speed of 300.
N003
Moves to (X2000, Y–1000) in Pass mode with an acceleration time of 500 ms.
N004
Once the pass operation is completed, N004 outputs M code M20 and waits for
the M code reset.
N005
Changes the setting of the interpolation acceleration time to 100 ms.
N006
Moves to (X3000, Y1000) by linear interpolation with an acceleration time of 100
ms.
N007
Moves to (X4000, Y1500) in Pass mode with an acceleration time of 100 ms.
F300
Section 9-6
205

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents