![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324225.webp)
205
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.
9-6
Changing the Interpolation Acceleration Time
This program changes the setting of the interpolation acceleration time parame-
ter and performs linear interpolation.
Sample Program
N000
P007
XY
N001
G69
#3/X500
N002
G01
X1000 Y500
F300
N003
G01
X2000 Y–1000
N004
M20
N005
G69
#3/X100
N006
G01
X3000 Y1000
N007
G01
X4000 Y1500
N008
G79
Explanation
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.
Changing the Interpolation Acceleration Time
Section 9-6
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......