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
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......