Вы находитесь на странице: 1из 24

ALL CNC G & M CODES

FANUC G code of lathe FANUC G code of miller FANUC M operation code SIEMENS G code of miller SIEMENS802S/CM canned cycle SIEMENS802DM/810/840DM canned cycle SIEMENS G code of lathe SIEMENS 801 802S/CT 802SeT canned cycle SIEMENS 802D 810D/840D canned cycle HNC G code of lathe HNC G code of miller HNC M command KND100 G code of miller KND100 G code of lathe KND100 M command GSK980 G code of lathe GSK980T M command GSK928 TC/TE G code GSK928 TC/TE M command GSK990M G code GSK990M G code GSK928MA G code GSK928MA M command Mitsubishi E60 G code of miller DASEN 3I G code of miller DASEN 3I G code of lathe WA G code of lathe WA M command WA G code of miller WA M command RENHE 32T G code RENHE 32T M command SKY 2003N G code SKY 2003N M command

Page 1

ALL CNC G & M CODES


FANUC G code of lathe G code Explanation G00 Positioning G01 Linear interpolation G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell G09 Exact stop G20 Input in inch G21 Input in mm G22 Stored stroke check function on G23 Stored stroke check function off G27 Check reference point return G28 Automatic return to reference position G29 Automatic return from reference position G30 2nd reference position return G32 Thread cutting G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right G50 Scaling cancel G52 Local coordinate system setting G53 Machine coordinate system selection G70 Finish maching cycle G71 Inside and outside diameter rough cutting cycle G72 Step rough cutting cycle G73 Pattern repeating G74 Peck dring cycle-Z axis G75 Grooving in X axis G76 Thread cutting cycle G80 Canned cycle cancel G83 Peck drilling cycle G84 Tapping cycle G85 Boring cycle G87 Back drilling cycle G88 Back tapping cycle G89 Back boring cycle G90 Cutting cycle A' G92 Thread cutting cycle G94 (step)cutting cycle G96 Constant surface speed control G97 Constant surface speed control cancel G98 Feed per minute G99 Feed per rotation Support macro programming

Page 2

ALL CNC G & M CODES

FANUC G code of mille G code Explanation G00 Positioning(rapid moveing) G01 Linear interpolation G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell G15/G16 Polar coordinates command G17 XpYp plane selection G18 ZpXp plane selection G19 YpZp plane selection G28 Return to reference position G30 2nd, 3rd and 4th reference position return *G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right *G43 Tool length compensation + direction *G44 Tool length compensation direction G49 Tool length compensation cancel *G53 Machine coordinate system selection G54 Workpiece coordinate system 1 selection 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 G73 Rapid deep drilling cycle G74 Left-spiral cutting circle G76 Fine boring cycle *G80 Canned cycle cancel G81 Drilling cycle, spot boring G82 Counter boring cycle G83 Deep hole drilling cycle G84 Right Helical cutting cycle G85 Boring cycle G86 Boring cycle G87 Counter boring cycle G88 Boring cycle G89 Boring cycle *G90 Absolute command G91 Increment command G92 Setting for work coordinate system *G98 Return to initial point in canned cycle *G99 Return to R point in canned cycle G50 Zoom G51 G68 Coordinate rotation G69

Page 3

ALL CNC G & M CODES


Support macro programming

FANUC M operation code M code M00 Program stop M01 Optional stop M02 End of program M03 Spindle on CW M04 Spindle on CCW M05 Spindle stop M06 Tool change M08 Coolant on M09 Coolant off M30 Program end and reset M48 Cancel M49 M49 Bypass Override M94 Mirror image cancel M95 Mirrorimage of X axis M96 Mirrorimage of Y axis M98 Subprogram call M99 Subprogram end

Explanation

SIEMENS G code of miller Address Explanation D Tool offset number FeedrateDwell time block with G4) F G G function (preparatory function) G0 Linear interpolation at rapid trav G1 rse rate Linear interpolation G2 G3 CIP G33 G331 G332 CT G4 G63 G74 G75 G25 G26 G110 G110 G120 G17* Circular interpolation CW Circular interpolation CCW Circular interpolation via intermediate point Thread cutting with constant pitch Thread interpolation Thread interpolation retraction Transitional circular interpolation with tangent Rapid moving Rapid moving Reference point approach Fixed-point approach Lower spindle speed limitation Upper spindle speed limitation Pole specification, relative to the last programmed set position Pole specification, relative to the origin of the current workpiece coordinate system Pole specification, relative to the POLElast valid X/Y plane

