Adv 400 Programming Software Manual
Table of Contents i
Table of Contents
ADV 400 - MILLING G/M/T CODE LIBRARY......................................................................................................1
G-Code Function .......................................................................................................................................................1
M-Code Function ......................................................................................................................................................2
T-Code Function .......................................................................................................................................................2
M-Codes....................................................................................................................................................................2
M00 Program Stop ...............................................................................................................................................2
M01 Optional Stop................................................................................................................................................2
M03 Spindle Clockwise.........................................................................................................................................2
M04 Spindle Counter-Clockwise ..........................................................................................................................2
M05 Spindle Stop..................................................................................................................................................2
M08 Coolant On ...................................................................................................................................................3
M09 Coolant Off...................................................................................................................................................3
M19 Spindle Homing and Orientation..................................................................................................................3
M30 End of Program (and Rewind)......................................................................................................................3
M50 Spindle to C-Axis Commutation ...................................................................................................................3
M51 C-Axis to Spindle Commutation ...................................................................................................................4
M98 Subroutine Call.............................................................................................................................................4
T-Codes.....................................................................................................................................................................4
G-Codes.....................................................................................................................................................................4
G00 Rapid Traverse Positioning ..........................................................................................................................4
G01 Linear Interpolation......................................................................................................................................5
G02 Circular Interpolation CW............................................................................................................................5
G03 Circular Interpolation CCW .........................................................................................................................6
G04 Dwell.............................................................................................................................................................7
G09 Exact Stop .....................................................................................................................................................7
G17/G18/G19 (XY/ZX/YZ) Plane Selection ..........................................................................................................8
G25 Spindle Detect Off.........................................................................................................................................8
G26 Spindle Detect On .........................................................................................................................................8
G28 Return to Reference Point.............................................................................................................................8
G29 Return from Reference Point.........................................................................................................................8
G40/G41/G42 Nose Radius Compensation...........................................................................................................9
Compensation Requirements...................................................................................................................................10
Plane...................................................................................................................................................................10
Radius .................................................................................................................................................................10
Direction.............................................................................................................................................................10
How PMAC Introduces Compensation...................................................................................................................10
Speed of Compensated Moves.............................................................................................................................10
Treatment of Inside Corners ...............................................................................................................................10
Treatment of Outside Corners ............................................................................................................................10
G52 Local Coordinate System Set ......................................................................................................................11
G53 Remove Work Coordinate System...............................................................................................................11
G54-59 Work Coordinate System 1-6 Selection .................................................................................................11
G61 Exact Stop Mode .........................................................................................................................................12
G64 Cutting Mode ..............................................................................................................................................12
G68/G69 Coordinate System Rotation................................................................................................................13
G80 Canned Cycle Cancel..................................................................................................................................13
G81 Drilling Cycle .............................................................................................................................................13
G84 Tapping Cycle .............................................................................................................................................14
G90/G91 Absolute/Incremental Mode ................................................................................................................15
G92 Coordinate System Setting ..........................................................................................................................15
G92.1 Coordinate System Setting Cancel...........................................................................................................15
G94/G95 Feed Per Min/Feed Per Rev................................................................................................................15
ADV 400 - TURNING G/M/T CODE LIBRARY...................................................................................................17