The auxiliary function word is used to specify the rotation direction of the spindle, start, stop, coolant switch, workpiece or tool clamping and release, and tool change. The auxiliary function word consists of the address character M followed by two digits. The following table is specified in the JB3208-83 standard:
Table auxiliary function word M code function range function code function range function
M00 * Program stops M36 * Feed range 1
M01 * Planned to end M37 * Feed range 2
M02 * Program end M38 * Spindle speed range 1
M03 spindle rotates clockwise M39 * Spindle speed range 2
M04 spindle rotates counterclockwise M40-M45 * Gear shift
M05 spindle stop M46-M47 *Do not specify
M06 *Change tool M48 *Logout M49
M07 No. 2 coolant on M49 * Feed rate correction bypass
M08 No. 1 coolant opens M50 * No. 3 coolant opens
M09 coolant off M51 * No. 4 coolant on
M10 clamping M52-M54 *Not specified
M11 release M55 * tool linear displacement, position 1
M12 *Do not specify M56 * Tool linear displacement, position 2
M13 spindle clockwise, coolant on M57-M59 *Not specified
M14 spindle counterclockwise, coolant open M60 replacement work
M15 * Positive motion M61 workpiece linear displacement, position 1
M16 * Negative motion M62 * Workpiece linear displacement, position 2
M17-M18 *Do not specify M63-M70 *Do not specify
M19 spindle orientation stop M71 * workpiece angular displacement, position 1
M20-M29 * Never specify M72 * Workpiece angular displacement, position 2
M30 * tape end M73-M89 * not specified
M31 * Interlock bypass M90-M99 * Never specify
M32-M35 *Do not specify
Note: * indicates that for special purposes, the auxiliary function word must be specified in the program format to specify the direction of rotation of the spindle, start, stop, coolant switch, workpiece or tool clamping and loosening, tool change, etc. Features. The auxiliary function word consists of the address character M followed by two digits. The following table is specified in the JB3208-83 standard:
Table auxiliary function word M code function range function code function range function
M00 * Program stops M36 * Feed range 1
M01 * Planned to end M37 * Feed range 2
Next page
Led Tunnel Light,Led High Bay Light,Led Tunnel,Led Light Tunnel
Jiamei Energy(hongkong) Limited , https://www.jiameilight.com