Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK980TDi Turning CNC System User Manual
28
Ⅰ
Programming
Table 2-2 M commands
Command Function
Remark
M00 Program
pause
M01
Program optional stop
M03
Spindle clockwise (CW)
M04 Spindle
counterclockwise
(CCW)
*M05 Spindle
stop
Functions interlocked
and states reserved
M08 Cooling
ON
*M09 Cooling
OFF
Functions interlocked
and states reserved
M10 Tailstock
forward
M11 Tailstock
backward
Functions interlocked
and states reserved
M12 Chuck
clamping
M13 Chuck
releasing
Functions interlocked
and states reserved
M14
Spindle position control
*M15
Spindle speed control
Functions interlocked
and states reserved
M20 Spindle
clamping
*M21 Spindle
releasing
Functions interlocked
and states reserved
M24 The
2
nd
spindle position control
*M25 The
2
nd
spindle speed control
Functions interlocked
and states reserved
M32 Lubricating
ON
*M33 Lubricating
OFF
Functions interlocked
and states reserved
*M50
Spindle orientation cancel
M51
Spindle orientate to No. 1 point
M52
Spindle orientate to No. 2 point
M53
Spindle orientate to No. 3 point
M54
Spindle orientate to No. 4 point
M55
Spindle orientate to No. 5 point
M56
Spindle orientate to No. 6 point
M57
Spindle orientate to No. 7 point
M58
Spindle orientate to No. 8 point
Functions interlocked
and states reserved
M63
The 2nd spindle rotation CCW
M64
The 2nd spindle rotation CW
*M65
The 2nd spindle stop
Functions interlocked
and states reserved
*M41, M42,
M43, M44
Spindle automatic gear shifting
Functions interlocked
and states reserved
Note: Commands with “*” defined by standard PLC is valid when power on.
2.1.7 Program Stop M00
Command format: M00 or M0
Command function: After M00 is executed, the program stops and the system displays “
Pause
”,
and then the program continuously runs after the cycle start key is pressed.