Contents
CONTENTS ........................................................................................................................................................... - 0 -
1. OVERVIEW ............................................................................................................................................. - 0 -
1.1 SPECIFICATION ............................................................................................................................................. - 0 -
1.1.1 Basic functions ............................................................................................................................. - 0 -
1.1.2 Auxiliary functions ...................................................................................................................... - 1 -
1.1.3 Spindle functions ......................................................................................................................... - 1 -
1.1.4 Tool functions .............................................................................................................................. - 2 -
1.2 G CODES LIST............................................................................................................................................... - 2 -
1.3 PROGRAM STRUCTURE .................................................................................................................................. - 4 -
1.3.1 Program composition .................................................................................................................. - 4 -
1.3.2 Main program and subroutine .................................................................................................... - 7 -
1.3.3 Modal and non-modal function ................................................................................................... - 8 -
1.4 MOTION DIRECTION NAMING OF CONTROL AXES ............................................................................................... - 9 -
2. SYSTEM PROGRAMMING ..................................................................................................................... - 12 -
2.1 PREPARATION FUNCTIONS (G FUNCTION) ........................................................................................................ - 12 -
2.1.1. G90 G91 absolute and relative programming ........................................................................... - 12 -
2.1.2. Rapid positioning (G00) ............................................................................................................. - 13 -
2.1.3. Linear interpolation (G01) ......................................................................................................... - 14 -
2.1.4. Arc interpolation (G02, G03)...................................................................................................... - 15 -
2.1.5. Pause instruction (G04) ............................................................................................................. - 19 -
2.1.6. Plane selection (G17-G19) ......................................................................................................... - 19 -
2.1.7. Machine tool coordinate system (G53) ...................................................................................... - 20 -
2.1.8. Programmable workpiece coordinate system (G92) .................................................................. - 21 -
2.2 GFUNCTION RELATED TO REFERENCE POINT...................................................................................................... - 22 -
2.2.1. Auto return to reference point (G28) ......................................................................................... - 22 -
2.2.2. Auto return from reference point (G29) ..................................................................................... - 24 -
2.2.3. Reference point return checking (G27) ...................................................................................... - 25 -
2.2.4. Local coordinate system (G52)................................................................................................... - 26 -
2.3 TOOL COMPENSATION G FUNCTION ................................................................................................................ - 28 -
2.3.1. Tool length compensation (G43, G44,G49) ................................................................................ - 28 -
2.3.2. Tool radius compensation (G40, G41, G42) ............................................................................... - 31 -