Page 4

ALL CNC G & M CODES


G18 G19 G40 G41 G42 G500 G54 G55 G56 G57 G58 G59 G53 G60* G70 G71* G700 G710 G90* G91 G94* G95 G901 G900 G450 G451 I J K I1 J1 K1 L M M0 M1 M2 M3 M4 M5 M6 N : P RET S T X Y Z CALL CHF CHR CR GOTOB GOTOF RND Z/X plane Y/Z plane Tool radius compensation OFF Tool radius compensation left of the contour Tool radius compensation right of the contour Settable work offset OFF 1st settable work offset 2st settable work offset 3st settable work offset 4st settable work offset 5st settable work offset 6st settable work offset Non-modal skipping of the settable work offset Exact stop Inch dimension input Metric dimension data input Inch dimension data input; also for feedrate F Metric dimension data input; also for feedrate F Absolute dimension data input Incremental dimension data input Feed F in mm/min Feedrate F in mm/spindle revolutions Feed offset on in arc Feed offset off Transition circle Intersection Interpolation parameters Interpolation parameters Interpolation parameters Intermediate point for circular interpolation Intermediate point for circular interpolation Intermediate point for circular interpolation Subroutine; name and call Miscellaneous function Programmed stop Optional stop End of program CW rotation of spindle CCW rotation of spindle Spindle stop Tool change Block number of an auxiliary block Block number of a main block Number of subroutine passes End of subroutine Spindle speed, Dwell time in block with G4 Tool number Axis Axis Axis Indirect cycle call Chamfer; general use Chamfer; in the contour definition Radius for circular interpolation GoBack instruction GoForward instruction Rounding

Page 5

ALL CNC G & M CODES


Support parameter programming SIEMENS802S/CM canned cycle Cycle Explanation LCYC82 Drilling, counterbore machining LCYC83 Deep-hole drilling LCYC840 Thread cutting with compensate clamp LCYC84 Thread cutting without compensate clamp LCYC85 Boring LCYC60 Linearity holes permutation LCYC61 Arc holes permutation Rectangular channelkeywayrotundity groove milling LCYC75 SIEMENS802DM/810/840DM canned cycle Cycle Explanation CYCLE82 Drilling, counterboring CYCLE83 Deep-hole drilling CYCLE84 Rigid tapping CYCLE85 Reaming1 (boring-out 1) CYCLE86 CYCLE88 CYCLE71 LONGHOLE POCKET4 POCKET3 SLOT1 SLOT2 Boring Drilling with Stop Endface milling Long hole Circular pocket Square pocket Milling a slot Milling a circumferential slot

SIEMENS G code of lathe Address Explanation D Tool offset number F F Feedrate(Dwell time block with G4) G G function (preparatory function) G0 Rapid traverse G1 Linear interpolation G2 Circular interpolation CW G3 Circular interpolation CCW G33 Thread cutting with constant pitch G4 Rapid moving G63 Rapid moving G74 Reference point approach G75 Fixed-point approach G17 (when center-drilling, TRANSMIT milling required) G18* Z/X plane G40 Tool radius compensation OFF G41 Tool radius compensation left of the contour G42 Tool radius compensation right of the contour G500 Settable work offset OFF G54 1st settable work offset G55 2st settable work offset G56 3st settable work offset G57 4st settable work offset G58 5st settable work offset G59 6st settable work offset

Page 6

ALL CNC G & M CODES


G53 G70 G71* G90* G91 G94* G95 I I1 K1 L M M0 M1 M2 M30 M17 M3 M4 M5 M6 N : P of a main block Non-modal skipping of the settable work offset Inch dimension input Metric dimension data input Absolute dimension data input Incremental dimension data input Feed F in mm/min Feedrate F in mm/spindle revolutions Interpolation parameters Intermediate Intermediate Subroutine; name and call Miscellaneous function Programmed stop Optional stop End of program CW rotation of spindle CCW rotation of spindle Spindle stop Tool change Block number of an auxiliary block Block numbe Number of subroutine passes

