โปรแกรม แบบเบาๆ
ไม่ง่ายและไม่ยากใช้สมองคนล้วนๆและเครื่องคิดเลขและพิมพ์เองลงเครื่องcnc
START
&HE:%
:2000(QSB-35-STEP 1)
G00G17G49G80G40
G91G28Z0
G91G28Y0
G10G90L2P1X-275.183Y-193.576Z-608.
(-----)
T5M6
T2
N1
M01(FACE 100.0MM)
G54G90G00X-260.Y132.
G43Z100.H5M3S900
Z20.M08
G01Z4.F700
X260.
G00Y50.
G01X-260.
G00Y-35.
G01X260.
G00Y-130.
G01X-260.
G00Y132.
G01Z2.
X260.
G00Y50.
G01X-260.
G00Y-35.
G01X260.
G00Y-130.
G01X-260.
G00Y132.
G01Z0.5
X260.
G00Y50.
G01X-260.
G00Y-35.
G01X260.
G00Y-130.
G01X-260.
G00Y132.
G01Z0.2
X260.
G00Z50.
Y-132.X-260.
G00Z5.
G01Z0.2
G01X260.
G00Z50.
G00Y-39.X-260.
G00Z-1.
G01X260.
G00Y39.
G01X-260.
G00G90Z100.M09
G91G28Z0M5
G91G28Y0
(----)
T2M6
T17
N2
M01(INSERT=32)
G54G90G00X-221.Y-74.
G43Z100.H02M3S1700
Z5.M08
G01Z-1.F700
X221.
G00Y74.
G01X-221.
G00Z50.
X9.Y-188.
Z-1.
G01Y-74.
X-9.
Y-188.
G00X91.
G01Y-74.
X109.
Y-188.
G00X-91.
G01Y-74.
X-109.
Y-188.
G00Z50.
Y188.X-109.
Z-1.
G01Y74.
X-91.
Y188.
G00X9.Y188.
G01Y74.
X-9.
Y188.
G00X91.
G01Y74.
X109.
Y188.
G00Z50.
X222.Y0
G01Z-3.F2000
M98P2009
Z-6.
M98P2009
Z-9.
M98P2009
Z-12.
M98P2009
Z-15.
M98P2009
Z-18.
M98P2009
Z-21.
M98P2009
Z-24.
M98P2009
Z-27.
M98P2009
Z-30.
M98P2009
G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(------)
T17M6
T3
N3
M01(ENDMILL=20)
G54G90G00X220.Y0
G43Z100.H27M3S1100
Z5.M08
G01Z-28.F2000
G41G01X190.D28
Y-152.5F300
Y-157.45X185.
X-185.
X-190.Y-152.5
Y152.5
Y157.45X-185.
X185.
X190.Y152.5
Y0
G40X220.Y0
G00Z50.
X0Y-40.
Z5.
G01Z-4.F2000
M98P2011
Z-7.
M98P2011
Z-10.
M98P2011
Z-13.
M98P2011
Z-16.
M98P2011
Z-19.
M98P2011
Z-21.5
M98P2011
Z-24.
M98P2011
Z-27.
M98P2011
Z-30.
M98P2011
G01Z-29.9F300
Y-55.
X60.
Y55.
X-60.
Y-55.
X0
Y-40.
G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(-------)
T3M6
T9
N4
M01(CENTERDRILL)
G54G90G00X0Y0
G43Z100.H03M3S1700
M08
G81G99Z-4.R5.F200
M98P2012
M98P2013
G80G90G00Z100.M9
G91G28Z0M5
G91G28Y0
(------)
T9M6
T13
N5
M01(DRILL=5)
G54G90G00X0Y110.
G43Z100.H09M03S1500
M08
G83G99Z-30.R5.F130.Q5.
Y-110.
G80G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(--------)
T13M6
T10
N6
M01(DRILL 7.0MM)
G54G90G00X95.Y32.5
G43Z100.H13M3S1400
M08
G83G99Z-53.R4.Q5.F140.
M98P2006
G80G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(------)
T10M6
T12
N7
M01(DRILL=11)
G54G90G00X95.Y32.5
G43Z100.H29M3S950
M08
G83G99Z-29.5R4.F120.Q5.
M98P2006
X150.Y110.Z-10.5
M98P2008
G80G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(--------)
T12M6
T4
N8
M01(ENDMILL=11)
G54G90G00X95.Y32.5
G43Z100.H12M3S900
M08
G82G99Z-29.5R4.F90P500
M98P2006
G80G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(-------)
T4M6
T15
N9
M01(DRILL=9)
G54G90G00X150.Y110.
G43Z100.H4M3S860
M08
G83G99Z-32.R5.F130Q5.
M98P2008
M98P2005
G80G90G00Z100.M9
G91G28Z0M5
G91G28Y0
(-------)
T15M6
T6
N10
M01(ENDMILL=14)
G54G90G00X150.Y110.
G43Z100.H15M3S1200
M08
G82G99Z-10.R5.F80P500
M98P2008
G80G90G00Z100.M9
G91G28Z0M5
G91G28Y0
(------)
T6M6
T14
N11
M01(DRILL 9.8)
G54G90X-142.5Y0
G43Z100.H6M3S900
M08
G83G98Z-21.R5.F100Q5.
G80G90G00Z100.M09
G91G28Z0M5
G91G28Y0
(-------)
T14M6
T16
N12
M01(REAMER=10)
G54G90G00X-142.5Y0
G43Z100.H14M3S300
M08
G85G98Z-16.R5.F96
G80G90G00Z100.M9
G91G28Z0M5
G91G28Y0
(--------)
T16M6
N13
M01(CHAMFER)
G54G90G0X-142.5Y0
G43Z100.H16M3S2200
M08
G82G99Z-4.2R5.F300P500
X95.Y32.5Z-4.6
M98P2006
X150.Y110.Z-5.2
M98P2008
X150.Y140.Z-2.4
X50.
X-50.
X-150.
Y-140.
X-50.
X50.
X150.
G80G90G00Z30.
X0Y-50.
G01Z-9.5F2000
Y-55.F500
X60.
Y55.
X-60.
Y-55.
X0
G00Z20.
X215.Y0
Z-5.5
G41G01X190.D08F1000
Y-152.5
Y-157.5X185.
X-185.
X-190.Y-152.5
Y152.5
Y157.5X-185.
X185.
X190.Y152.5
Y0
G40G01Y0X215.
G00Z50.
X220.Y88.
Z-6.
G01X197.F1000
Y-88.
X220.
G00Y-177.
X123.
G01Y-164.5
X77.
Y-177.
X23.G00
G01Y-164.5
X-23.
Y-177.
G00X-77.
G01Y-164.5
X-123.
Y-177.
G00X-220.
Y-88.
G01X-197.
Y88.
X-220.
G00Y177.
X-123.
G01Y164.5
X-77.
Y177.
G00X-23.
G01Y164.5
X23.
Y177.
G00X77.
G01Y164.5
X123.
Y177.
G40G90G00Z100.M9
G91G28Z0M5
G91G28Y0
(-------)
T0M6
G90X0
M30
%
แสดงบทความที่มีป้ายกำกับ G code แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ G code แสดงบทความทั้งหมด
วันพุธที่ 17 เมษายน พ.ศ. 2556
วันศุกร์ที่ 7 กันยายน พ.ศ. 2555
G code
G code list
G code Function
G00 Positioning
G01 Linear interpolation
G02 Circular interpolation/Helical interpolation CW
G03 Circular interpolation/Helical interpolation CCW
G04 Dwell, Exact stop
G05 High speed cycle machining
G06.2 NURBS interpolation
G07 Hypothetical axis interpolation
G08 Advanced prevew control
G09 Exact stop
G10 Programmable data input
G11 Programmable data input mode cancel
G12.1 Polar coordinate interpolation mode
G13.1 Polar coordinate interpolation cancel mode
G15 Polar coordinates command cancel
G16 Polar coordinates command
G17 XpYp plane selection Xp: X axis or its parallel axis
G18 ZpXp plane selection Yp: Y axis or its parallel axis
G19 YpZp plane selection Zp: Z axis or its parallel axis
G20 Input in inch
G21 Input in mm
G22 Stored stroke check function on
G23 Stored stroke check function off
G25 Spindle speed fluctuation detection off
G26 Spindle speed fluctuation detection on
G27 Reference position return check
G28 Automatic return to reference position
G29 Automatic return from reference position
G30 2nd, 3rd and 4th reference position return
G31 Skip function
G33 Thread cutting
G37 Automatic tool length measurment
G39 Corner offset circular interpolation
G40 Cutter compensation cancel/three dimensional tool compensation cancel
G41 Cutter compensation left/three dimensional tool compensation
G42 Cutter compensation right
G43 Tool length compensation direction
G44 Tool length compensation direction
G45 Tool offset increase
G46 Tool offset decrease
G47 Tool offset double increase
G48 Tool offset double decrease
G49 Tool length compensation cancel
G50 Scaling cancel
G51 Scaling
G52 Local coordinate system setting
G53 Machine coordinate system selection
G54 Workpiece coordinate system 1 selection
G54.1 Additional workpiece coordinate system selection
G54.2 Rotary table dynamic fixture offset
G55 Workpiece coordinate system 2 selection
G56 Workpiece coordinate system 3 selection
G57 Workpiece coordinate system 4 selection
G58 Workpiece coordinate system 5 selection
G59 Workpiece coordinate system 6 selection
G60 Single direction positioning
G61 Exact stop mode
G62 Automatic corner override
G63 Tapping mode
G64 Cutting mode
G65 Macro call
G66 Macro modal call
G67 Macro modal call cancel
G68 Coordinate rotation/threeญdimensional coordinate conversion
G69 Coordinate rotation cancel/threeญdimensional coordinate conversion cancel
G73 Peck drilling cycle
G74 Counter tapping cycle
G75 Plunge grinding cycle (for grinding machine)
G76 Fine boring cycle
G77 Direct constantญdimension plunge grinding cycle(for grinding machine)
G78 Continuousญfeed surface grinding cycle(for grinding machine)
G79 Intermittentญfeed surface grinding cycle(for grinding machine)
G80 Canned cycle cancel/external operation function cancel
G81 Drilling cycle, spot boring cycle or external operation function
G82 Drilling cycle or counter boring cycle
G83 Peck drilling cycle
G84 Tapping cycle
G85 Boring cycle
G86 Boring cycle
G87 Back boring cycle
G88 Boring cycle
G89 Boring cycle
G90 Absolute command
G91 Increment command
G92 Setting for work coordinate system or clamp at maximum spindle speed
G94 Feed per minute
G95 Feed per rotation
G96 Constant surface speed control
G97 Constant surface speed control cancel
G98 Return to initial point in canned cycle
G99 Return to R point in canned cycle
G code Function
G00 Positioning
G01 Linear interpolation
G02 Circular interpolation/Helical interpolation CW
G03 Circular interpolation/Helical interpolation CCW
G04 Dwell, Exact stop
G05 High speed cycle machining
G06.2 NURBS interpolation
G07 Hypothetical axis interpolation
G08 Advanced prevew control
G09 Exact stop
G10 Programmable data input
G11 Programmable data input mode cancel
G12.1 Polar coordinate interpolation mode
G13.1 Polar coordinate interpolation cancel mode
G15 Polar coordinates command cancel
G16 Polar coordinates command
G17 XpYp plane selection Xp: X axis or its parallel axis
G18 ZpXp plane selection Yp: Y axis or its parallel axis
G19 YpZp plane selection Zp: Z axis or its parallel axis
G20 Input in inch
G21 Input in mm
G22 Stored stroke check function on
G23 Stored stroke check function off
G25 Spindle speed fluctuation detection off
G26 Spindle speed fluctuation detection on
G27 Reference position return check
G28 Automatic return to reference position
G29 Automatic return from reference position
G30 2nd, 3rd and 4th reference position return
G31 Skip function
G33 Thread cutting
G37 Automatic tool length measurment
G39 Corner offset circular interpolation
G40 Cutter compensation cancel/three dimensional tool compensation cancel
G41 Cutter compensation left/three dimensional tool compensation
G42 Cutter compensation right
G43 Tool length compensation direction
G44 Tool length compensation direction
G45 Tool offset increase
G46 Tool offset decrease
G47 Tool offset double increase
G48 Tool offset double decrease
G49 Tool length compensation cancel
G50 Scaling cancel
G51 Scaling
G52 Local coordinate system setting
G53 Machine coordinate system selection
G54 Workpiece coordinate system 1 selection
G54.1 Additional workpiece coordinate system selection
G54.2 Rotary table dynamic fixture offset
G55 Workpiece coordinate system 2 selection
G56 Workpiece coordinate system 3 selection
G57 Workpiece coordinate system 4 selection
G58 Workpiece coordinate system 5 selection
G59 Workpiece coordinate system 6 selection
G60 Single direction positioning
G61 Exact stop mode
G62 Automatic corner override
G63 Tapping mode
G64 Cutting mode
G65 Macro call
G66 Macro modal call
G67 Macro modal call cancel
G68 Coordinate rotation/threeญdimensional coordinate conversion
G69 Coordinate rotation cancel/threeญdimensional coordinate conversion cancel
G73 Peck drilling cycle
G74 Counter tapping cycle
G75 Plunge grinding cycle (for grinding machine)
G76 Fine boring cycle
G77 Direct constantญdimension plunge grinding cycle(for grinding machine)
G78 Continuousญfeed surface grinding cycle(for grinding machine)
G79 Intermittentญfeed surface grinding cycle(for grinding machine)
G80 Canned cycle cancel/external operation function cancel
G81 Drilling cycle, spot boring cycle or external operation function
G82 Drilling cycle or counter boring cycle
G83 Peck drilling cycle
G84 Tapping cycle
G85 Boring cycle
G86 Boring cycle
G87 Back boring cycle
G88 Boring cycle
G89 Boring cycle
G90 Absolute command
G91 Increment command
G92 Setting for work coordinate system or clamp at maximum spindle speed
G94 Feed per minute
G95 Feed per rotation
G96 Constant surface speed control
G97 Constant surface speed control cancel
G98 Return to initial point in canned cycle
G99 Return to R point in canned cycle
สมัครสมาชิก:
บทความ (Atom)