TOMATECH AUTOMATION
Return from subprogram M99..................................................................................... 23
Macro program call M9000~M9999........................................................................... 24
M commands defined by standard PLC ladder diagram............................................. 24
Program stop M00 ......................................................................................................25
Program optional stop M01 ........................................................................................ 25
Spindle CW, CCW and stop control M03, M04, M05.................................................. 26
Cooling control M08, M09............................................................................................26
Tailstock control M10, M11………………………………………………………...26
Chuck control M12, M13............................................................................................. 26
Spindle position/speed control switch M14, M15........................................................ 26
Spindle clamped/released M20, M21 ......................................................................... 27
The 2nd spindle position/speed switch M24, M25...................................................... 27
Lubricating control M32, M33...................................................................................... 27
Spindle automatic gear change M41, M42, M43, M44................................................ 27
Spindle 8-point orientation M50~M58 ....................................................................... 27
The 2nd spindle rotation CCW, rotation CW , stop M63, M64, M65............................ 27
2.2 Spindle function…………………………………………………………………………..28
2.2.1 Spindle speed switching value control ............................................................... 28
2.2.2 Spindle speed analog voltage control ................................................................ 28
2.2.3 Constant surface speed control G96, constant rotational speed control G97...... 29
2.2.4 Spindle override.................................................................................................. 31
2.2.5 Multiple spindle control function......................................................................... 32
2.2.6 Cs contour control function................................................................................. 33
2.3 Tool Function ........................................................................................................ 33
2.3.1 Tool control ........................................................................................................ 33
2.3.2 Tool life management ........................................................................................ 37
CHAPTER 3 G
COMMANDS................................................................................................................46
3.1 Commands ........................................................................................................... 46
3.1.1 Modal, non-modal and initial mode.................................................................... 47
3.1.2 Omitting words................................................................................................... 48
3.1.3 Related definitions ............................................................................................. 49
3.2 Rapid Traverse Movement G00 ........................................................................... 49
3.3 Linear Interpolation G01........................................................................................ 50
3.4 Circular Interpolation G02, G03............................................................................. 51
3.5 Three-point Circular Interpolation G05...................................................................54
3.6 Ellipse Interpolation G6.2, G6.3 ............................................................................56
3.7 Parabola Interpolation G7.2, G7.3........................................................................ 59
3.8 Plane Selection G17~G19.................................................................................... 61
3.9 Polar Coordinate Interpolation G12.1,G13.1........................................................ 62
3.10 Cylindrical Interpolation G7.1............................................................................. 65
3.11 Chamfering Function.......................................................................................... 68
3.11.1 Linear chamfering............................................................................................ 68
3.11.2 Circular chamfering......................................................................................... 70