RET End of subroutine S Spindle speed, Dwell time in block with G4 T Tool number X Axis Y Axis Z Axis AR Aperture angle for circular interpolation CALL Indirect cycle call CHF Chamfer; general use CHR Chamfer; in the contour definition CR Radius for circular interpolation GOTOB GoBack instruction GOTOF GoForward instruction RND Rounding Support parameter programming SIEMENS 801802S/CT 802SeT canned cycle Cycle Explanation LCYC82 Drilling, counterboring LCYC83 Deep-hole drilling LCYC840 Tapping with compensating chuck LCYC84 Tapping with LCYC85 ut compensating chuck Boring LCYC93 LCYC95 LCYC97 Groove Cutting with relief cut Thread cutting

Page 7

ALL CNC G & M CODES


SIEMENS 802D810D/840D canned cycle Cycle Explanation 1 CYCLE Face milling CYCLE82 Drilling, counterboring YCLE83 Deep-hole drilling CYCLE84 Rigid tapping CYCLE85 Reaming CYCLE86 Boring CYCLE88 Boring with stop CYCLE93 Groove CYCLE94 Undercut DIN76 (forms E and F), finishing CYCLE95 Cutting with relief cut CYCLE97 Thread cutting HNC G code of lathe G code Explanation G00 Positioning G01 Linear interpolation G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell G09 Exact stop G20 Input in inch G21 Input in mm G22 Stored stroke check function on G23 Stored stroke check function off G27 Reference position return check G28 Return to reference position G29 Return from reference position G30 2nd reference position return G32 Thread cutting G36 Diameter programming G37 Radius programming G40 Cutter compensation cancel G41 Cutter compensation left G42 Cutter compensation right G53 Machine coordinate system selection G54G59 Coordinate system selection G71 Inside and outside diameter rough cutting cycle G72 Step rough cutting cycle G73 Pattern repeating G76 Thread cutting cycle G80 Inside and outside diameter cutting cycle G81 Face cutting canned cycle G82 Thread cutting canned cycle G90 Absolute command G91 Increment command G92 Setting for work coordinate system G96 Constant surface speed control G97 Constant surface speed control cancel G94 Feeding rate per minute G95 Feeding rate per round Support parameter and macro programming HNC G code of miller

Page 8

ALL CNC G & M CODES


G code *G00 G01 G02 G03 G04 G07 G09 *G17 G18 G19 G20 *G21 G22 G24 *G25 G28 G29 *G40 G41 G42 G43 G44 *G49 *G50 G51 G52 G53 *G54 G55 G56 G57 G58 G59 G60 *G61 G64 G68 *G69 G73 G74 G76 *G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 *G90 G91 G92 *G94 G95 Group 01 00 16 00 02 08 03 00 07 08 04 00 Explanation Positioning(rapid moveing) Linear interpolation Circular interpolation/Helical interpolation CW Circular interpolation/Helical interpolation CCW Dwell Imaginary axis appointing Stop checkout XpYp plane assignment XpZp plane assignment YpZp plane assignment Input in inch Input in mm Pulse equivalent Mirrorimage open Mirrorimage close Return to reference position Return from reference position Cutter compensation cancel Cutter compensation left Cutter compensation right Tool length compensation + direction Tool length compensation direction Tool length compensation cancel Zoom off Zoom on Local coordinate system setting Machine coordinate system selection Workpiece coordinate system 1 selection Workpiece coordinate system 2 selection Workpiece coordinate system 3 selection Workpiece coordinate system 4 selection Workpiece coordinate system 5 selection Workpiece coordinate system 6 selection Uni-directional positioning Exact stop Continuous mode Rotation Rotation cancel Peck drilling cycle Left-spiral cutting circle Fine boring cycle Canned cycle cancel Drilling cycle, spot boring cycle Counter boring cycle Deep-hole drilling cycle Right spin cutting cycle Boring cycle Boring cycle Counter-boring cycle Boring cycle Boring cycle Absolute command Increment command Setting for work coordinate system Feeding per minute Feeding per round

14

00 12 05

09

03 00 14

Page 9

ALL CNC G & M CODES


*G98 Return to initial point in canned cycle 10 G99 Return to R point in canned cycle Support parameter and macro programming HNC M commands M code M00 Program stop M01 Optional stop M02 End of program M03 Spindle on CW M04 Spindle on CCW M05 Spindle stop M06 Tool change M07 Coolant on M09 Coolant off M98 Subprogram call M99 Subprogram end Explanation

