CIRCLE MILLING USING VARIABLES
49.5 هزار بار بازدید -
9 سال پیش
-
Learn how to use variables
Learn how to use variables to circlemill a bore without having to write new g-code when changing tool diameter or bore diameter.
O0001 (CIRCLE MILLING USING VARIABLES)
#100=2. (#100 IS DIA OF CIRCLE)
#101=.5 (#101 IS DIA OF TOOL)
(TOOL # AND H# SHOULD BE THE SAME)
(CHANGE RPM AS NEEDED)
(CHANGE FEED RATE AS NEEDED)
N100
G0G90G17G40G80G49G20
G91G28Z0.
T1M6 (T# SHOULD MATCH H# BELOW)
S1000M3 (RPM MAY NEED CHANGING)
G90G0G54X0.Y0.
G43H1Z2.M8 (THE H# SHOULD MATCH TOOL # ABOVE)
G0Z.1
G1Z-.1F20.
G1X0.Y [#100/2-#101] F10. (CHANGE FEED HERE)
G3X0.Y[#100/2-#101/2]I0.J[#101/4]
G3X0.Y-[#100/2-#101/2]I0.J-[#100/2-#101/2]
G3X0.Y[#100/2-#101/2]I0.J[#100/2-#101/2]
G3X0.Y[#100/2-#101]I0.J-[#101/4]
G1X0.Y0.
G0Z2.
G91G28Z0.M5
G28Y0.M9
G90
M30
%
O0001 (CIRCLE MILLING USING VARIABLES)
#100=2. (#100 IS DIA OF CIRCLE)
#101=.5 (#101 IS DIA OF TOOL)
(TOOL # AND H# SHOULD BE THE SAME)
(CHANGE RPM AS NEEDED)
(CHANGE FEED RATE AS NEEDED)
N100
G0G90G17G40G80G49G20
G91G28Z0.
T1M6 (T# SHOULD MATCH H# BELOW)
S1000M3 (RPM MAY NEED CHANGING)
G90G0G54X0.Y0.
G43H1Z2.M8 (THE H# SHOULD MATCH TOOL # ABOVE)
G0Z.1
G1Z-.1F20.
G1X0.Y [#100/2-#101] F10. (CHANGE FEED HERE)
G3X0.Y[#100/2-#101/2]I0.J[#101/4]
G3X0.Y-[#100/2-#101/2]I0.J-[#100/2-#101/2]
G3X0.Y[#100/2-#101/2]I0.J[#100/2-#101/2]
G3X0.Y[#100/2-#101]I0.J-[#101/4]
G1X0.Y0.
G0Z2.
G91G28Z0.M5
G28Y0.M9
G90
M30
%
9 سال پیش
در تاریخ 1394/04/25 منتشر شده
است.
49,554
بـار بازدید شده