![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324224.webp)
204
9-5
Using the Workpiece Origin Offset
Positioning for the same pattern can be performed any number of times by
repeatedly changing the workpiece origin offset and calling the subprogram.
Using the coordinate system is useful particularly for the absolute operation.
Workpiece coordinates
Workpiece coordinates
Workpiece coordinates
Reference coordinates
From the reference origin
100
200
Sample Program
N000
P006
XY
N001
G53
X100
Y100
N002
G72
P800
N003
G53
X200
N004
G72
P800
N005
G53
Y200
N006
G72
P800
N007
G79
Sample Subprogram
N000
P800
XY
N001
G27
XY
M10
N002
G01
X10
Y10
F10
N003
G01
X20
N004
G01
Y20
N005
G01
X10
N006
G01
Y10
N007
G27
XY
M20
N008
G26
XY
M30
N009
G73
Explanation
Block N000 declares the program number and axes being used.
P006: N001
Sets the workpiece origin offset to (X100, Y100).
Using the Workpiece Origin Offset
Section 9-5
Содержание 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: ......