KND100 G code of miller G code Group Explanation G00 Positioning (rapid moving) G01 Linear interpolation 01 G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 00 Dwell G17 XpYp plane selection G18 02 ZpXp plane selection G19 YpZp plane selection G28 Return to reference position 00 G29 Return from reference position *G40 Cutter compensation cancel G41 07 Cutter compensation left G42 Cutter compensation right *G43 Tool length compensation + direction *G44 08 Tool length compensation direction G49 Tool length compensation cancel *G53 Machine coordinate system selection G54 Workpiece coordinate system 1 selection G55 Workpiece coordinate system 2 selection G56 14 Workpiece coordinate system 3 selection G57 Workpiece coordinate system 4 selection G58 Workpiece coordinate system 5 selection G59 Workpiece coordinate system 6 selection G73 Peck drilling cycle G74 Left-spiral cutting circle G76 Fine boring cycle *G80 Canned cycle cancel G81 Drilling cycle, spot boring cycle G82 Drilling cycle G83 09 Peck drilling cycle G84 Tapping cycle G85 Boring cycle G86 Drilling cycle G87 Counter boring cycle G88 Boring cycle G89 Boring cycle *G90 03 Absolute command

Page 10

ALL CNC G & M CODES


G91 G92 *G98 *G99 00 10 Increment command Setting for work coordinate system Return to initial point in canned cycle Return to R point in canned cycle KND100 G code of lathe G code Group Explanation G00 Positioning G01 Linear interpolation 01 G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell 00 G10 Deviant setting G20 Input in inch 06 G21 Input in mm G27 Reference position return check G28 Return to reference position 00 G29 Return from reference position G31 Jumping feature G32 01 Thread cutting G36 Automatic work offset measurement of X axis G37 Automatic work offset measurement of Z axis G40 Cutter compensation cancel G41 07 Cutter compensation left G42 Cutter compensation right G50 Coordinate system setting G54 00 Workpiece coordinate system G55---G59 Workpiece coordinate system G70 Finish maching cycle G71 Inside and outside diameter rough cutting cycle G72 Step rough cutting cycle G73 00 Pattern repeating G74 Peck dring cycle-Z axis G75 Inside and outside circle cutting cycle G76 Thread cutting cycle G90 Inside and outside diameter cutting cycle G92 01 Thread cutting cycle G94 Step cutting cycle G96 Constant surface speed control 12 G97 Constant surface speed control cancel G98 Feed per minute 05 G99 Feed per rotation KND100 M command M code Explanation M00 Program stop M01 Optional stop M02 End of program M03 Spindle on clockwise(CW) M04 Spindle on counterclockwise(CCW) M05 Spindle stop M06 Tool change M08 Coolant on M09 Coolant off M10 clamp M11 unclamp M32 Lubrication on

Page 11

ALL CNC G & M CODES


M33 M98 M99 Lubrication off Subprogram call Subprogram end Function Positioning(rapid moveing) Linear interpolation Circular interpolation/Helical interpolation CW Circular interpolation/Helical interpolation CCW Dwell, Exact stop Return to reference position Thread cutting Coordinate system setting Macroprogram command Finish machining cycle Excircle rough turn cycle Endface rough turn cycle Occlude cutting cycle Endface deep hole processing cycle Excircle, inner circle nicking cycle Excircle, inner circle turning cycle Thread cutting cycle Endface cutting cycle Constant line speed on Constant line speed off Feeding per minute Feeding per round GSK980 G code of lathe G code Group G00 *G01 01 G02 G03 G04 00 G28 G32 01 G50 00 G65 00 G70 G71 G72 00 G73 G74 G75 G90 G92 01 G94 G96 02 G97 *G98 03 G99 Support parameter and macro programming

GSK980T M command M code Explanation M03 Spingdle on CW M04 Spingdle on CCW M05 Spingdle stop M08 Coolant on M09 Coolant off(no output signal) M32 Lubrication on M33 Lubrication off(no output signal) M10 Standby M11 Standby tip(no output signal) M00 Program stop M30 program end and reset GSK928 TC/TE G code G code G00 *G01 G02 G03 G32 G33 G71 G72 G74 G75 G90 Function Positioning(rapid moveing) Linear interpolation Circular interpolation/Helical interpolation CW Circular interpolation/Helical interpolation CCW Tapping cycle Thread cutting Excircle rough turn cycle Endface rough turn cycle Endface deep hole processing cycle Excircle, inner circle nicking cycle Excircle, inner circle turning cycle

Page 12

ALL CNC G & M CODES


