Operating and Programming — Milling Page 82 808D
Additional
Information
Part 2
s
Basic Theory
This describes and analyzes the additive offset, coordinate rotation,
scaling functions mentioned above.
Machining target dimension drawing and the final effect are as follows:
Drawing 1—original workpiece
machining
Drawing 2—coordinate rotates
100º
Drawing 3—①Drawing 2 along
X axis mirror image
②Coordinate rotates 20º
Drawing 4—①Drawing 3 along
Y axis moves 60 in
negative direction
②enlarge 1.3 times in X
and Y direction
N10 SUPA G00 Z300 D0
N15 SUPA G00 X0 Y0
N20 G17 T1 D1
N25 MSG ("change to 1 tool")
N30 M5 M9 M00
N35 S5000 M3 G94 F300
N40 G00 X-28 Y 30
N45 G00 Z2
N50 LAB1:
N65 POCKET3( 50, 0, 2, -5, 30, 15, 3, -28,
30, 0, 5, 0, 0, 300, 100, 0, 11, 5, , , 5, 3, )
N70 LAB2:
N75 M01
N80 ROT RPL=-100
N85 REPEAT LAB1 LAB2 P1
N90 M01
N95 AMIRROR X=1
N100 AROT RPL=-20
N105 M01
N110 REPEAT LAB1 LAB2 P1
N115 AROT RPL=10
N120 ATRANS Y-60
N125 AROT RPL=-10
N130 ASCALE X1.3 Y1.3
N135 REPEAT LAB1 LAB2 P1
N140 M30
N10 SUPA→cancel all settable offsets
N15
N20 coordinate plane G17,use tool 1
N25
N30
N35
N40
N45
N50 LAB1:milling start sign
N65 milling rectangular groove(depth 5 mm,
length 30 mm, width 15 mm, corner radius 3
mm, groove datum coordinate (X-28,Y30),
groove longitudinal axis and plane X axis
clamping angle 0º)
N70 LAB2:milling groove end sign
N75
N80 coordinate axis rotates 100º in positive
direction
N85 machining the same groove at the new
position
N90
N95 along the new X axis to change the
mirror image
N100 coordinate axis rotates -20º in positive
direction
N105
N110 machining the same groove at the new
position
N115 coordinate axis rotates –10º in
negative direction
N120 Y axis coordinate moves 60 in negative
direction
N125
N130 groove enlarged 1.3 times in the X,Y
direction.
N135 machining the same groove at the new
position
N140 end
In this example, the positive
direction of the XY
coordinate axis is different
when machining each
groove!
Program
example