There are some
industry specific G-codes and M-codes that are used in the Machine tool
Industry for Metal Removing sector.
Here is the list
below which gives you an insite of which G-code and which M-code is used for
what for which is common for all the controllers (Siemens/Heidenhain/Fanuc).
|
G
– Codes (Geometrical Functions for Numeric Control)
|
|||
|
G00
|
Rapid Positioning
|
G57
|
Workpiece co-ordinate system 4 select
|
|
G01
|
Linear Interpolation
|
G58
|
Workpiece co-ordinate system 5 select
|
|
G03
|
Circular Interpolation
|
G59
|
Workpiece co-ordinate system 6 select
|
|
G04
|
Dwell
|
G60
|
Single direction positioning
|
|
G07
|
Virtual axis selection
|
G61
|
Exact stop mode
|
|
G09
|
Exact Stop
|
G64
|
Cutting mode
|
|
G17
|
XY Plane selection
|
G68
|
Coordinate rotation
|
|
G18
|
ZX Plane selection
|
G69
|
Coordinate rotation cancel
|
|
G19
|
YZ Plane selection
|
G73
|
Peck drilling cycle
|
|
G20
|
Input in Inch
|
G74
|
Counter tapping cycle
|
|
G21
|
Input in mm
|
G76
|
Fine boring cycle
|
|
G22
|
Input in pulse
|
G80
|
Canned cycle cancel
|
|
G24
|
Programmable mirror image
|
G81
|
Drilling cycle
|
|
G25
|
Programmable mirror image cancel
|
G82
|
Drilling cycle
|
|
G28
|
Return to reference point
|
G83
|
Peck drilling cycle
|
|
G29
|
Return from reference point
|
G84
|
Tapping cycle
|
|
G40
|
Cutter compensation
|
G85
|
Boring cycle
|
|
G41
|
Cutter compensation left
|
G86
|
Boring cycle
|
|
G42
|
Cutter compensation right
|
G87
|
Back boring cycle
|
|
G43
|
Tool length compensation +direction
|
G88
|
Boring cycle
|
|
G45
|
Tool length compensation –direction
|
G89
|
Boring cycle
|
|
G49
|
Tool length compensation cancel
|
G90
|
Absolute command
|
|
G50
|
Scaling cancel
|
G91
|
Increment command
|
|
G51
|
Scaling
|
G92
|
Setting for work coordinate system
|
|
G53
|
Machine co-ordinate system selection
|
G94
|
Feed per minute
|
|
G54
|
Workpiece co-ordinate system 1 select
|
G95
|
Feed per rotation
|
|
G55
|
Workpiece co-ordinate system 2 select
|
G98
|
Return to initial point in canned cycle
|
|
G56
|
Workpiece co-ordinate system 3 select
|
G99
|
Return to R point in canned cycle
|
|
M
– Codes (Machine Operation Auxiliary functions for PLC)
|
|||
|
M00
|
Program Optional Stop
|
M05
|
Spindle Stop
|
|
M01
|
Optional Stop
|
M19
|
Spindle Orientation
|
|
M02
|
Program End, Spindle Stop, Coolant off
|
M30
|
Program End, Spindle Stop, Coolant off
|
|
M03
|
Spindle CW
|
M98
|
Calling of sub-program
|
|
M04
|
Spindle CCW
|
M99
|
End of Sub-program
|
Hope this basic knowledge could help you out.... Will come back soon for more details on this topic...
Regards,
Sweta.
No comments:
Post a Comment