G92 G94 G22 G80 *G98 G99 G50 G26 G27 G29nt Thread cutting cycle External and internal cone face cycle Local loop start Local loop end Feeding per minute Feeding per round Set absolute coordinate system of workpiece XZ axis return to reference point X axis return to reference po Z axis return to reference point Support parameter and macro programming GSK928 TC/TEM command M code Explanation M03 Spindle on CW M04 Spindle on CCW M05 Spindle stop M08 Coolant on M09 Coolant off(no output signal) M32 Lubrication on M33 Lubrication off(no output signal) M10 Standby M11 Standby tip(no output signal) M00 Program stop M30 Program end and reset GSK990M G code G code Group G00 G01 01 G02 G03 G04 00 G17 G18 02 G19 G28 00 G29 *G40 G41 07 G42 *G43 *G44 08 G49 *G53 G54 G55 G56 14 G57 G58 G59 G73 09 G74 G76 *G80 Explanation Positioning(rapid moveing) Linear interpolation Circular interpolation/Helical interpolation CW Circular interpolation/Helical interpolation CCW Dwell XY plane assignment XZ plane assignment YZ plane assignment Return to orgin Return from reference point Cutter compensation cancel Cutter compensation left Cutter compensation right Tool length compensation + direction Tool length compensation direction Tool length compensation cancel Machine coordinate system selection Workpiece coordinate system 1 selection Workpiece coordinate system 2 selection Workpiece coordinate system 3 selection Workpiece coordinate system 4 selection Workpiece coordinate system 5 selection Workpiece coordinate system 6 selection Peck drilling cycle Left-spiral cutting circle Fine boring cycle Canned cycle cancel

Page 13

ALL CNC G & M CODES


G81 G82 G83 G84 G85 G86 G87 G88 G89 *G90 G91 G92 *G98 *G99 Drilling cycle, spot boring cycle Drilling cycle Peck drilling cycle Tapping cycle Boring cycle drilling cycle Counter bring cycle Boring cycle Boring cycle Absolute command Increment command Setting for work coordinate system Return to initial point in canned cycle Return to R point in canned cycle xplanation M code M00 M01 M02 M03 M04 M05 M06 M08 M09 M10 M11 M32 M33 M98 M99 Program stop Optional stop End of program Spindle on CW Spindle on CCW Spindle stop Tool change Coolant on Coolant off Clamp Unclamp Lubrication on Lubrication off Subprogram call Subprogram end

03 00 10

GSK990MM command

GSK928MAG code G code Explanation G00 Positioning(rapid moveing) G1 Linear interpolation G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical G04nterpolatio n CCW Time delay G17 G18 G19 G28 G29 *G40 G41 G42 *G43 *G44 G49 *G53 XY plane assignment XZ plane assignment YZ plane assignment Return to orgin Return from reference point Cutter compensation cancel Cutter compensation left Cutter compensation right Tool length compensation + direction Tool length compensation direction Tool length compensation cancel Machine coordinate system selection

Page 14

ALL CNC G & M CODES


G54 G55 G56 G57 G58 G59 G73 G74 G80 G81 G82 G83 G84 G85 G86 G89 *G90 G91 G92 *G98 *G99 G10 G11 G12 G13 G14 G15 G22 G23 G27 G28 G31 G34 G35 G38 G39 Workpiece coordinate system 1 selection Workpiece coordinate system 2 selection Workpiece coordinate system 3 selection Workpiece coordinate system 4 selection Workpiece coordinate system 5 selection Workpiece coordinate system 6 selection Peck drilling cycle Left-spiral cutting circle Canned cycle cancel Peck drilling cycle Drilling cycle Peck drilling cycle Right-spiral tapping circle Broing cycle Dring cycle Broing cycle Absolute command Increment command Setting for work coordinate system Return to initial point in canned cycle Return to R point in canned cycle Groove inner-rough mill for groove of circle Full circle inner-finish mill Excircle finish mill System parameter operationmode Parameter values jumping judgement Mechanical zero detection Rapid fixing to program via mesial point Rapid returning to R reference face Rectangle groove inner- finish milling Rectangle outside- finish milling

GSK928MAM command M Explanation code Program stop. spindle stop , coolant off and point to next segment after finish other commands. Stop doing M0 more procession and wait to press RUN to continue the program running. Stop doing more procession and wait to press RUN to continue the program running. End of program. spindle stop, coolant off, cancel G93 coordinate offset and cutter offset, then return to start M2 program M3 M4 M5 M8 M9 Spindle on CW Spindle on CCW Spindle stop Cooling pump on Cooling pump off

