Download machining center/transfer machine type

Transcript
12. Tool Offset Functions
12.4
Programmed offset input
(4) When using one workpiece coordinate system as multiple workpiece coordinate
systems
#1 = −50. #2 = 10. ;
M98
P200 L5 ;
M02 ;
%
N1
G90 G54 G10 L2 P1 X#1 Y#1 ;
N2
G00 X0 Y0 ;
N3
X−5. F100 ;
N4
X0 Y−5. ;
N5
Y0 ;
N6
#1 = #1 + #2 ;
N7
M99 ;
%
Main program
Subprogram
O200
-X
-60.
-50.
-40.
-30.
-10.
-20.
G54””
Basic machine coordinate
system zero point
W
-10.
5th time
W
G54”’
M
-20.
4th time
W
G54”
-30.
3rd time
G54’
G54
W
W
-40.
2nd time
-50.
-Y
1st time
Precautions
(1) Even if this command is displayed on the screen, the offset No. and variable details will not be
updated until actually executed.
N1 G90 G10 L10 P10R−100 ;
N2 G43 Z−10000 H10 ;
N3 G0 X–10000 Y−10000 ;
N4 G90 G10 L10 P10 R−200 ; .. The H10 offset amount is updated when the N4 block is
executed.
148