M12 Dwell : continue running till press run M30 Program end M32 Lubrication on

Page 15

ALL CNC G & M CODES


M33 Lubrication off M98 Subprogram call M99 Subprogram end Mitsubishi E60 miller G code G code Group Explanation G00 Positioning(rapid moveing) *G01 Line G02r interpolatio 01 Circular interpolation/Helical interpolation CW n G03 G04 G05 G09 G10 G11 G12 G13 *G17 G18 G19 G20 G21 G27 G28 G29 G30 G31 G33 G37 G38 G39 *G40 G41 G42 G43 G44 *G49 G52 G53 *G54 G code G55 G56 G57 G58 G59 G60 G61 G62 G63 Circular interpolation/Helical interpolation CCW Dwell, Exact stop High-speed processing mode Exact stop check Program parameter input /repair input Program parameter input cancel Circle cutting CW Circle cutting CCW Plane selection XY Plane selection ZX Plane selection YZ Inch instruction Metric instruction Reference origin check Reference origin revert Initial point revert 2nd4nd reference origin revert Jumping motivation Thread cutting Tool length automatic mensuration Positive value of cutter radius compensation appointing Tool diameter offset and corner arc offset Cutter radius compensation cancel Cutter radius positive compensation left Cutter radius positive compensation right Positive quantity of cutter length compensation Positive quantity of cutter length compensation Positive quantity of cutter length compensation cancel Local coordinate system setting Machine coordinate system selection Workpiece coordinate system 1 selection Explanation Workpiece coordinate system 2 selection Workpiece coordinate system 3 selection Workpiece coordinate system 4 selection Workpiece coordinate system 5 selection Workpiece coordinate system 6 selection Position fixing in single direction Exact stop check mode Auto adjusting for corner feed Taping mode

00

02 06

00 01 00 07 08 00 12 Group 12

00 13

Page 16

ALL CNC G & M CODES


*G64 Cutting mode Canned cyclestepping cycle G73 09 Canned cyclereverse taping G74 Canned cyclefinish boring G76 *G80 Canned cycle cancel Canned cycledrill/lead hole G81 Canned cycledrill / counting boring G82 Canned cyclegun drilling G83 Canned cycletaping G84 Canned cycleboring G85 Canned cycleboring G86 Canned cyclecounter boring G87 Canned cycleboring G88 Canned cycleboring G89 *G90 03 Absolute value instruction *G91 Incremental value instruction G92 00 Machine coordinate system setting G93 05 Feed CCW Un-synchronization cutting feed per minute *G94 synchronization cuttingfeed per round *G95 *G96 17 Round speed control on *G97 Round speed control off *G98 10 Canned cycle initial point revert G99 Canned cycle R point revert Support parameter and macro programming DASEN 3I miller G code G code Group Explanation G00 Positioning(rapid moveing) *G01 Linear interpolation 01 G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell G05 High-speed processing mode G09 Exact stop check G10 00 Program parameter input /repair input G11 Program parameter input cancel G12 Circle cutting CW G13 Circle cutting CCW Plane selection XY *G17 G18 Plane selection ZX 02 Plane selection YZ G19 G20 Inch instruction 06 G21 Metric instruction G27 Reference origin check G28 Reference origin revert G29 Initial point revert 00 2nd4nd reference origin revert G30 G31 Jumping motivation G33 01 Thread cutting G37 Tool length automatic mensuration G38 00 Cutter radius compensation appointting G39 Cutter radius offset and corner arc offset *G40 Cutter radius offset cancel G41 07 Cutter radius offset left G42 Cutter radius offset right G43 08 Cutter length offset

Page 17

ALL CNC G & M CODES


Cutter length offset G44 *G49 Cutter length offset cancel G52 Local coordinate system setting 00 G53 Machine coordinate system selection *G54 12 Workpiece coordinate system 1 selection G55 12 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 00 Position fixing in single direction G61 13 Exact stop check mode G62 Auto adjusting for corner feed G63 Taping mode *G64 Cutting mode Canned cyclestepping cycle G73 09 Canned cyclereverse taping G74 Canned cyclefinish boring G76 *G80 Canned cycle cancel Canned cycledrill/lead hole G81 Canned cycledrill / counting boring G82 Canned cyclegun drilling G83 Canned cycletaping G84 Canned cycleboring G85 Canned cycleboring G86 Canned cyclecounter boring G87 Canned cycleboring G88 Canned cycleboring G89 *G90 03 Absolute value instruction *G91 Incremental value instruction G92 00 Machine coordinate system setting G93 05 Feed CCW Un-synchronization cuttingfeed per minute *G94 Synchronization cuttingfeed per round *G95 *G96 17 Round speed control on *G97 Round speed control off *G98 10 Canned cycle initial point revert G99 Canned cycle R point revert Support parameter and macro programming DASEN 3I lathe G code G code Group Explanation G00 Positioning(rapid moveing) G01 Linear interpolation G02 01 Circular interpolation/Helical interpolation CW G03 G04 G09 G10 G11 G17 G18 G19 G20 G21 Circular interpolation (CCW) Dwell Exact stop check Program parameter input /repair input Program parameter input /repair input cancel XY Plane selection ZX Plane selection YZ Plane selection Inch instruction Metric instruction

00

02 06

Page 18

ALL CNC G & M CODES


G27 G28 G29 G30 G31 revert G33 G34 G37 G40 G41 G42 G46 G52 G53 G54 G55 G56 G57iece coordinat e system selection 3 G58 G59 G61 G62 G63 G64 G70 G71 G72 G73 G74 G75 G76 G77 doublecycle G78 G79 G80 G83 G84 G85 G G88 G89 G90 G91 G92 00 Reference point revert check Automatic reference point revert Revert from reference point 2nd3nd4nd reference poin umping motivation 01 00 07 00 Thread cutting Changeable thread cutting Tool length automatic mensuration Cutter radius compensation cancel Cutter radius compensation left Cutter radius compensation right Cutter radius compensationautomatic direction selectionON Local coordinate system selection Machine coordinate system selection Workpiece coordinate system selection 1 Workpiece coordinate system selection 2 Work

12

Workpiece coordinate system selection 4

13

Workpiece coordinate system selection 5 Workpiece coordinate system selection 6 Exact stop check mode Auto adjusting for corner feed Taping mode Cutting mode Finish cutting cycle Straight turning rough machining cycle Face rough cutting cycle Spindle mesa moving in rough machining cycle Face cutting cycle Straight turning cycle Thread cuttin Appurtenant cutting cycle

09 Tooth turning canned cycle Face cutting canned cycle Hole machining cycle instruction cancel Gun drilling cycleZ axis Taping cycleZ axis Boring cycleZ axis Deep hole drilling cycleX axis Taping cycleX axis Boring cycleX axis Absolute value instruction Incremental value instruction Machine coordinate system setting

03 00

Page 19

ALL CNC G & M CODES


G94 Un-synchronization cutting feed per minute 05 G95 Synchronization cuttingfeed per round G96 Round speed control on 17 G97 Round speed control off G98 Canned cycle initial point revert 10 G99 Canned cycle R point revert Support parameter and macro programming WA lathe G code G code Explanation G00 Rapid positioning G01 Linear interpolation G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Time delay G09 Feed exact stop G20 Independency subprogram call G22 Independency subprogram defining G24 Independency subprogram defining end, return called program G25 Jumping machining G26 Block calls subprogram in machining program G27 Endless loop G30 Multiplying power off G31 Multiplying power defining G47 Short space rate automatic transition G48 Cancel G54G59 Workpiece coordinate system selection G71 Inside and outside diameter cutting compound cycle G72 G73ace cutting compound Close shape compound cycle cycle G74 Return to reference point G75 Return to presetting point G76 Return to start point G77 Recover current coordinate system G81 Excircle machining cycle G82 Face machining cycle G85 Inch rigid tapping cycle G86 Metric thread machining cycle G87 Inch screw thread machining cycle G90 Absolute value programming G91 Incremental value programming G92 Set zero point of program G96 Constant surface speed control G97 Constant surface speed control cancel G98 Feed per round cancel G99 Feed per round setting P= parameter variable assignment WA lathe M instruction M command M01 Conditional stop M02 Program end and stop M03 Spindle on CW Explanation

Page 20

ALL CNC G & M CODES


M04 M05 M06 M07 M08 M09 M10 M11 M20 M21 M71M85 Spindle on CCW Spindle stop Coolant on Coolant off Clamp Unclamp appointed relay on appointed relay off Tool compensation number setting Program end and return to start of program Relay pulse output

WA miller G code G code Explanation G01 Linear interpolation G02 Circular interpolation/Helical in G03erpolation CW Circular interpolation/Helical interpolation CCW G04 G09 G11 G12 G13 G17 G18 G19 G20 G22 G24 G25 G26 G27 G30 G3 G40 G41 G42 G43 G44 G47 G48ate automatic transition G54G59 G73 G74 G75 G76 G78 G81 G82drilling multiplying power defining Cutter radius compensation cancel Cutter radius compensation (left) Cutter radius compensation (right) Cutter length compensation founding Cutter length compensation cancel Short space cancel Workpiece coordinate system selection Rapid deep hole machining cycle Return to reference point Return to presetting point Return to start point Finish boring cycle Centre Centre drilling cycle with pause Time delay Feed exact stop Block mirror image along Y axis Block mirror image along X axis Block mirror machining according to origin Plane selection XY Plane selection ZX Plane selection YZ Subprogram call Subprogram defining Subprogram defining end, return called program Jumping machining Transfer machining Endless loop multiplying power off

Page 21

ALL CNC G & M CODES


cycle with pause G83 G84 G85 G86 G87 G88 G89 Deep hole processing cycle Metric rigid tapping cycle Inch rigid tapping cycle Boring cycleselfrecovery Counter boring cycle Boring cyclemanual return Boring cycle with pause G90 Absolute value programming G91 Incremental value programming G92 Workpiece coordinate system setting P= parameter variable assignment WA miller M instruction M command Explanation M00 Program halt M01 L(K) M02 Program end and stop M03 Spindle on CW M04 Spindle on CCW M05 Spindle stop M08 Coolant on M09 Coolant off M10 Clamp M11 Unclamp M20 Krelay M21 Kclose relay M30 Program end and return to start of program M71M85 Relay pulse output RENHE 32TG code G code G00 Rapid positioning G01 Linear interpolation G02G03 Arc interpolation G04 Time delay G26G27G28G29 Return to initial point G22G80 program loop G23 Rectangle cycle G37G38G39G36 Return to rigid r G82G83 ference point Thread cutting cycle Explanation

G46G47G48G49 Return soft reference point G96,G97 Constant liner speed cutting RENHE 32T M command n M command M00 program halt Explanati

Page 22

ALL CNC G & M CODES


M02 M30 M20 M03 M04 M05 M06 M26 M21 M97 M98 M99 SKY 2003N M G codes G code G00 G01 G02 G03 G02+Z G03+Z G04ft G17 G18ne selection G19 G40 G41 G42 G43 G44 G49 G50 G51 G54 G55 G56lection G57system 3 selection Workpiece coordinate system 4 selection G58 G59 G68 G69 G73 G74 G76 G80 G81 G82 G83 G84 Workpiece coordinate system 5 selection Workpiece coordinate system 6 selection Coordinate rotating Coordinate rotating cancel Stepping cycle counter tapping cyclemachining center Finish boring cycle(machining center) Canned cycle cancel Drillingspot-facing cycle Drillingreverse boring cycle Depth drill cycle Taping cycle Program end Spindle stop and program end Autocycle Spindle on CW Spindle on CCW Spindle stop Waiting for answer after send message Send message Waiting for answer after send message Program jumping subroutine call instruction subroutine return instruction Group 01 1 Type Function Rapid positioning Linear interpolation Circular interpolation CW Circular interpolation CCW Helical interpolation right Helical interpolation l Dwell XY Pl ZX Plane selection YZ Plane selection Cutter radius compensation cancel Cutter radius compensation (left) Cutter radius compensation (right) Cutter length compensation Cutter length compensation Cutter length compensation cancel Zoommirrorimage off Zoommirrorimage on Workpiece coordinate system 1 selection Workpiece coordinate system 2 s Workpiece coordinate

02 04

2 1 1

07 08 11 11 14

03 03 15

Page 23

ALL CNC G & M CODES


G85/G86 G87 G88/G89ring cycle G90 G91 G92 G98 G99 00 05 16 Boring cycle Counter b Boring cycle Absolute value programming Incremental value programming Coordinate system setting Return to initial plane Return to R point plane Function Program stop, program optional stop, program end Spindle on CW, spindle on CCW, spindle stop Automatic tool changing Coolant on, coolant off Subprogram call, subprogram return

SKY 2003N M M command Group M code A M00,M01,M02 B M03,M04,M05 C M06 D M08,M09 E M98,M99

Page 24

Вам также может понравиться