Professional Documents
Culture Documents
M Codes
M Codes
Applicable Models
All Models
0844A-1502EN
Contents
Contents
0844A-1502EN 1
List of M Codes
1. List of M Codes
This M code list describes all M codes. Please note that there are some M codes that
cannot be used depending upon the machine specif ications and options that are
provided.
G4 P__; cannot be used for read-ahead control with FS30i/FS31i. Use G53 instead of
G4 P__;.
Use M3000 – 3099 when registering user M codes to perform macro program call or
sub-program call with M codes.
These M codes cannot be used in the future with the Professional 6 system.
When using M codes other than M3000 – 3099, there is the possibility that functions
(M codes) that are added later cannot be used.
This manual contains standard M code numbers, but does not reflect customized
ones if changed by customer request.
2 0844A-1502EN
List of M Codes
M0 Program Stop
M1 Optional Stop
M2 End of Program
M3 Spindle Start in CW Direction
M4 Spindle Start in CCW Direction
M5 Spindle Stop
M6 Automatic Tool Change
M7 Air Blow ON
M8 Nozzle Coolant ON
M9 Coolant OFF
M10 4th Axis Clamp
M11 4th Axis Unclamp
M12 5th Axis Clamp
M13 5th Axis Unclamp
M14 BTS Arm Advance, Tool Length Sensor Cover Open
M15 Index Table Reverse
M16 4th Axis Mirror Image ON
M18 BTS Arm Retract, Tool Length Sensor Cover Close
M19 Spindle Orientation Stop
M20 Broken Tool Sensor Check
M21 X Axis Mirror Image ON
M22 Y Axis Mirror Image ON
M23 Mirror Image OFF
M26 Through Spindle Coolant ON
M27 Tap Oil Mist/Jet Mode ON
M29 Unconditional Power Out
M30 End of Machining Program and Repeat
M31 Auto Workpiece Measuring Mode
M32 Auto Tool Length Measuring Mode
M33 Tool Length Sensor Unit Circuit Check
M34 Auto Workpiece Measurement / Spare Tool Call
M35 Auto Workpiece Measurement / Pallet Unload
M36 Prior Tool Check
M37 Tool Data Register Mode OFF
M38 AC/SL Data Temporary Alteration Mode ON
M39 AC/SL Data Temporary Alteration Mode OFF
M41 SL Coeff icient Setting 125%
M42 SL Coeff icient Setting 150%
0844A-1502EN 3
List of M Codes
4 0844A-1502EN
List of M Codes
0844A-1502EN 5
List of M Codes
6 0844A-1502EN
List of M Codes
0844A-1502EN 7
List of M Codes
8 0844A-1502EN
List of M Codes
0844A-1502EN 9
List of M Codes
10 0844A-1502EN
List of M Codes
0844A-1502EN 11
List of M Codes
12 0844A-1502EN
List of M Codes
0844A-1502EN 13
List of M Codes
14 0844A-1502EN
List of M Codes
0844A-1502EN 15
List of M Codes
16 0844A-1502EN
List of M Codes
0844A-1502EN 17
List of M Codes
18 0844A-1502EN
List of M Codes
0844A-1502EN 19
List of M Codes
Close
M1921 Interlock Release Mode ON at Tool Measurement Unit Cover Open
Close
M1922 PTIM Power OFF
M1923 PTIM Power ON
M1924 PTIM command
M1925 Image Tool Measure shutter close
M1926 Image Tool Measure shutter open
M1930 CNC initiative message transmission
M1931 Internal use M code
M1932 Internal use M code
M1933 Internal use M code
M1934 Internal use M code
M1940 Tool Shape Automatically Recognition Function: Get Imaging Data
M1941 Tool Shape Automatically Recognition Function: Imaging Disable
Mode OFF
M1942 Tool Shape Automatically Recognition Function: Imaging Disable
Mode ON
M1943 Tool Shape Automatically Recognition Function: Reset Request
M1945 Tool Shape Automatically Recognition Function: calibration
M1960 Measurement Function Set
M1961 SKIP Signal Detection Result Output
M1962 Customer Work Measurement Function Enable
M1963 Customer Tool Measurement Function Enable
M1964 Customer Broken Tool Detection Enable
M1965 Measurement Special IO Signal Control Disable
M1966 Measurement Special IO Signal Control Enable
M2000 Internal use M code
M2001 Internal use M code
M2002 Internal use M code
M2003 Internal use M code
M2004 3D Crash Avoidance Mode Record & Off
M2005 3D Crash Avoidance Mode Resume
M2006 Internal use M code
M2007 Internal use M code
M2008 Internal use M code
M2009 Internal use M code
M2010 Internal use M code
M2011 Internal use M code
M2012 Internal use M code
M2013 Internal use M code
20 0844A-1502EN
List of M Codes
0844A-1502EN 21
List of M Codes
22 0844A-1502EN
Specification of M Codes
2. Specification of M Codes
The (D) means that this code is performed after the axis moves if an axis
movement command is given in that block together.
□ Program
G01 X___ Y___ F___ M0;
□ Explanation
Automatic operation stops after the block containing M0 is executed.
When automatic operation is stopped by M0, spindle rotation and coolant are
stopped, and the [Cycle Start] switch is blinked.
And then, the warning lamp is turned on if the ma chine with a signal tower.
If the [Cycle Start] switch is pushed, spindle rotation and coolant are resumed,
automatic operation is restarted, and the warning lamp is turned off.
□ Program
G01 X___ Y___ F___ M1;
□ Explanation
This M code functions as M0 only when the [Optional Stop ] switch has been
turned on.
If the [Optional Stop] switch is turned off, M1 is ignored.
□ Explanation
Indicates the end of program, and resets NC after operating as follows:
After ward, if the [Power Out] switch has been turned on, the power is turned Off,
and if the [Warning Lamp] mode has been turned on, M2 turns the warning lamp
on.
0844A-1502EN 23
Specification of M Codes
□ Program
S800 M3 G00 X___ Y___ ;
G01 Z___ F___ ;
□ Explanation
Rotates spindle in clockwise direction at a speed specified with S code.
If it is not in the same block as M03 or there is no previous S (spindle speed), an
alarm occurs.
□ Program
S800 M4 G00 X___ Y___ ;
G01 Z___ F___ ;
□ Explanation
Rotates spindle in counterclockwise direction at a speed specif ied with S code.
If it is not in the same block as M04 or there is no previous S (spindle speed), an
alarm occurs.
□ Program
G01 X___ Y___ F___ M5;
□ Explanation
Stops the spindle after the block containing M5 is executed.
□ Program
M6;
□ Explanation
Exchanges the spindle tool with the tool in Tool magazine indexed at the position
of next tool, or the tool on ATC arm.
The typical content of M6 is as follows:
There is the one which does not return according to the version
of the model and software either about the coolant.
24 0844A-1502EN
Specification of M Codes
M7 Air Blow ON
□ Machine Type
All Machine Type
□ Explanation
Turns the air blow on.
M8 Nozzle Coolant ON
□ Machine Type
All Machine Type
□ Explanation
Turns the nozzle coolant on.
□ Program
G01 X___ Y___ F___ M9;
□ Explanation
Stops coolant after the block containing M9 is executed.
□ Program
M11;
G91 G01 B___ F___ M10;
□ Explanation
Clamps 4th axis after the block containing M10 is executed.
□ Program
M11;
G91 G01 B___ F___ M10;
□ Explanation
Unclamps 4th axis.
0844A-1502EN 25
Specification of M Codes
□ Program
M13;
G91 G01 A___ F___ M12;
□ Explanation
Clamps 5th axis after the block containing M12 is executed.
□ Program
M13;
G91 G01 A___ F___ M12;
□ Explanation
Unclamps 5th axis.
M14 BTS Arm Advance, Tool Length Sensor Cover Open (D)
□ Machine Type
All Machine Type
□ Explanation
Advances the movable BTS arm or open the tool length sensor cover.
□ Program
M15 B___ ;
□ Explanation
Positions the index table in reverse direction if the machine has an index table.
□ Program
G28 B___ M11;
M16;
G00 B___ M10;
□ Explanation
Turns the mirror image of the 4th axis on if the machine has a 4th axis.
Specify it in a by block itself.
26 0844A-1502EN
Specification of M Codes
M18 BTS Arm Retract, Tool Length Sensor Cover Close (D)
□ Machine Type
All Machine Type
□ Explanation
Retracts the movable BTS arm or close the tool length sensor cover.
□ Program
G00 X___ Y___ M19;
□ Explanation
Orients and stops the spindle after the block containing M19 is executed.
□ Explanation
Checks whether or not the tool has broken.
If there is a problem with the tool, a BTS alarm occurs.
□ Program
G28 X___ Y___;
M21;
G01 X___ Y___ F___;
□ Explanation
Turns the mirror image for the X axis on.
Specify this M code in an independent block .
□ Program
G28 X___ Y___;
M22;
G01 X___ Y___ F___;
□ Explanation
Turns the mirror image of the Y axis on.
Specify this M code in an independent block .
0844A-1502EN 27
Specification of M Codes
□ Program
G28 X___ Y___ M23;
G01 X___ Y___ F___;
□ Explanation
Turns the mirror image (X, Y, 4th, 5th, 6th axis) off after the block containing M23
is executed.
□ Explanation
Turns on through spindle coolant.
□ Program
M27;
M3;
G84 Z___ R___ F___;
G80;
□ Explanation
Turns on the tap oil mist or jet mode.
In this mode, first the direction of spindle rotation is stored, and the coolant is
turned on for the specified time (machine parameter No.07696 ).
After ward, coolant is turned on ever y time if the direction stored is specified
again.
This mode is valid until M9 or M2/M30, M6, emergency stop is specified.
□ Program
G00 Z___;
X___ Y___;
M29;
□ Explanation
Turns off the power supply if the [Power Out] switch has been turned on.
28 0844A-1502EN
Specification of M Codes
□ Explanation
Resets NC and rewinds program after indicating the end of program, and
performs the following operations:
After ward, if the [Warning Lamp] switch has been turned on, M30 turns the
warning lamp on.
If the [Power Out] switch has been turned on, M30 turns the power supply off.
When the pallet changer is operated in the standard operation mode, automatic
operation is started after rewinding if the ready status is ON for any pallet.
□ Explanation
Used in the workpiece automatic measuring macro program.
Specify at the start of workpiece automatic measuring.
□ Explanation
Used in the tool length automatic measuring macro program.
Specify at the start of tool length automatic measuring.
□ Explanation
Used in the tool length automatic measuring macro program.
The tool length automatic measuring circuit is self-diagnosed.
□ Explanation
Used in the workpiece automatic measuring macro program.
Previously used tool is assigned a BTS alarm. Afterward, a spare tool is indexed if
the tool for which a BTS alarm was assigned is called with the T code.
0844A-1502EN 29
Specification of M Codes
□ Explanation
Used in the workpiece automatic measuring macro program.
Previously used tool is assigned to a BTS alarm, and tool change and pallet
change are performed to start the next machining process automatically.
30 0844A-1502EN
Specification of M Codes
□ Program
M36;
T Tool No. ;
T Tool No. ;
:
M37;
□ Explanation
Checks whether or not all tools to be used (including spare tools) are available or
not.
If a tool is assigned an alarm or not registered, a machine alarm occurs.
When the specification of permitting PTN input in multiple Tool magazines
(machine parameter No. 12007=1), Tool magazine number is set by M450
command.
□ Program Example
O1234;
M36;
T1;
T2;
T3;
M37;
:
Machining Program
:
M30;
O1234;
M36;
M450 S1;
T1;
T2;
M450 S2;
T1;
T2;
M37;
:
Machining Program
:
M30;
After the prior tool life check before starting machining, execute
M37 to terminate the prior tool life check mode.
This mode is canceled also by M2, M30, emergency stop and tool
life alarm.
0844A-1502EN 31
Specification of M Codes
□ Program
M___; <-- Tool register mode On such as M448
S___ T___; <-- Tool Data Registration
M37;
□ Explanation
Turns off the tool data registration mode.
When a registration mode is ON, another registration mode cannot be turned on
without turning off the current mode.
While the tool data registration mode is ON, you can't use S code to command
spindle speed, and can't use T code to command next tool.
You can use them to command a spindle speed a nd a tool number, after M37 is
executed.
□ Program Example
O1234;
M448 S4; <-- PTN register mode ON.
S1 T1000; <-- PTN 1000 is set to 1st pot magazine.
S2 T2000; <-- PTN 2000 is set to 2nd pot magazine.
M448 S119; <-- SL data register mode ON
S1 T123; <-- 12.3(%) is set to SL(Upper Limit) of 1st. Pot.
S1 T456; <-- 45.6(%) is set to SL(Lower Limit) of 1st. Pot.
M37; <-- Data registration mode OFF.
:
Machining Program
:
M30;
32 0844A-1502EN
Specification of M Codes
□ Program
M38;
S AC Data ;
S SL(Upper) Data ;
S SL(Under) Data ;
M39;
□ Explanation
Sets AC/SL data for spindle tool.
First S is for AC data, second S is for SL upper limit data, and third is for SL lower
limit data.
Specified monitor data is retained until an M6 or M2/M30 is specif ied.
If an S9999 is specif ied, the monitoring data is not altered but the data on tool
detail screen becomes valid.
□ Program Example
O1234;
M38;
S100; <-- 10.0 [%] is set to AC of simple tool.
S125; <-- 12.5 [%] is set to SL(Upper Limit) of tool.
S30; <-- 3.0 [%] is set to SL(Lower Limit) of tool.
M39;
:
Machining Program
:
M30;
□ Program
M38;
S AC Data ;
S SL(Upper) Data ;
S SL(Under) Data ;
M39;
□ Explanation
Turns off the AC/SL data temporary alteration mode.
□ Explanation
Sets SL coefficient data to 125% (Max. spindle actual load current * 1.25) when
study mode is ON.
0844A-1502EN 33
Specification of M Codes
□ Explanation
Sets SL coefficient data to 150% (Max. spindle actual load current * 1.50) when
study mode is ON.
□ Explanation
Sets SL coefficient data to 200% (Max. spindle actual load current * 2.00) when
study mode is ON.
□ Explanation
Sets SL coefficient data to 0%.
Use this M code when you don't use SL monitor and AC monitor.
□ Explanation
Used in the tool length automatic measuring macro program.
The tool length automatic measuring circuit is sel f-diagnosed.
This M code don't turn on measuring head cleaning air.
□ Explanation
Sets SL lower limit coeff icient data to 125% (No load * 1.25) when study mode is
ON.
□ Explanation
Sets SL lower limit coeff icient data to 0% (No load * 0) when study mode is ON.
Use this M code when you don't use SL lower limit monitor.
34 0844A-1502EN
Specification of M Codes
□ Program
G01 X___ Y___ F___ M48;
□ Explanation
Enables the feed rate override switch after the block containing M48 is executed.
□ Program
M49;
G01 X___ Y___ F___;
□ Explanation
Disables the feed rate override switches and fixes the feed rate override at 100%
until NC reset, M48 or M2/M30 is specif ied.
□ Explanation
Set the AC data to 100% and the SL data to 200% when study mode is ON.
□ Explanation
Turns on the automatic workpiece reject mode.
If a tool monitor alarm occurs during random operation, the automatic workpiece
rejection function interrupts machining and starts machining on next pallet or
next ready face.
□ Explanation
Turns off the automatic workpiece reject mode.
0844A-1502EN 35
Specification of M Codes
□ Program
M448 S____; <-- M Code for Tool Registration
T___ ;
M54; <-- Indicated that following data is negative
S___T___;
M448;
□ Explanation
Specifies that next data is minus.
Specify M54 in previous block or the same block of data.
M54 is effective only for the next data.
□ Program Example
M448 S103; <-- Tool length (Geometry) register mode ON.
M54; <-- Indicates that following data is negative.
S1 T1234; <-- Tool length offset (Geometry) for pot 1.
-0.1234(mm)
(-0.01234 inch)
S2 M54 T345; <-- Tool length offset (Geometry) for pot 2.
-0.0345(mm)
(-0.00345 inch)
S3 T345; <-- Tool length offset (Geometry) for pot 3.
0.0345(mm)
(0.00345 inch)
M30;
□ Program
H Offset No. D Offset No. ;
M56;
□ Explanation
Transfers tool length and radius offset data for spindle tool (registered on Tool
Detail screen) to the current offset numbers.
If the offset number is 0, the data is not sent to that offset.
E.g., H1 D0 causes the tool length data to be sent to H1 but the radius data is not
sent.
36 0844A-1502EN
Specification of M Codes
□ Program Example
O1234;
T1;
M6;
H1 D2;
M56; <-- Tool length data is sent to offset No.1, and
tool radius data is sent to offset No.2.
:
Machining Program
:
M451 S2;
M56; <-- Tool length data of cutter No.2 is sent to
offset No.1, and tool radius data of cutter
No.2 is sent to offset No.2.
:
Machining Program
:
T2;
M6;
H3 D0;
M56; <-- Tool length data of cutter No.1 is sent to
offset No.3, but tool radius data is not sent.
:
Machining Program
:
M30;
□ Program
[Sequential Method]
M57;
T Tool No. ;
:
T Tool No. ;
M37(M30);
[Random Method]
0844A-1502EN 37
Specification of M Codes
M57;
S Pot No. T Tool No. ;
:
S Pot No. T Tool No. ;
M37(M30);
□ Explanation
Turns on the tool registration mode.
Two types of registration methods are provided; a sequential method and random
method.
In sequential method, order of data is considered as a pot number. And, in
random method, pot number is specif ied for each tool.
Tool magazine number is set according to M 450 S__ Specify. If M450 has not been
specified ever, tool magazine number is set to 1.
[Sequential method]
After the M57, specify tool numbers with T, from pot 1 sequentially.
Max pot number to be able to register is up to the maximum pot number of the
tool magazine.
It is not necessar y to specify all the pot, but pot number have to be specified
sequentially.
[Random method]
After an M57, specify the pot number with S and the tool number with T only for
necessary pots, in optional order.
Max number of pots is up to the maximum pot number of the tool magazine.
□ Program Example
[Sequential Type]
O1234;
M450 S0; <-- Magazine No. is set to 0.
M57;
T1; <-- Tool number of pot 1 of magazine 0 (external tool)
is set to 1.
T2; <-- Tool number of pot 2 of magazine 0 (external tool)
is set to 2.
M37; <-- Tool data registration mode OFF.
M450; <-- Magazine number is set to 1.
T12; <-- Tool number of pot 1 of magazine 1 is set to 12.
T345; <-- Tool number of pot 1 of magazine 1 is set to 345.
M30; <-- Tool data registration mode OFF.
[Random Type]
O1234;
M57;
S1 T1010; <-- Tool number of pot 1 of magazine 1 is set to 1010.
S10 T1100; <-- Tool number of pot 10 of magazine 1 is set to 1100.
S5 T1005; <-- Tool number of pot 5 of magazine 1 is set to 1005.
M30;
38 0844A-1502EN
Specification of M Codes
□ Program
G01 X___ Y___ F___;
M58;
G01 X___ Y___ F___;
□ Explanation
Enables [Spindle Speed Override] switch.
□ Program
S800 M3;
M58;
G01 X___ Y___ F___;
□ Explanation
Disables [Spindle Speed Override] switch and fixes the spindle speed override at
100% until M58 is executed.
Specify it in a by block itself.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
Loads the pallet ready to the machine table.
□ Explanation
The pallet in the machine table and the machine buffer is exchanged
0844A-1502EN 39
Specification of M Codes
□ Explanation
For Turn type
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Can be used by itself.
□ Explanation
For Turn type
M60 raises APC arm, rotate it by 180 Deg, lowers it, and exchanges the pallet on
the pallet loading station with the pallet on the table at the machining chamber.
For WPM
This M code is used in the pallet change program (O9003).
Cannot be used by itself.
□ Explanation
This M code is used in the pallet unloading programs (O9820).
Cannot be used by itself.
□ Explanation
Pallet on the machine table is returned to the buffer.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
Not ready pallet on the buffer is loaded to the WSS.
40 0844A-1502EN
Specification of M Codes
□ Explanation
For WPM
This M code is used in the pallet change program (O9003).
Cannot be used by itself.
For Other
This M code is used in special pallet change.
Cannot be used by itself.
□ Explanation
This M code is used in the pallet change/pallet loading program (O9003).
Cannot be used by itself.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
For WPM
This M code is used in the pallet change program (O9003).
Cannot be used by itself.
For Other
This M code is used in special pallet change.
Cannot be used by itself.
□ Explanation
This M code is used in the pallet change/pallet loading program (O9003).
Cannot be used by itself.
0844A-1502EN 41
Specification of M Codes
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
The pallet change device is returned to the state of standby.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
For WPM
This M code is used in the pallet change program (O9003).
Cannot be used by itself.
For Other
This M code is used in special pallet change.
Cannot be used by itself.
□ Explanation
This M code is used in the pallet unloading programs (O9004).
Cannot be used by itself.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
42 0844A-1502EN
Specification of M Codes
□ Explanation
The pallet change device is set to the state of pallet load standby.(enable to use
by itself)
□ Explanation
For WPM
This M code is used in the pallet change program (O9003).
Cannot be used by itself.
For Other
This M code is used in special pallet change.
Cannot be used by itself.
□ Explanation
This M code is used in the pallet unloading programs (O9004).
Cannot be used by itself.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
The pallet change device is set to the state of pallet load standby cancel .
□ Explanation
The customer cannot use it.
0844A-1502EN 43
Specification of M Codes
□ Explanation
Used when a pallet change (M60) is required even if the ready status of the pallet
on stocker is OFF.
W ith this M code, ready uncheck mode is turned on.
Once an M60 is executed, this mode is turned off.
This M code cannot be used in the random operation.
□ Program Example
M69;
M60; <-- Exchanges pallet even if a next pallet is not
ready.
:
Machining Program
:
M60; <-- Exchanges pallet only if a next pallet is ready.
□ Explanation
Disables custom macro interruption.
□ Explanation
Enables custom macro interruption.
□ Explanation
Turns on through spindle air.
□ Program
M98 P9810;
M78;
□ Explanation
Turns on signal light 1 (red) if the pallet on stocker is not ready.
Signal light turned on by this M code will be turned off by changing the pallet to
ready.
44 0844A-1502EN
Specification of M Codes
□ Program
M98 P9810;
M79;
□ Explanation
Turns on signal light 2 (yellow) if the pallet on stocker is not ready.
Signal light turned on by this M code will be turned off by changing the pallet to
ready.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9810,
O9820).
Cannot be used by itself.
□ Explanation
This M code is used in the pallet loading and unloading programs (O9003,
O9004).
Cannot be used by itself.
□ Explanation
Checks whether or not the pallet number on the table is 1 if a pallet has been
loaded.
If it is No. 2, a machine alarm occurs.
Checks whether or not the pallet on the stocker is ready if pallet has not been
loaded on the table.
When it is not ready, an alarm occurs.
□ Explanation
This M code is used in the automatic measuring macro program (workpiece/tool
length) when the sensor approaches the target-point.
0844A-1502EN 45
Specification of M Codes
□ Explanation
This M code is used in the automatic measuring macro program (workpiece/tool
length) when the sensor is fed at rapid traverse.
□ Explanation
Opens APC (AWC,WPM) shutter or operator door.
□ Explanation
Closes APC (AWC,WPM) shutter or operator door.
46 0844A-1502EN
Specification of M Codes
□ Program
M94;
S Pot No. ;
:
S Pot No. ;
M37(M30);
□ Explanation
S after M94 specifies the pot number to be deleted. Deletes all tool data including
tool number of the pot specif ied with S.
Tool magazine number is set according to M450 S__ command.
If M450 has not ever been specified, the magazine number is set to 1.
However, tool data of tool No. 0 is not deleted.
□ Program Example
O1234;
M450 S2; <-- Magazine No. is set to 2.
M94; <-- Tool data delete mode ON.
S1; <-- All the data of the pot of tool No.1 of magazine
No.2 are deleted.
S2; <-- All the data of the pot of tool No.2 of magazine
No.2 are deleted.
M37; <-- Tool data delete mode OFF.
M450; <-- Magazine No. is set to 1.
S1; <-- All the data of the pot of tool No.1 of magazine
No.1 are deleted.
S2; <-- All the data of the pot of tool No.2 of magazine
No.1 are deleted.
M30; <-- Tool data delete mode OFF.
□ Explanation
Checks whether or not the pallet number on the table is 2 if a pallet has been
loaded. If it is No. 1, a machine alarm occurs.
If no pallet is loaded on the machine table, checks whether or not the pallet on
the pallet loading station is ready. If it is n ot ready, a machine alarm occurs.
0844A-1502EN 47
Specification of M Codes
□ Explanation
Turns on the through tool coolant.
□ Explanation
Turns on programmable coolant nozzle.
□ Explanation
Turns on the high power (ceiling) coolant.
□ Program
M98 P___L___ ;
□ Explanation
Calls the subprogram specified with P.
□ Program
M99;
□ Explanation
Returns to the main program from subprogram called with M98P___.
□ Explanation
This M code is used in tool measurement macro program.
48 0844A-1502EN
Specification of M Codes
□ Explanation
This M code is used in tool measurement macro program.
□ Explanation
Used in the macro program type direct spare tool change macro program.
□ Explanation
Exchanges the spindle tool with a spare tool if a tool life alarm has occurred for
the spindle tool.
(Direct spare tool change)
□ Explanation
Turns on the direct spare tool change inhibit mode when M107 mode is ON.
□ Explanation
Turns on the direct spare tool change mode.
In this mode, whether or not an alarm has occurred for the spindle tool is checked
periodically, and the spindle tool is exchanged with a spare tool if an alarm has
occurred for the spindle tool.
□ Program
M111;
G91 G01 B___ F___ M110;
□ Explanation
Clamps 6th axis after the block containing M110 is executed.
0844A-1502EN 49
Specification of M Codes
□ Program
M111;
G91 G01 B___ F___ M110;
□ Explanation
Unclamps 6th axis.
□ Explanation
Turns off the FT function.
M119 FT Function ON
□ Machine Type
All Machine Type
□ Explanation
Turns on the FT function.
□ Program
M123;
:
U___;
:
M122;
□ Explanation
Turns off the U axis mode.
□ Program
M123;
:
U___;
:
M122;
□ Explanation
Turns on the U axis mode.
After M123, U axis is automatically performed reference return.
50 0844A-1502EN
Specification of M Codes
□ Program
M124;
:
U___;
:
M122;
□ Explanation
Turns on the U axis emergency mode.
After M124, U axis is not performed reference return..
□ Program
M125 S Program No. ; T N Number ;
□ Explanation
Program Search & N Search.
If T N Number is not commanded, N search is not executed.
□ Program Example
M125 S1000 N10;
Search O1000 and search N10.
M125 S1000;
Search O1000.
0844A-1502EN 51
Specification of M Codes
□ Program
M126;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M127;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M128;
□ Explanation
When the unit of input data to NC is metric input (G21), block skip 1 is turned off.
When the unit of input data to NC is inch input (G20), block skip 1 is turned on.
A dummy block for preventing pre-reading such as G53 is necessar y after
M126/M127.
52 0844A-1502EN
Specification of M Codes
□ Program
M126;
G53; <-- Dummy block for preventing
pre-reading
/___ ;
:
/___ ;
M127;
G53; <-- Dummy block for preventing
pre-reading
/___ ;
:
/___ ;
M128;
□ Explanation
When the unit of input data to NC is inch input (G20), block skip 1 is turned off.
When the unit of input data to NC is metric input (G21), block skip 1 is turned on.
A dummy block for preventing pre-reading such as G53 is necessar y after
M126/M127.
0844A-1502EN 53
Specification of M Codes
□ Program
M126;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M127;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M128;
□ Explanation
Returns the status of block skip 1 to the setting that has been made on the main
control panel.
This is used together with M126 or M127.
□ Program
M129 S Tuning Mode Number ;
□ Explanation
The quadrant glitch f ine tuning mode is changed to the mode specified by S code
of the same block.
Specify S0 or omit S code to change it into the shipment setting.
□ Explanation
Disable override for each tool.
□ Explanation
Enable override for each tool.
54 0844A-1502EN
Specification of M Codes
□ Explanation
Sets upper limit of cutting feed rate.
M132; Limits the cutting feed rate override to 100% or less.
This mode is called M132 mode.
In M132 mode, the area over 100% of the [Feed Rate
Override] switch is disabled.
M132 mode is turned off by M48.
M132 S__; Used in automatic measuring macro program.
In this mode, the upper limit of the cutting feed rate
override is set to the percentage specif ied by S.
The mode is turned off if M2/M30 is specified or NC reset is
turned on.
M132 S__ is enabled only when machine parameter No.
05022 is set to "1".
□ Program
S___;
M135 S___;
G84 Z___ R___ F___;
G80;
M30;
□ Explanation
Turns on the rigid tap mode.
Specify the same S code as that in the M135 block before the M135 block.
□ Explanation
Output Machine Condition to Macro Variable.
□ Program
G28 X___ Y___ A__;
M138;
G01 X___ Y___ A__ F___;
□ Explanation
Turns on mirror image for 5th axis.
Specify it in a block by itself.
0844A-1502EN 55
Specification of M Codes
□ Program
G28 X___ Y__ C___;
M139;
G01 X___ Y___ C__ F___;
□ Explanation
Turns on the mirror image of 6th axis.
Specify it in a block by itself.
□ Explanation
This M code is used in the macro program for automatic measuring.
It stores the status of block skip 1, and turns it on.
□ Explanation
This M code is used in the macro program for automatic measuring.
It stores the status of the block skip 1, and turns it off.
□ Explanation
This M code is used in the macro program for automatic measuring.
It recovers the status of block skip 1 to the status previously stored by
M140/M141.
□ Explanation
Turns block skip 2 to 9 off.
□ Explanation
Turns on block skip 2.
56 0844A-1502EN
Specification of M Codes
□ Explanation
Turns on block skip 3.
□ Explanation
Turns on block skip 4.
□ Explanation
Turns on block skip 5.
□ Explanation
Turns on block skip 6.
□ Explanation
Turns on block skip 7.
□ Explanation
Turns on block skip 8.
□ Explanation
Turns on block skip 9.
0844A-1502EN 57
Specification of M Codes
□ Explanation
Execute M165 before starting the spindle when BIG PLUS tool holder is used in
the machine with BIG PLUS spindle. This mode is effective until M166 is sent. This
mode status is selected when machine power is turned on.
□ Explanation
Execute M166 before starting the spindle when BT tool holder is used in the
machine with BIG PLUS spindle. This mode is effective until M165 is sent.
□ Explanation
Execute M167 before starting the spindle when attachment spindle is used. This
mode is effective until M168 is sent.
Execute M167 when change NC parameter of axis composition by attachment
mounting/removal
□ Explanation
Execute M168 before starting the spindle when main spindle is used. This mode is
effective until M167 is sent. This mode status is selected when machine power is
turned on.
□ Program
M172 S0; (Rapid Feed Speed Limitation Disable)
M172 S1; (Rapid Feed Speed Limitation Enable)
M172; (Rapid Feed Speed Limitation Enable)
□ Explanation
Rapid feed speed limitation mode is set.
□ Program Example
M172 S0; (Rapid Feed Speed Limitation Disable)
M172 S1; (Rapid Feed Speed Limitation Enable)
M172; (Rapid Feed Speed Limitation Enable)
58 0844A-1502EN
Specification of M Codes
□ Explanation
IAC data becomes enabled.
□ Explanation
Set Rapid Override Limitation.
□ Explanation
Set Cutting Override Limitation.
□ Explanation
Release override limitation of M174,M175
□ Program
M177 S Parameter Index ;
□ Explanation
Change NC Parameter
0844A-1502EN 59
Specification of M Codes
□ Explanation
[a51nx,a61nx]
IAC data is disabled.
[D300,D500,V33i-5XB,V56i-5XB]
IAC data is disabled.
The indexing accuracy of the tilting axis to the workpiece weight is returned to an
initial value.
[D800Z]
IAC-E, IAC-E(T ilt angle) is disabled.
The indexing accuracy of the tilting axis to the workpiece weight is returned to an
initial value.
□ Explanation
The indexing accuracy of the tilting axis to the workpiece weight is optimized.
□ Explanation
Adds value to product counter specified by M186.
Number to be added to the counter is specif ied by T, and the group of counters to
which the value is added is specified by S.
If T has not been specified, it is regarded as T1 has been specif ied.
If S has not been specif ied, all the product counter specif ied to be added by M186
are added.
□ Explanation
Turns on the dr y run mode.
□ Explanation
Turns off the dry run mode.
□ Explanation
Disable Count.
Disable count is set by Machine Parameter No.12118
60 0844A-1502EN
Specification of M Codes
□ Explanation
Enable Count that is dislab by M194.
□ Program
M198 P___ ;
□ Explanation
Calls a subprogram specified by P from a f ile in an external I/O device.
□ Explanation
X axis Mirror Image On
□ Explanation
X axis Mirror Image Off
□ Explanation
Y axis Mirror Image On
□ Explanation
Y axis Mirror Image Off
□ Explanation
Turn OFF AC Mode.
□ Program Example
M204;
0844A-1502EN 61
Specification of M Codes
M205 AC Mode ON
□ Machine Type
All Machine Type
□ Explanation
Turn ON AC Mode.
□ Program Example
M205;
□ Explanation
Turn OFF Study Mode.
□ Program Example
M206;
□ Explanation
Turn ON Study Mode.
□ Program Example
M207;
□ Explanation
Turn Rapid Override Switch Check Function Off
□ Explanation
Turn Rapid Override Switch Check Function On
□ Explanation
Enables Gravity Axis Pull Up Function.
62 0844A-1502EN
Specification of M Codes
□ Explanation
Disables Gravity Axis Pull Up Function.
□ Explanation
Stops recording of Machining Result Function. This code is effective if the setting
of machine parameter No.12247 is 1.
□ Explanation
Starts recording of Machining Result Function. This code is effective if the setting
of machine parameter No.12247 is 1.
M228 Buzzer ON
□ Machine Type
All Machine Type
□ Explanation
Turns on the buzzer.
□ Explanation
Turns off the buzzer.
□ Explanation
Turns off the TL mode.
M236 TL Mode ON
□ Machine Type
All Machine Type
□ Explanation
Turns on the TL mode.
0844A-1502EN 63
Specification of M Codes
□ Explanation
Turns off the SL upper limit mode.
□ Explanation
Turns on the SL upper limit mode.
□ Explanation
Only the ATCBTS check operation is done.
The alarm is not generated.
□ Explanation
ATCBTS is retracted.
□ Explanation
ATCBTS is checked.
□ Explanation
Specifies the vertical direction for the rotar y tool measuring sensor.
64 0844A-1502EN
Specification of M Codes
□ Explanation
Specifies the horizontal direction for the rotary tool measuring sensor.
□ Explanation
Switches GI/Super-GI to the high accuracy mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
M25xT_S_;
□ Explanation
Switches GI/Super-GI to the high performance mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
0844A-1502EN 65
Specification of M Codes
□ Explanation
Switches GI/Super-GI to the ultra high accuracy mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
M253 GI/Super-GI High Accuracy Mode for Contouring with Rotary Axes
□ Machine Type
Machines other than following.
MAG1 / MAG3 / T1 / T2 / T4
□ Explanation
Switches GI/Super-GI to the high accuracy mode for contouring with rotar y axes.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same bloc k.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the high accuracy mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the M254 mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the extra super-high accuracy mode.
66 0844A-1502EN
Specification of M Codes
□ Explanation
Switches GI/Super-GI to the radical mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the ultra high performance mode.
□ Explanation
Switches GI/Super-GI to the hybrid mode.
M257 GI/Super-GI High Performance Mode for Contouring with Rotary Axes
□ Machine Type
Machines other than following.
MAG1 / MAG3 / T1 / T2 / T4
□ Explanation
Switches GI/Super-GI to the high performance mode for contouring with rotar y
axes. (This M code is effective for FS30i/FS31i CNC)
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the high performance mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
0844A-1502EN 67
Specification of M Codes
M258 GI/Super-GI Ultra High Performance Mode for Contouring with Rotary Axes
□ Machine Type
Machines other than following.
MAG1 / MAG3 / T1 / T2 / T4
□ Explanation
Switches GI/Super-GI to the ultra high performance mode for contouring with
rotar y axes. (This M code is effective for FS30i/FS31i CNC)
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the ultra high accuracy mode.
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
□ Explanation
Switches GI/Super-GI to the original mode. (This M code is effective for
FS160is/FS180is CNC)
The amount of the tolerance of smooth TCP can be specified for the FS30i/FS31i
series by T and S code of the same block.
Refer to help of M250 for the explanation.
M266 GI/Super-GI Ultra High Performance for Contouring With Rotary Ax es Mode
□ Machine Type
All Machine Type
□ Explanation
Switches GI/Super-GI to the ultra high performance for contouring with rotar y
axes mode.
□ Explanation
This M code is used in tool measurement macro program.
68 0844A-1502EN
Specification of M Codes
□ Explanation
Turns off the stroke-change signal that has been turned on by M277.
This M code is used in the ATC macro program.
□ Explanation
Turns on the stroke-change signal.
This M code is used in ATC macro program.
□ Explanation
Suppresses all signal outputs to the signal sight and the buzzer.
□ Explanation
Allows all signal outputs to the signal sight and the buzzer.
□ Explanation
Turns off the SL lower limit mode.
□ Explanation
Turns on the SL lower limit mode.
□ Explanation
Turns off the floating M code exchange prohibition mode.
The floating M code exchange prohibition mode is turned off if NC reset is turned
on.
0844A-1502EN 69
Specification of M Codes
□ Explanation
Turns on the floating M code exchange prohibition mode.
The floating M code exchange does not function after this M code is specif ied.
□ Explanation
Command before machining complete.
By this command, inform machining work complete.
□ Explanation
Writes data of variables registered in output group selected on f ile.
□ Program Example
M295 T1; <-- Outputs header of a group of M296.
M295; <-- Outputs data of a group of M296.
M295 S1 T1; <-- Outputs header of group no.1 registered on
Macro Variable Output Screen.
M295 S1; <-- Outputs data of group no.1 registered on
Macro Variable Output Screen.
M295 S303 T2; <-- Set 303 as marker. Hereafter, 303 is set in
marker area of each output.
□ Explanation
Registers variables numbers to output into a group of M296.
□ Program Example
M296 T1; <-- Data registration start.
M296 S100; <-- Registers #100 in group of M296.
M296 S103 T110; <-- Registers variables from #103 to #110 in
group of M296.
M296 T0; <-- Data registration end.
70 0844A-1502EN
Specification of M Codes
□ Explanation
Command before machining complete by spindle tool.
By this command, inform machining complete by spindle tool.
□ Explanation
Saves data file specified by parameter (S code). All data files are saved if
parameter is not specified.
M299 S0; All data files
M299 S1; Tool Data
M299 S2; Tool Location Data
M299 S3; Work Data
M299 S4; Work Location Data
□ Explanation
This M code is for shortening machining times.
Checks for completion of M303 or M304 (the spindle speed has reached the
specified speed) and completes it immediately.
It will wait for the completion of either code.
If M303 or M304 has not been specified yet, M302 finishes immediately.
M303 Rotate Spindle CW and Start Next Block before Spindle Reaches Specif ied Speed
□ Machine Type
All Machine Type
□ Program
S2000 M303;
G00 G90 Y___ Z___ M302;
G01 Z___;
□ Explanation
This M code is for shortening machining times.
Starts the spindle in clockwise direction without waiting for DEN and returns FIN
immediately.
Use M303 and M302 in a pair always.
0844A-1502EN 71
Specification of M Codes
M304 Rotate Spindle CCW and Start Next Block before Spindle Reaches Specif ied Speed
□ Machine Type
All Machine Type
□ Program
S2000 M304;
G00 G90 Y___ Z___ M302;
G01 Z___;
□ Explanation
This M code is for shortening machining times.
Starts the spindle in counterclockwise direction without waiting for DEN and
returns FIN immediately.
Use M304 and M302 in a pair always.
□ Program
M307;
G91 G28 Y0 Z0;
M6;
G91 Y___;
M308;
□ Explanation
Stores status of the spindle and the coolant, and stops them.
Typically in case of oil-pan type machine, inserting the M307 and M308 before
and after M6 prevents coolant splash on the floor.
□ Program
M307;
G91 G28 Y0 Z0;
M6;
G91 Y___;
M308;
□ Explanation
Resumes the spindle and the coolant stopped by M307.
Typically, in case of oil-pan type machine, inserting M307 and M308 before and
after M6 prevents coolant from splashing on the floor.
72 0844A-1502EN
Specification of M Codes
□ Program
M310;
G91 G28 Z0;
G28 X0 Y0;
M6;
G29 X0 Y0;
G29 Z0;
M311;
□ Explanation
Stores status of the spindle and stops the spindle.
□ Program
M310;
G91 G28 Z0;
G28 X0 Y0;
M6;
G29 X0 Y0;
G29 Z0;
M311;
□ Explanation
Resumes spindle rotation stopped by M310.
0844A-1502EN 73
Specification of M Codes
□ Program
M312;
G91 G28 Z0;
G28 Y0;
M6;
G29 Y0;
G29 Z0;
M313;
□ Explanation
Stores status of the coolant and stops the coolant.
□ Program
M312;
G91 G28 Z0;
G28 Y0;
M6;
G29 Y0;
G29 Z0;
M313;
□ Explanation
Resumes coolant operation stopped by M312.
□ Explanation
This M code is used in the automatic measuring macro program.
Rotates to clockwise the spindle at a specif ied speed during specified time by
machine parameters.
74 0844A-1502EN
Specification of M Codes
□ Explanation
Cancels the status of the spindle oil controller that has been turned on by M316.
This M code can only be specified if the spindle has been stopped.
□ Explanation
Turns on the spindle oil controller for maintenance, with the spindle stopped.
This M code can only be specified if the maintenance mode has been turned on
and the spindle has been stopped.
□ Explanation
Rotates spindle slowly.
□ Program
#100= Orient Angle ;
M466;
M318;
□ Explanation
Orients the spindle to the angle specif ied by macro variable #100.
Specify M466 before M318 to read the value of macro variable #100.
The minimum unit of the angle that can be set for macro variable #100 is 0.1 Deg..
The angle range is 0.0 Deg. to 360.0 Deg..
□ Program Example
O1234;
#100=45.;
M466;
M318;
M30;
0844A-1502EN 75
Specification of M Codes
□ Program
M319;
G91 G28 Z0;
G28 Y0;
M6;
□ Explanation
This M code is for decreasing machining time.
Coolant is stopped and control advances to the next block without waiting for
completion of spindle orientation.
Stop check of oriented position is performed by M6, M661.
□ Program
M319;
G91 G28 Z0;
G28 Y0;
M6;
□ Explanation
This M code is for decreasing machining time.
Coolant is stopped and control advances to the next block without waiting for
completion of spindle orientation.
76 0844A-1502EN
Specification of M Codes
□ Program
M319;
G91 G28 Z0;
G28 Y0;
M6;
□ Explanation
This M code is for decreasing machining time.
Coolant is stopped and control advances to the next block without waiting for
completion of spindle orientation or ATC shutter open.
Stop check of oriented position or open check of ATC shutter is performed by M6,
M661.
□ Explanation
Rotates spindle to measure tool length.
This M code is used in the tool length measuring macro program.
□ Program
M326;
G91 G28 C0;
:
M325;
S800 M3;
□ Explanation
Turns off the Cs axis contouring mode.
The spindle functions as a normal spindle (S, M codes are accepted) until M326 is
specified.
Specify it in a block by itself.
0844A-1502EN 77
Specification of M Codes
□ Program
M326;
G91 G28 C0;
:
M325;
S800 M3;
□ Explanation
Turns on the Cs axis contouring mode.
The spindle functions as an NC axis (Cs axis) until M325 is specif ied.
Specify it in a block by itself.
□ Explanation
Retract clamper.
□ Explanation
Advance clamper.
□ Explanation
Reverses the rotation direction of the spindle during M318.
When M318 is completed, M330 becomes invalid.
□ Explanation
Retract draw bar probe.
□ Explanation
Advance draw bar probe.
78 0844A-1502EN
Specification of M Codes
□ Explanation
Stops rotation of the dresser after axis travel is completed.
□ Explanation
Rotates the dresser clockwise.
When this M code is specif ied in the same block as axis travel, it is started without
waiting for completion of travel.
□ Explanation
This M code is used in the macro program for changing attachments.
□ Explanation
Used for semi-automatic attachment changer on MCC.
Splashguard for attachment changer is opened, and then attachment changer is
advanced.
□ Explanation
The attachment changer is retracted, and then the splashguard for the attachment
changer is closed.
□ Explanation
This M code is used for attachment changer.
It requests the operator to check that the spindle attachment is mounted.
0844A-1502EN 79
Specification of M Codes
□ Explanation
This M code is used for attachment changer.
It requests operator to check that spindle attachment is dismounted.
□ Explanation
In case of Robot Interface Type A, Output program number specif ied via
EXPNO01-EXPNO32 signals.
□ Program
M371;
□ Explanation
This M cod is for shortening machining times.
Returns FIN to NC rapidly. Table is clamped and B axis servo OFF is activated.
□ Program
M372;
:
B___;
:
M373;
□ Explanation
This M cod is for shortening machining times.
Returns FIN to NC rapidly. Table is clamped and B axis servo ON is activated.
□ Program Example
G91 G30 X0. Y0. M372;
B90.;
G91 G00 Z-100.;
M373;
Always use M372 in combination with M373, and enter the B___
in between. Do not command M372/M373 in the same block of
Bxx.
80 0844A-1502EN
Specification of M Codes
□ Program
M372;
:
B___;
:
M373;
□ Explanation
This M code is for shortening machining times.
Command this M-code prior to cutting feed or pallet change (M60) to conf irm
table clamp.
□ Program Example
G91 G30 X0. Y0. M372;
B90.;
G91 G00 Z-100.;
M373;
Always issue M372 and M373 together, and insert Bxx between
these commands.
Neither M372 nor M373 cannot be issued in the same block as
Bxx.
□ Explanation
Stops table dresser solenoid.
□ Explanation
Start table dresser solenoid.
□ Explanation
Turns off the laser (laser clearance is turned off and shutter is closed) if the
machine has a rotary tool measuring system.
□ Explanation
Turns on the laser (shutter is opened and laser clearance is turned on) if the
machine has a rotary tool measuring system.
0844A-1502EN 81
Specification of M Codes
□ Explanation
Angle head support retract.
□ Program Example
M381
□ Explanation
Angle head support advance.
□ Program Example
M382
□ Explanation
Turns on vacuum suction.
□ Explanation
Turns off vacuum suction.
□ Explanation
Selects clamp pressure of tailstock .
□ Program Example
M389 S1;
□ Explanation
Clamps the tool in the spindle.
M390, M391, and M392 are only for special type machine.
Be careful because if these are used unexpectedly, the tool will
be dropped.
82 0844A-1502EN
Specification of M Codes
□ Program
M392;
M391;
□ Explanation
Unclamps the tool in the spindle.
When unclamping, M392 must be specified before M391.
M390, M391, and M392 are only for special type machine.
Be careful because if these are used unexpectedly, the tool will
be dropped.
□ Program
M392;
M391;
□ Explanation
This M code is used to enable unclamping of the spindle tool before M391.
M390, M391, and M392 are only for special type machine.
Be careful because if these are used unexpectedly, the tool will
be dropped.
□ Explanation
This M code is used in the attachment change macro program.
□ Explanation
Turns on through spindle mist.
□ Explanation
Turns on mist blowing.
0844A-1502EN 83
Specification of M Codes
□ Program
M406 S Pallet No. T Face No. ;
S Work Data Register Mode T Setting Data ;
:
S Work Data Register Mode T Setting Data ;
M406(M30);
□ Explanation
Registers the desired work data.
Specify the pallet number with S in the same block as where M406 is specif ied.
If M406 S0 is specified, or 406 is specif ied without S, the work data registration
mode is turned off.
Specify the face number with T in the same block as where M406 is specif ied.
If 406 is specified without T, the face number is considered to be 1.
After the work registration mode is turned on, the kind of data is specified with S,
and the data is specified with T.
Refer to the following work data registration and the setting value table for the
work data registration mode and setting value.
84 0844A-1502EN
Specification of M Codes
□ Explanation
Turn off vacuum pump.
□ Explanation
Turn on vacuum pump.
□ Explanation
Vacuum device off.
□ Explanation
Vacuum device on.
□ Program
0844A-1502EN 85
Specification of M Codes
M417;
G53; <-- Dummy block for preventing
pre-reading
/___ ;
:
/___ ;
M418;
G53; <-- Dummy block for preventing
pre-reading
/___ ;
:
/___ ;
M419;
□ Explanation
When pallet No. 1 has been loaded onto the machine table, block skip 1 is turned
off.
If pallet No. 2 is on the table, block skip 1 is turned on.
If neither pallet No. 1 nor No. 2 is on the table, the machine is stopped by an
alarm.
A dummy block for preventing pre-reading such as G53 is necessar y after
M417/M418.
□ Program Example
O1234;
M98 P9810;
M417;
G53;
/M98 P1; <-- Pallet 1, work offset setting, etc.
/M98 P10; <-- Pallet 1, tool prior-check
M418;
G53;
/M98 P2; <-- Pallet 2, work offset setting, etc.
/M98 P20; <-- Pallet 2, tool prior-check
M419;
G53;
:
Common program
for pallet 1 and pallet
2.
:
M98 P9820;
M30;
86 0844A-1502EN
Specification of M Codes
□ Program
M417;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M418;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M419;
□ Explanation
When pallet No. 1 has been loaded onto the machine table, block skip 1 is turned
on.
If pallet No. 2 is on the table, block skip 1 is turned off.
If neither pallet No. 1 nor No. 2 is on the table, the machine is stopped by an
alarm.
A dummy block for preventing pre-reading such as G53 is necessar y after
M417/M418.
□ Program Example
O1234;
M98 P9810;
M417;
G53;
/M98 P1; <-- Pallet 1, work offset setting, etc.
/M98 P10; <-- Pallet 1, tool prior-check
M418;
G53;
/M98 P2; <-- Pallet 2, work offset setting, etc.
/M98 P20; <-- Pallet 2, tool prior-check
M419;
G53;
:
Common program
for pallet 1 and pallet
2.
0844A-1502EN 87
Specification of M Codes
:
M98 P9820;
M30;
□ Program
M417;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M418;
G53; <-- Dummy block for preventing pre-reading
/___ ;
:
/___ ;
M419;
□ Explanation
Returns the status of block skip 1 to the setting that has been made on the main
control panel.
This is used together with M417 or M418.
□ Explanation
This M code is used to adjust the pallet seating check function.
M430 checks the seating condition of the pallet on the machine table. If seating
is not proper, a machine alarm occurs.
Normally seating is checked during the APC sequence, and there is no need to
specify this code in the program.
□ Explanation
Checks BTS circuit automatically.
88 0844A-1502EN
Specification of M Codes
□ Explanation
The BT flag of the tool data is checked.
□ Program Example
M434 Tcc;(T:Tool No.)
□ Explanation
The operation mode of ATCBTS is specified.
□ Program Example
M435 Spp;(S1:Vibration Control)
□ Explanation
Signal light 1 is turned on unconditionally.
Press [Light Off ] switch to turn off this lamp.
□ Explanation
Signal light 2 is turned on unconditionally.
Press [Light Off ] switch to turn off this lamp.
□ Explanation
This M code is used in the macro program for attachment changes.
□ Program
M448 S Tool Data Register Mode Data T Cutter No. ;
S Pot No. T Setting Data ;
:
S Pot No. T Setting Data ;
M448(M37,M30);
0844A-1502EN 89
Specification of M Codes
□ Explanation
Registers the desired tool data.
The magazine number is specified by M450 S__.
If M450 has not ever been specified, the magazine number is considered to be 1.
Specify the tool data registration mode with S in the same block as where M448 is
specified.
If M448 S0 is specified, or M448 is specified without S, the tool data registration
mode is turned off.
Specify the cutter number with T in the same block as where M448 is specif ied.
If M448 is specif ied without T, the cutter number is considered to be 1.
After the tool registration mode is turned on, the pot number is specif ied with S,
and the tool number is specif ied with T.
About tool data register mode and the setting data, please refer to the following
tool data register/setting data tables.
Tool Data Contents of Tool Setting Data (unit)
Register Mode Data
Data (M448S___)
1 Magazine 0:External Magazine
Number 1:The 1st Magazine
2:The 2nd Magazine
2 Pot Number 0 to Maximum Pot Number
4 Tool No.(PTN) (4 Digit PTN)0 to 9999
(8 Digit PTN)0 to 99999999
5 FTN (4 Digit FTN)0 to 9999
(8 Digit FTN)0 to 99999999
6 ITN (4 Digit ITN)0 to 9999
(8 digit ITN)0 to 99999999
7 Priority 0 to 65535
8 note 0 to 128
9 Through Spindle 0:Disable/1:Enable
Enable
10 Through Spindle 0 to 99999[ms]
Coolant Suction
T ime
11 ATC Speed 0:High/1:Low/2:Middle
14 TL Alarm 0:Disable/1:Enable
Prohibition
15 Sum of Cutter 1 to 6
18 Empty Pot 0:Disable/1:Enable
19 Irregular Shape 0:Disable/1:Enable
20 Commanded T (4 Digit PTN)0 to 9999
Code (8 Digit PTN)0 to 99999999
25 Tool Size 0:Standard/1:Medium/2:Large/3:Extra
large/4:Small/5:Extra large2
26 TSC Removal 0:Default Setting/1:Air Discharge/
2:Draw Back
28 Tool 0 to 9999999[0.0001mm]/[0.00001inch]
Length(Check)
90 0844A-1502EN
Specification of M Codes
29 Tool 0 to 9999999[0.0001mm]/[0.00001inch]
Diameter(Radius
)(Check)
34 TSC Frequency Minimum Frequency to Maximum
Frequency [Hz]Maximum Frequency:
Machine Parameter No. 07150-00
Minimum Frequency: Machine
Parameter No. 07150-01
35 TSC Flow Check 0:Disable/1:Enable
57 Seat Check 0:Disable/1:Enable
101 Cutter Number 1 to 6
102 Kind 0:
1:Drill
2:Ball End Mill
3:Flat End Mill
4:Boring Bar
5:Hale Bite
7:Tap8:Reamer
9:Face Mill
10:Probe
11:Grinding Tool
12:Dresser
14:Limited Tool
15:Air Turbine
16:NT Attachment
17:Angle Head
18:INCS NAKANISHI
19:Air Turbine Fix
21:Turning Tool
22:Chamfer Tool
23:Radius End Mill
24:Reference Tool
25:Calibration Tool
26:Setup
27:Special Tool-1
28:Special Tool-2
103 Tool -9999999 to
Length(Geometr 9999999[0.0001mm]/[0.00001inch]
y(H))
104 Tool -9999999 to
Length(Wear(H)) 9999999[0.0001mm]/[0.00001inch]
105 Tool -9999999 to
Radius(Geometr 9999999[0.0001mm]/[0.00001inch]
y(D))
106 Tool -9999999 to
Radius(Wear(D)) 9999999[0.0001mm]/[0.00001inch]
107 TL[T ime] 0:Disable/1:Enable
108 TL Alarm[T ime] 0 to 99999999[0.1s]
109 TL 0 to 99999999[0.1s]
Warning[T ime]
110 TL Value[T ime] -99999999 to 99999999[0.1s]
111 TL[Distance] 0:Disable/1:Enable
112 TL 0 to 999999999[mm]/[0.1inch]
0844A-1502EN 91
Specification of M Codes
Alarm[Distance]
113 TL 0 to 999999999[mm]/[0.1inch]
Warning[Distanc
e]
114 TL -999999999 to
Value[Distance] 999999999[mm]/[0.1inch]
115 TL[Count] 0:Disable/1:Enable
116 TL Alarm[Count] 0 to 99999
117 TL 0 to 99999
Warning[Count]
118 TL Value[Count] -99999 to 99999
119 SL Upper Limit 0 to 20000[0.01%]
120 SL Lower Limit 0 to 20000[0.01%]
121 AC 0 to 20000[0.01%]
122 Alarm BIT00=Fall Out Tool
BIT01=Broken Tool
BIT02=AC Moniter
BIT03=SL Moniter
BIT04=SL Moniter (No Load)
BIT05=Tool Life Moniter
BIT06=Tool ID Chip Error
BIT07=Not Inspected Tool
BIT08=STS not OK
123 Warning BIT00=Tool Life
127 BTS Length 0 to 9999999[0.0001mm]/[0.00001inch]
128 Operator Call 0:Disable/1:Enable
129 First Used 0:Disable/1:Enable
132 Spindle Speed 0 to 99999[min-1]
Limit
134 Surface Speed 0 to 9999[0.01m/s]/[0.01inch/s]
Limit Value
138 Tooth 0 to 255
139 Corner -9999999 to
R(Geometr y) 9999999[0.0001mm]/[0.00001inch]
140 Corner R(Wear) -9999999 to
9999999[0.0001mm]/[0.00001inch]
141 Radial Max. Load 0 to 99999
142 Axial Max. Load 0 to 99999
163 Cut Type 0:Standard/1:Light Cut/2:Heavy Cut
502 Nominal -9999999 to
9999999[0.0001mm]/[0.00001inch]
503 Nominal -9999999 to
9999999[0.0001mm]/[0.00001inch]
504 Tolerance (+) 0 to 9999999[0.0001mm]/[0.00001inch]
505 Tolerance (-) 0 to 9999999[0.0001mm]/[0.00001inch]
506 Tolerance (+) 0 to 9999999[0.0001mm]/[0.00001inch]
507 Tolerance (-) 0 to 9999999[0.0001mm]/[0.00001inch]
508 Prohibited Flag BIT00=ATC
BIT01=APC
92 0844A-1502EN
Specification of M Codes
BIT02=Used
BIT03=Spindle Rotation
BIT04=Spindle CW
BIT05=Spindle CCW
BIT06=TLS
BIT07=Retract at Power Failure
BIT08=One Touch Function
BIT09=B Axis Rotation
BIT10=Measurement
511 Max. Tool -9999999 to
Length 9999999[0.0001mm]/[0.00001inch]
512 Min. Tool Length -9999999 to
9999999[0.0001mm]/[0.00001inch]
513 Max. Tool Radius -9999999 to
9999999[0.0001mm]/[0.00001inch]
514 Min. Tool Radius -9999999 to
9999999[0.0001mm]/[0.00001inch]
601 Z shift Value -9999999 to
9999999[0.0001mm]/[0.00001inch]
602 Radius Shift -9999999 to
Value 9999999[0.0001mm]/[0.00001inch]
603 X Shift Value -9999999 to
9999999[0.0001mm]/[0.00001inch]
604 Y Shift Value -9999999 to
9999999[0.0001mm]/[0.00001inch]
605 Length 0:None/1:Request/2:Complete
606 Radius 0:None/1:Request/2:Complete
607 Spindle Speed 0 to 99999[min-1]
608 Warming-up 0 to 3600[s]
T ime
609 Cutting T ime 0 to 99999999[0.1s]
(After ATC)
610 Cutting Dist. 0 to 999999999[mm]/[0.1inch]
(After ATC)
□ Program Example
M448 S4; <-- Tool data registration mode ON.
S1 T1010; <-- Sets tool No.1010 to pot No.1.
S10 T1100; <-- Sets tool No.1100 to pot No.10.
S5 T1005; <-- Sets tool No.1005 to pot No.5.
M448 S5; <-- FTN registration mode.
S1 T1010; <-- Sets FTN1010 to pot No.1.
S10 T1100; <-- Sets FTN1100 to pot No.10.
S5 T1005; <-- Sets FTN1005 to pot No.5.
M448 S103 T1; <-- Tool length (Geometry) registration mode for
cutter No.1.
S1 T1010; <-- Sets tool length (Geometr y) 0.1010 to cutter
No.1 of pot No.1.
S10 M54 T1100; <-- Sets tool length (Geometr y) -0.1100 to cutter
0844A-1502EN 93
Specification of M Codes
94 0844A-1502EN
Specification of M Codes
□ Program
M449 S Pot No. T Cutter No. ;
S Tool Data Register Mode T Setting Data ;
:
S Tool Data Register Mode T Setting Data ;
M449(M37,M30);
□ Explanation
Registers the desired tool data.
The magazine number is specified by M450 S__.
If M450 has not ever been specified, the magazine number is considered to be 1.
If M448 is used, specify the tool data registration mode at first, then specify the
pot number.
Oppositely, if M449 is used, specify the pot n umber at first, then specify the tool
data registration mode.
This M code is suitable for registering multiple kinds of data for the tool.
Specify the pot number with S in the same block as where M449 is specif ied.
If M449 S0 is specified, or M449 is spec ified without S, the tool data registration
mode is turned off.
Specify the cutter number with T in the same block as where M449 is specif ied.
If M449 is specif ied without T, the cutter number is considered to be 1.
After the tool registration mode is turned on, the kind of data is specif ied with S,
and the data is specified with T.
About the tool data register mode and the setting data, refer to the tool data
register/setting data tables in M448 explanation.
□ Program Example
M449 S1 T1; <-- Tool data registration mode for cutter No.1 of
pot No.1
S4 T1010; <-- Sets 1010 to tool number.
S5 T1100; <-- Sets 1100 to FTN.
S103 T1005; <-- Sets 0.1005 to tool length (Geometry).
M449 S2 T3; <-- Tool data registration mode for cutter No.3 of
pot No.2
S103 M54 T1010; <-- Sets -0.1010 to tool length (Geometry).
S104 T1100; <-- Sets 0.1100 to tool length (Wear).
S105 T1005; <-- Sets 0.1005 to tool radius (Geometry)
M449; <-- Tool data registration mode OFF.
0844A-1502EN 95
Specification of M Codes
M450 Setting Tool Magazine No. used in Tool Data Registration Mode
□ Machine Type
All Machine Type
□ Program
M450 S Tool Magazine No. ;
□ Explanation
Sets the Tool magazine number.
Specify the Tool magazine number with S in the same block where M450 is
specified.
If M450 is specif ied without S, the Tool magazine number is set to 1.
The Tool magazine number is used by the tool data registration M codes (M448,
M449, M57, M94).
It is retained until NC is reset or until M450 is specified.
The Tool magazine number is set to 1 if the NC has been reset.
□ Program Example
M450 S0; <-- Magazine number is set to 0.
M448 S4; <-- Tool data registration mode for external tools.
S1 T1010; <-- Sets tool No.1010 to pot No.1.
S10 T1100; <-- Sets tool No.1100 to pot No.10.
S5 T1005; <-- Sets tool No.1005 to pot No.5.
M448; <-- Tool data registration mode OFF.
M450; <-- Magazine number is set to 1.
M448 S4; <-- Tool data registration mode for tools in magazine
No.1.
S1 T1010; <-- Sets tool No.1010 to pot No.1.
S10 T1100; <-- Sets tool No.1100 to pot No.10.
S5 T1005; <-- Sets tool No.1005 to pot No.5.
M448; <-- Tool data registration mode OFF.
96 0844A-1502EN
Specification of M Codes
□ Program
M451 S Cutter No. ;
□ Explanation
Specifies the cutter number of the spindle tool.
The cutter number specified by M451 is retained until M451 is specified or until
the ATC operation is completed.
The cutter number is set to 1 after the ATC operation.
□ Program Example
M450 S2; <-- Sets 2 to the cutter number of the spindle tool.
M56; <-- Transfers tool length and tool radius data of the
cutter No.2 to NC.
□ Explanation
MCRUN signal is turned OFF for JIG Interface.
□ Explanation
MCRUN signal is turned ON for JIG Interface.
□ Explanation
This M code is used in tool measuring program.
Outputs spindle speed, rotate direction, amount of tool direction transformation
compensation, spindle real speed to custom macro variable #100 -#103.
□ Explanation
Measure tool run out of spindle.
Result of measurement is outputted to macro value #100.
#100=0: Abnormal, Machine Alarm
#100=1: Run Out OK
#100=2: Run Out NG
#100=3: Spindle tool not exist
#100=4: Measurement unit abnormal
#100=5: Speed is different from speed at registration
#100=6: Request measurement tool is not registered
#100=8: Sensor is abnormal
0844A-1502EN 97
Specification of M Codes
□ Explanation
Registration tool base data of spindle.
Result of measurement is outputted to macro value #100.
#100=0: Abnormal, Machine Alarm
#100=1: Registration complete
#100=3: Spindle tool not exist
#100=4: Measurement unit abnormal
#100=7: Sum of tool is over limit
#100=8: Sensor is abnormal
□ Program
M462;
G53;
□ Explanation
Sends the number of the pallet loaded on the machine table to macro variable
#100.
In case the 4-face program automatic assignment function is provided, the face
number is also sent to #101. (However, the face number is not remained when the
machine is turned off. Therefore, the face number before the machine is turned off
cannot be sent.)
After M462, a dummy block for preventing pre -reading such as G53 must be
inserted before reading #100 or #101.
□ Program
M464;
G53;
#100=#1032;
M463;
□ Explanation
This M code outputs the measuring function printout status.
Normally the measuring printout status has been output to custom macro #1000,
#1001 and #1032, however when M464, M465, M468, M474, M946 or M974 is
executed, this status becomes unstable temporarily.
This M code outputs the printout status again.
98 0844A-1502EN
Specification of M Codes
□ Program
M464;
G53;
#100=#1032;
M463;
□ Explanation
The spindle tool number is output to custom macro #1032.
After reading #1032, specify M463 to output the measuring printout status again.
After sending M464 and before reading #1032, insert a dummy block for
preventing pre-reading such as G53.
□ Program
M465;
G53;
#100=#1032;
M463;
□ Explanation
The spindle tool number "0" is output to custom macro #1032.
After reading #1032, specify M463 to output the measuring printout status again.
After sending M465 and before reading #1032, insert a dummy block for
preventing pre-reading such as G53.
□ Explanation
The macro variable #100 value is read by machine side control.
This M code is used to specify the pallet number to be loaded before M608 for an
independent loading APM.
It is used to specify the position before M318 for external spindle orientation.
0844A-1502EN 99
Specification of M Codes
□ Program
M468;
G53;
IF[#100 EQ 0] GOTO10;
□ Explanation
Used when MCC is provided with an attachment to output the attachment number
to macro variable #100.
For MCC
#100 = 0.0 ...... No attachment
#100 = 13.0 ...... 25 Deg C axis attachment
#100 = 14.0 ...... Extension attachment
#100 = 15.0 ...... 25 Deg manual attachment
□ Explanation
Turns on the TL alarm suspend mode when the workpiece automatic
measuring/re-machining function is to be performed.
In this mode, since an alarm is not triggered even when a tool life alarm occurs,
the tool for which compensation is performed by the re -machining function is
called when the next machining process is performed, and not the spare tool.
This mode is canceled by M2/M30 or the workpiece automatic
measuring/re-machining termination program (O9793).
In particular, when O9793 is executed to cancel the mode, the suspended alarm is
registered.
□ Explanation
Turn off metallic cutting mode.
□ Explanation
Turn on metallic cutting mode.
100 0844A-1502EN
Specification of M Codes
□ Program
M474;
G53;
#100=#1032;
M463;
□ Explanation
Writes the next tool number (specified by T) to custom macro variable #1032.
After reading #1032, specify M463 to restore the measuring function printout
status.
After specifying M474 and before reading #1032, insert a dummy block for
preventing pre-reading such as G53.
□ Explanation
When system mode is on, reading request of the macro variable value is sent to
the host computer. The read macro variables are decided by the host computer
side setting. Machine alarm occurs in the following cases.
- Machine does not communicate with the host computer.
- Reading the macro variables was not completed within 60[s].
When system mode is off, M480 is completed in no request to the host computer.
□ Program
#100= Data Kind ;
#101= Data Detail 1 ;
#102= Data Detail 2 ;
#103= Data Detail 3 ;
#104= Data Detail 4 ;
#105= Data Detail 5 ;
#106= Data Detail 6 ;
#107= Data Detail 7 ;
#108= Data Detail 8 ;
#109= Data Detail 9 ;
M483;
G53; <-- Pre-Reading Prevention(Necessar y when
M483 is not specif ied as not-buffered M
code.)
□ Explanation
Outputs the values of mechanical data (tool data, work data, mechanical
parameters, mechanical condition, I/O signal condition, NC parameters, diagnosis
information, spindle monitoring data etc.) into macro variables.
0844A-1502EN 101
Specification of M Codes
After setting the type of required machine data with custom macro variable #100
to #109, specify M483.
The data is then output to macro variable #110.
When referring to the obtained data immediately after the M code, set the NC
parameter so that M483 is a non-buffered M code, or insert a G53 after the M
code to prevent pre-reading.
Set M483 to an empty NC parameter from No.3416 to No.3420 to specify M483 as
a non-buffered M-code.
Kind and Setting Value Table for the Tool Data (Value are all integers.)
Data of #102 Kind of Tool Output Data of #110 (unit)
Data
1 Magazine 0:External Magazine
Number 1:The 1st Magazine
2:The 2nd Magazine
2 Pot Number 0 to Maximum Pot Number
4 Tool No.(PTN) (4 Digit PTN)0 to 9999
(8 Digit PTN)0 to 99999999
5 FTN (4 Digit FTN)0 to 9999
(8 Digit FTN)0 to 99999999
6 ITN (4 Digit ITN)0 to 9999
(8 digit ITN)0 to 99999999
7 Priority 0 to 65535
8 note 0 to 128
9 Through Spindle 0:Disable/1:Enable
Enable
10 Through Spindle 0 to 99999[ms]
Coolant Suction
T ime
11 ATC Speed 0:High/1:Low/2:Middle
14 TL Alarm 0:Disable/1:Enable
102 0844A-1502EN
Specification of M Codes
Prohibition
15 Sum of Cutter 1 to 6
18 Empty Pot 0:Disable/1:Enable
19 Irregular Shape 0:Disable/1:Enable
20 Commanded T (4 Digit PTN)0 to 9999
Code (8 Digit PTN)0 to 99999999
25 Tool Size 0:Standard/1:Medium/2:Large/3:Extra
large/4:Small/5:Extra large2
26 TSC Removal 0:Default Setting/1:Air Discharge/
2:Draw Back
28 Tool 0 to 9999999[0.0001mm]/[0.00001inch]
Length(Check)
29 Tool 0 to 9999999[0.0001mm]/[0.00001inch]
Diameter(Radius
)(Check)
34 TSC Frequency Minimum Frequency to Maximum
Frequency [Hz]Maximum Frequency:
Machine Parameter No. 07150-00
Minimum Frequency: Machine
Parameter No. 07150-01
35 TSC Flow Check 0:Disable/1:Enable
57 Seat Check 0:Disable/1:Enable
101 Cutter Number 1 to 6
102 Kind 0:
1:Drill
2:Ball End Mill
3:Flat End Mill
4:Boring Bar
5:Hale Bite
7:Tap8:Reamer
9:Face Mill
10:Probe
11:Grinding Tool
12:Dresser
14:Limited Tool
15:Air Turbine
16:NT Attachment
17:Angle Head
18:INCS NAKANISHI
19:Air Turbine Fix
21:Turning Tool
22:Chamfer Tool
23:Radius End Mill
24:Reference Tool
25:Calibration Tool
26:Setup
27:Special Tool-1
28:Special Tool-2
103 Tool -9999999 to
Length(Geometr 9999999[0.0001mm]/[0.00001inch]
y(H))
104 Tool -9999999 to
Length(Wear(H)) 9999999[0.0001mm]/[0.00001inch]
0844A-1502EN 103
Specification of M Codes
104 0844A-1502EN
Specification of M Codes
0844A-1502EN 105
Specification of M Codes
Kind and the Setting Value Table for the Work Data (Values are all integers.)
Data of #103 Kind of Work Data Output Data of #110[unit]
1 Pallet No. 0 to 65535
3 Priority 0 to 65535
5 Express 0:OFF/1:ON
6 Index Face No. 0 to 255
20 Pallet Alarm 0 to 65535
25 WHP Trans. Limit 0:None/1:Angle Plate/2:RWH
26 Level 0 to 4
27 Cluster Pos. 0 to 6
28 On Rack 0:Emptiness/1:Existence
31 IAC Auto Measurement 0:Disable/1:Enable
103 Ready 0:OFF/1:ON
104 Suspend 0:OFF/1:ON
105 Fin Status 0 to 5
107 Work Offset(X Axis) -99999999 to 99999999
108 Work Offset(Y Axis) -99999999 to 99999999
109 Work Offset(Z Axis) -99999999 to 99999999
110 Index Angle 0 to 3599999
111 Block Skip 0 to 255
115 Alarm BIT00=Pre Tool Check
BIT01=Tool Broken(Long)
BIT02=Tool Broken
BIT03=AC Monitor
BIT04=SL Monitor
BIT05=SL Monitor(no load)
BIT06=Tool Life
BIT07=No Spare Tool
BIT08=No NC Program
BIT09=Pallet Seating Failure
BIT10=Measuring Failure
106 0844A-1502EN
Specification of M Codes
(4)Machine Condition
Macro Variable Setting Value
#100 4.0(Machine Condition)
#101 Kind of Machine Condition
Refer to the kind and setting value table for the machine
condition.
#110 Output Data
Refer to the kind and setting value table for the machine
condition.
#111 Output Data
Refer to the kind and setting value table for the machine
condition.
Kind and Setting Value Table for the Machine Condition (Value are all integers.)
0844A-1502EN 107
Specification of M Codes
(6)NC Parameter
Macro Variable Setting Value
#100 6.0(NC Parameter)
#101 NC Parameter Number
#102 Axis/Spindle Number (If type is axis or spindle, input this
item.)
1.Axis type
1 to max axis number.
0.0 or empty is alarm.
108 0844A-1502EN
Specification of M Codes
(7)Diagnose Data
Macro Variable Setting Value
#100 7.0(Diagnose Data)
#101 Diagnose Number
#102 Axis/Spindle Number (If type is axis or spindle, input this
item.)
1.Axis type
1 to max axis number.
0.0 or empty is alarm.
(9)Attachment Data
Macro Variable Setting Value
#100 9.0(Attachment Data)
#101 Attachment Number
#102 Data Kind
0: Stocker Number
1: Max Rotation Speed
2: Rotation Direction
0844A-1502EN 109
Specification of M Codes
4: Speed Ratio
5: Y axis position when attachment is changed
#110 Output Data
□ Program Example
1. Tool Data
(3) When SL data (Upper Limit) of cutter No.2 of 1st. Pot is output:
#100=1.; <-- Tool data output command.
#101=1.; <-- Selects pot No.1.
#102=119.; <-- Selects SL data (Upper Limit).
#103=2.; <-- Selects cutter No.2.
M483; <-- SL data of cutter No.2 of 1st. Pot is output.
G53; <-- Dummy block for preventing pre-reading.
(4) Outputs alarm data, and executes a process if an alarm had been given.
#100=1.; <-- Tool data output command.
#101=1.; <-- Selects pot No.1.
#102=122.; <-- Selects alarm data.
#103=2.; <-- Selects cutter No.2.
M483; <-- Alarm data is output.
110 0844A-1502EN
Specification of M Codes
2. Work Data
3. Machine Parameter.
4. Machine Condition.
0844A-1502EN 111
Specification of M Codes
6. NC Parameter
(1) When first path for byte type parameter No.103 is output:
#100=6.; <-- NC parameter output command
#101=103.; <-- Select NC parameter number
#104=1.; <-- Select path number
M483; <-- First path is output
G53; <-- Dummy block for preventing pre-reading.
(2) When all bits of second axis at f irst path for bit axis type parameter No.1005 is
output:
#100=6.; <-- NC parameter output command
#101=1005.; <-- Select NC parameter number
#102=2.; <-- Select axis number
#103=8.; <-- Select bit number
#104=1.; <-- Select path number
M483; <-- All bits of second axis at f irst path is output
G53; <-- Dummy block for preventing pre-reading.
(3) When first axis at second path for byte axis type parameter No.1020 is output:
#100=6.; <-- NC parameter output command
#101=1020.; <-- Select NC parameter number
#102=1.; <-- Select axis number
#104=2.; <-- Select path number
112 0844A-1502EN
Specification of M Codes
7. Diagnose Data
(1) When first path for byte type data No.704 is output:
#100=7.; <-- Diagnose Data output command
#101=704.; <-- Select Diagnose number
#104=1.; <-- Select path number
M483; <-- First path is output
G53; <-- Dummy block for preventing pre-reading.
(2) When all bits of second axis at first path for bit axis type data No.206 is
output:
#100=7.; <-- Diagnose Data output command
#101=206.; <-- Select Diagnose number
#102=2.; <-- Select axis number
#103=8.; <-- Select bit number (All bits)
#104=1.; <-- Select path number
M483; <-- All bits of second axis at f irst path is output
G53; <-- Dummy block for preventing pre-reading.
(3) When first axis at second path for byte axis type data No.300 is output:
#100=7.; <-- Diagnose Data output command
#101=300.; <-- Select Diagnose Data number
#102=1.; <-- Select axis number
#104=2.; <-- Select path number
M483; <-- First axis at second path is output
G53; <-- Dummy block for preventing pre-reading.
9. Attachment Data
0844A-1502EN 113
Specification of M Codes
□ Explanation
Retracts tailstock.
□ Explanation
Advances tailstock.
□ Explanation
Retracts tailstock position.
□ Explanation
Advances tailstock position.
□ Explanation
Check spindle tool life data and output WCHKRQ signal to Robot interface or
CHKREQ signal to JIG interface.
114 0844A-1502EN
Specification of M Codes
□ Explanation
Washing Robot starts.
□ Program Example
M500 S_;
(S instruction is program number of Robot)
□ Explanation
Washing Robot stops.
□ Program Example
M501
□ Explanation
Washing Robot forced end.
□ Program Example
M502
□ Explanation
Conf irm Washing Robot is in reference position.
□ Program Example
M503
□ Explanation
Turn OFF of Washing Robot Coolant.
□ Program Example
M504
0844A-1502EN 115
Specification of M Codes
□ Explanation
Turn ON of Washing Robot Coolant.
□ Program Example
M505
M507 Open ATC Shutter and Start Next Block before Shutter is Fully Open
□ Machine Type
Machines other than following.
V22 / V33i / V56i / V77 / V99 / iQ300 / FB127 / A99E / A100E
□ Explanation
Opens ATC shutter without waiting for DEN and returns FIN immediately.
□ Explanation
Set Table side JIG to neautral
□ Explanation
Set Table side JIG to unclamp
□ Explanation
Set Table side JIG to clamp
□ Explanation
Conf irm Work Seating on Table Side
□ Explanation
Unclamp Work
116 0844A-1502EN
Specification of M Codes
□ Explanation
Clamp Work
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
0844A-1502EN 117
Specification of M Codes
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used to control the JIG interface.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
118 0844A-1502EN
Specification of M Codes
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
0844A-1502EN 119
Specification of M Codes
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in the ATC macro program.
□ Program
M580;
□ Explanation
UMDO1(USDO1) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M581;
□ Explanation
UMDO1(USDO1) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M582;
□ Explanation
UMDO2(USDO2) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
120 0844A-1502EN
Specification of M Codes
□ Program
M583;
□ Explanation
UMDO2(USDO2) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M584;
□ Explanation
UMDO3(USDO3) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M585;
□ Explanation
UMDO3(USDO3) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M586;
□ Explanation
UMDO4(USDO4) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M587;
□ Explanation
UMDO4(USDO4) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
0844A-1502EN 121
Specification of M Codes
□ Program
M588;
□ Explanation
UMDO5(USDO5) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M589;
□ Explanation
UMDO5(USDO5) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M590;
□ Explanation
UMDO6(USDO6) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M591;
□ Explanation
UMDO6(USDO6) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M592;
□ Explanation
UMDO7(USDO7) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
122 0844A-1502EN
Specification of M Codes
□ Program
M593;
□ Explanation
UMDO7(USDO7) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Program
M594;
□ Explanation
UMDO8(USDO8) signal of special user I/O interface is turned off.
Other output signals in the same group are turned off.
□ Program
M595;
□ Explanation
UMDO8(USDO8) signal of special user I/O interface is turned on.
Other output signals in the same group are turned off.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
0844A-1502EN 123
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
Clamp work chuck.
Specify the work chuck number with S in the same block as where M604 is
specified.
If M604 S0 is specified, 604 S1 is specified, or 604 is specified without S, the No.1
work chuck clamp.
□ Explanation
Unclamp work chuck.
Specify the work chuck number with S in the same block as where M605 is
specified.
If M605 S0 is specified, 605 S1 is specified, or 605 is specified without S, the No.1
work chuck unclamp.
□ Program
M606 S Pallet (Work) Number T WSS Number
□ Explanation
Pallet in the stocker specif ied by S is transported to WSS specified by T.
When T is omitted, WSS1 is selected.
□ Program Example
M606 S1;
124 0844A-1502EN
Specification of M Codes
□ Program
1. For AWC
M606 S Pallet (Work) Number ;
□ Explanation
1. For AWC
Workpiece in the AWC magazine specif ied by S is transported to WSS.
□ Program Example
M606 S1;
□ Program
M607 T WSS Number ;
□ Explanation
Pallet on WSS specified by T is returned to the stocker.
When T is omitted, WSS1 is selected.
□ Program Example
M607;
0844A-1502EN 125
Specification of M Codes
□ Program
1. For AWC
M607;
2. Pallet magazine
M607 T WSS Number ;
□ Explanation
1. For AWC
Workpiece on WSS is returned to the AWC magazine.
2. Pallet magazine
Pallet on WSS specified by T is returned to the stocker.
When T is omitted, WSS1 is selected.
□ Program Example
M607;
126 0844A-1502EN
Specification of M Codes
□ Program
(1)Loads ready-pallet:
M608;
G91G28Z0.;
G91G28A0.M13;
M12;
G90G53Y-400.; (Set Y-15.748 at inch specification)
G91G30X0.;
G91G30C0.M11;
M10;
M60;
□ Explanation
(1)Loads ready-pallet:
Loads the pallet ready to the machine buffer.
There is no pallet to which ready has been turned on. In that case, lifter is moved
in front of the machine buffer (preparation for unloading).
(2)Loads specif ied pallet.
Set the pallet number to the macro variable #100, and command M466.
You can select by setting of the machine parameter No.08068 whether to stop the
machine with an alarm or not, if specif ied pallet isn't ready or the machine reserve
mode is ON.
(0:Stop with alarm/ 1:Not stop with alarm)
The pallet number for macro variable #100 must be with decimal point.
(Example: #100=1.0)
The specified pallet number is 0. In that case, lifter is moved in front of the
machine buffer (preparation for unloading).
□ Explanation
This M code is used in the one-touch function DNC program to indicate starting
of the function.
0844A-1502EN 127
Specification of M Codes
□ Explanation
(1)Loads ready-pallet:
:
M608;
G91 G30 Z0;
G91 G30 X0 Y0;
G91 G30 B0 M11;
M10;
M60;
:
Set the pallet number to the macro variable #100, and command M466. You can
select by setting of the machine parameter No.0806 8 whether to stop the
machine with an alarm or not, if specif ied pallet isn't ready or the machine reserve
mode is ON. (0:Stop with alarm/ 1:Not stop with alarm)
The pallet number for macro variable #100 must be with decimal point (Example:
#100=1.0)
The specified pallet number is 0. In that case, lifter is moved in front of the
machine buffer (preparation for unloading).
128 0844A-1502EN
Specification of M Codes
□ Program
(1)Loads ready-pallet:
G91G28Z0.;
G91G28A0.M13;
M12;
G90G00G53Y250. ; (Set Y9.842 at inch specification)
G90G00G53C-90.M11;
M10;
M608;
□ Explanation
(1)Loads ready-pallet:
Loads the pallet ready to the machine table.
There is no pallet to which ready has been turned on. In that case, lifter is moved
in front of the machine table (preparation for unloading).
(2)Loads specif ied pallet.
Set the pallet number to the macro variable #100, and command M466.
You can select by setting of the machine parameter No.08068 whether to stop the
machine with an alarm or not, if specif ied pallet isn't ready or the machine reser ve
mode is ON.
(0:Stop with alarm/ 1:Not stop with alarm)
The pallet number for macro variable #100 must be with decimal point.
(Example: #100=1.0)
The specified pallet number is 0. In that case, lifter is moved in front of the
machine table (preparation for unloading).
□ Program
M609;
□ Explanation
Pallet on the machine buffer is returned to the magazine stocker.
Nothing is done when there is no pallet in the machine buffer.
In the case of D500 micro MMC, WHP on the machine table is returned to the
WHP stocker.
0844A-1502EN 129
Specification of M Codes
□ Explanation
This M code is used in the one-touch function DNC program to unload the pallet.
□ Program
G91G28Z0.;
G91G28A0.M13;
M12;
G90G00G53Y250. ; (Set Y9.842 at inch specification)
G90G00G53C-90.M11;
M10;
M609;
□ Explanation
Pallet on the machine table is returned to the magazine stocker.
Nothing is done when there is no pallet in the machine table.
□ Explanation
Retracts Step(Lift)
□ Explanation
Retracts the step for operator, which is used to mount or dismount an attachment
to the spindle, if the machine has a semi -automatic attachment changer.
□ Explanation
Advances Step(Down)
□ Explanation
Advances the step for operator, which is used to mount or dismount an
attachment to the spindle, if the machine has a semi -automatic attachment
changer.
130 0844A-1502EN
Specification of M Codes
□ Program
W Work Number ;
M612;
□ Explanation
Exchanges workpiece on AWC stocker with workpiece on table.
□ Program Example
W1;
G91 G30 P3 Z0;
G91 G30 P3 X0 Y0;
M612;
□ Program
W Work Number ;
M612;
□ Explanation
Exchanges workpiece on the AWC arm (WPM sub arm) with workpiece on machine
table.
□ Program Example
W1;
G91 G30 Z0.;
G91 G30 B0. M11;
M10;
G91 G30 C0. M13;
M12;
M612;
□ Program
M613;
□ Explanation
Moves workpiece from table to AWC stocker.
□ Program Example
G91 G30 P3 Z0;
G91 G30 P3 X0 Y0;
M613;
0844A-1502EN 131
Specification of M Codes
□ Program
W Work Number ;
M614;
□ Explanation
Moves workpiece from AWC stocker to table.
□ Program Example
W1;
G91 G30 P3 Z0;
G91 G30 P3 X0 Y0;
M613;
M614;
□ Explanation
Turns on the stroke limit mode. The stroke limit mode is turned on automatically
after the emergency stop status is released or the machine power is turned on or
after the NC unit is reset.
□ Explanation
Stroke limit is ignored temporarily.
□ Explanation
The customer cannot use it.
□ Program
M630 S Z Axis Position ;
□ Explanation
Indicate the escape range between spindle and work (Z axis) to tool change.
If Z axis is in range of -xxx[mm] to 0[mm] when M630Sxxx is performed, tool
change is possible.
132 0844A-1502EN
Specification of M Codes
□ Program
M631 S Work Number ;
□ Explanation
The function is the same as W command.
Workpiece in the AWC magazine specif ied by S is moved to the AWC arm.
This M code is immediately completed without waiting for the completion of the
operation.
□ Program Example
M631 S1;
□ Program
M631 S Work Number ;
□ Explanation
Select work that loaded by load command.
□ Program Example
M631 S1;
□ Explanation
Index demand is transmitted to AWC
□ Program Example
W1;(No.1)
M612;
□ Explanation
Close front door.
0844A-1502EN 133
Specification of M Codes
□ Explanation
Open front door.
□ Explanation
Releases prohibition of the execution of ATC set by M636
□ Explanation
Prohibits execution of ATC operations
□ Explanation
Closes ATC shutter.
□ Explanation
Closes ATC shutter / cover.
□ Explanation
Opens ATC shutter.
□ Explanation
Opens ATC shutter / cover.
134 0844A-1502EN
Specification of M Codes
□ Explanation
Turns off air cut mode.
□ Explanation
Turns on air cut mode.
□ Explanation
Write program number to macro variable #100 after get program number from
the robot.
□ Explanation
Writes whether or not machining workpiece is exist to macro variable #100.
#100=0 (Does not exist machining workpiece)
#100=1 (Exists machining workpiece)
M644 Open APC Shutter and Start Next Block before Shutter is Fully Open
□ Machine Type
a61nx / G7
□ Explanation
Opens APC shutter without waiting for DEN and returns FIN immediately.
0844A-1502EN 135
Specification of M Codes
□ Program
G91 G28 Z0;
G28 Y0 M661;
M11;
G90 G01 B___ F___;
M10;
M662;
:
□ Explanation
[M code for decreasing machining time]
Specifies tool change internally without waiting for DEN signal, and returns FIN
signal immediately.
End of tool change is checked by M662.
□ Program
G91 G28 Z0;
G28 Y0 M661;
M11;
G90 G01 B___ F___;
M10;
M662;
:
□ Explanation
Checks completion of tool change specified by M661.
□ Explanation
This M code is used in the ATC subprogram.
136 0844A-1502EN
Specification of M Codes
□ Program
M666;
□ Explanation
Exchanges the spindle tool with the tool in Tool magazine indexed at the position
of next tool, or the tool on ATC arm.
The typical content is as follows:
(a) Coolant is stopped.
(b) Orients and stops the spindle.
(c) Exchanges the spindle tool.
(d) Resumes coolant.
There is the one which does not return according to the version
of the model and software either about the coolant.
□ Explanation
This M code is used in the ATC subprogram.
0844A-1502EN 137
Specification of M Codes
□ Program
M666;
□ Explanation
Exchanges the spindle tool with the tool in Tool magazine indexed at the position
of next tool, or the tool on ATC arm.
The typical content is as follows:
(a) Coolant is stopped.
(b) Orients and stops the spindle.
(c) Exchanges the spindle tool.
(d) Resume
□ Program Example
M319;
G91 G28 Z0;
G91 G28 A0 M13;
M12;
M666;
□ Explanation
Check The spindle tool exist and coherent.
□ Explanation
Pallet Clamp(Setting f inish)
□ Program Example
M670;
138 0844A-1502EN
Specification of M Codes
□ Explanation
Pallet Unclamp(Setting standby)
□ Program Example
M671;
□ Explanation
The customer cannot use it.
□ Explanation
Releases prohibition of the execution of APC
□ Explanation
Prohibits execution of APC operations
□ Explanation
Work clamp (WKCLP) check mode is disabled.
And M02, M30 and emergency switch can disable this mode.
□ Explanation
Work clamp (WKCLP) check mode is enabled.
And M02, M30, M685 and emergency switch can disable this mode.
0844A-1502EN 139
Specification of M Codes
□ Explanation
Set vacuum pipe to OPEN by turned off the vacuum pipe valve(SL1684).
□ Program Example
M687;
□ Explanation
Set vacuum pipe to CLOSE by turned on the vacuum pipe valve(SL1684).
□ Program Example
M688;
□ Explanation
Index table pallet.
□ Explanation
Turns off angle plate/table/RWH/SG cleaning coolant.
□ Explanation
Turns on angle plate/table/RWH/SG cleaning coolant.
□ Explanation
Turns on additional nozzle coolant.
140 0844A-1502EN
Specification of M Codes
□ Program
G01 X___ Y___ F___ M709;
□ Explanation
Stops all the coolant without waiting for the end of travel command distribution
(DEN) signal.
□ Explanation
Turns off the mist collector.
□ Explanation
Turns on the mist collector.
□ Explanation
Turns off Stylus Cleaning Air.
□ Explanation
Turns on Stylus Cleaning Air.
□ Explanation
Turns off the high power (ceiling) coolant.
0844A-1502EN 141
Specification of M Codes
□ Explanation
Stops rotation of the workpiece after axis travel if the work-one-revolution signal
is ON.
The stop procedure when the signal is ON is different from that when the signal is
OFF.
The stop procedures for each case are as follows:
□ Explanation
Rotates the workpiece in CW direction.
When it is specified in the same block as axis travel, the workpiece is rotated
without waiting for completion of axis travel.
(Started together with axis travel).
□ Explanation
Rotates the workpiece in CCW direction.
When it is specified in the same block as axis travel, the workpiece is rotated
without waiting for completion of axis travel.
(Started together with axis travel).
□ Explanation
Specifies rotation speed of the workpiece.
The speed is specified with S in the same block as where the M code is specif ied.
Range of S is from 1 to 100 [min-1].
This code is effective only when the workpiece is stopped.
142 0844A-1502EN
Specification of M Codes
□ Program
1. For 4-Step Pressure Changeover
M732;
□ Explanation
1. For 4-Step Pressure Changeover
Coolant is turned on with pressure setting 1.
□ Program Example
1. For 4-Step Pressure Changeover
M732;
□ Explanation
Coolant is turned on with pressure setting 2 if two or more pressure levels are
available.
□ Explanation
Coolant is turned on with pressure setting 3 if two or more pressure levels are
available.
□ Explanation
Coolant is turned on with pressure setting 4 if two or more pressure levels are
available.
0844A-1502EN 143
Specification of M Codes
M736 Lighting ON
□ Machine Type
All Machine Type
□ Explanation
Turns on the machine light.
□ Explanation
Turns off the machine light.
□ Explanation
Stops the inner chip conveyor.
□ Explanation
Starts the inner chip conveyor.
□ Explanation
Stops the oil skimmer.
□ Explanation
Starts the oil skimmer.
□ Explanation
Turns on spindle upper nozzle coolant.
□ Explanation
Supplies measuring head cleaning air for one second in the automatic measuring
macro program.
144 0844A-1502EN
Specification of M Codes
□ Explanation
Turns on IMM cleaning air.
□ Explanation
Turns off IMM cleaning air.
□ Explanation
Turns on the IMM cleaning air on mode.
In this mode, the cleaning air is turned on during automat ic operation while the
spindle is rotated.
□ Explanation
Turns off M750 mode.
□ Explanation
Turns on base coolant.
□ Explanation
Turns on coolant for telescopic cover.
□ Explanation
Turns on air blow.
0844A-1502EN 145
Specification of M Codes
□ Explanation
Turns off coolant for telescopic cover.
□ Explanation
Turns off base coolant.
□ Explanation
Used in the tool length automatic measuring macro program. Turns off tool
cleaning air.
□ Explanation
Used in the tool length automatic measuring macro program. Turns on tool
cleaning air.
□ Explanation
Sets amount of through spindle coolant to standard.
□ Explanation
Sets amount of through spindle coolant to high.
□ Explanation
Workpiece rotation mode is turned on. This M-code is used when flexible
synchronize that master axis is RWH axis and workpiece rotation are used at the
same time. Flexible synchronize turns on after workpiece rotation mode is turned
on.
146 0844A-1502EN
Specification of M Codes
□ Explanation
Turns off Cutting Surface Cleaning Air
□ Explanation
Turns on Cutting Surface Cleaning Air
□ Explanation
Sets amount of oil on MQL to low.
□ Explanation
Sets amount of oil on MQL to standard.
□ Explanation
Sets amount of oil on MQL to high.
□ Explanation
Sets mist pressure on MQL to high.
□ Explanation
Sets mist pressure on MQL to standard.
0844A-1502EN 147
Specification of M Codes
□ Explanation
Through spindle coolant is stopped.
The coolant is not removed in this command.
□ Program Example
M795
□ Explanation
Turns the flange cleaning air on.
□ Explanation
Grinding nozzle retract.
□ Explanation
Grinding nozzle advance.
□ Explanation
Spindle Nose Nozzle Coolant Off
□ Explanation
Spindle Nose Nozzle Coolant On
□ Explanation
Release pause of central coolant pump by M851 command.
The central coolant pause mode is turned on automatically after the emergency
stop status is released or the machine power is turned on or after the NC unit is
reset.
148 0844A-1502EN
Specification of M Codes
□ Explanation
Stop the central coolant pump.
□ Explanation
Set flexible synchronize 1(MTA) Enable.
□ Explanation
Set flexible synchronize 1(MTA) Disable.
□ Explanation
Set flexible synchronize 2(MTB) Enable.
□ Explanation
Set flexible synchronize 2(MTB) Disable.
□ Explanation
Set flexible synchronize 3(MTC) Enable.
□ Explanation
Set flexible synchronize 3(MTC) Disable.
0844A-1502EN 149
Specification of M Codes
□ Explanation
Set flexible synchronize 4(MTD) Enable.
□ Explanation
Set flexible synchronize 4(MTD) Disable.
□ Explanation
Chuck Cleaning Coolant OFF
□ Program Example
M860
□ Explanation
Chuck Cleaning Coolant ON
□ Program Example
M861
□ Explanation
Chuck Cleaning Air OFF
□ Program Example
M862
□ Explanation
Chuck Cleaning Air ON
□ Program Example
M863
150 0844A-1502EN
Specification of M Codes
□ Explanation
S code with M code stops each Air/Coolant.
M864; Tool Cleaning Air /Coolant OFF
M864 S1; Tool Cleaning Air OFF
M864 S2; Tool Cleaning Coolant OFF
□ Explanation
S code with M code starts each Air/Coolant.
M865; Tool Cleaning Air /Coolant ON
M865 S1; Tool Cleaning Air ON
M865 S2; Tool Cleaning Coolant ON
□ Explanation
Tool Cleaning Nozzle is Retracted.
□ Explanation
Tool Cleaning Nozzle is Advanced.
□ Explanation
Turns off programmable coolant nozzle.
□ Explanation
Turn Drawing Pump OFF.
□ Program Example
M881;
0844A-1502EN 151
Specification of M Codes
□ Explanation
Turn Drawing Pump ON.
□ Program Example
M882;
□ Explanation
Turns the angle head coolant on.
□ Program
M884 S Inner Chip Conveyor Speed ;
□ Explanation
Set inner chip conveyor speed.
Command S code for speed in same block.
Speed mode
S1: High Speed
S2: Middle Speed
S3: Low Speed
Commanded speed is changed to Machine Parameter No.07075 speed by follow
action.
(1)M2/M30 Command
(2)Emergency Stop
(3)Machine Power Off
□ Explanation
Turns the angle head support pin cle aning air on.
□ Explanation
Turns on tool cleaning air 2.
152 0844A-1502EN
Specification of M Codes
□ Explanation
Turns off terrace cleaning coolant.
□ Explanation
Turns on terrace cleaning coolant.
□ Explanation
Set amount of mist air standard.
□ Explanation
Set amount of mist air fewer.
□ Explanation
Turns the nozzle coolant off.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
0844A-1502EN 153
Specification of M Codes
□ Explanation
The increase air of the mist generation device is turned off.
□ Explanation
The increase air of the mist generation device is turned on.
□ Explanation
When coolant pause switch (Coolant ON/OFF) is pushed, coolant pause can be
released by this M code.
□ Explanation
Attachment lubrication is turned off.
The purpose of this M code is to remove a deteriorated lubricant among
attachments after the attachment for a long term had not been used.
□ Explanation
Attachment lubrication is turned on during maintenance mode.
The purpose of this M code is to remove a deteriorated lubricant among
attachments after the attachment for a long term had not been used.
□ Explanation
The customer cannot use it.
□ Explanation
Use this M code when the alarm is generated in the macro program.
154 0844A-1502EN
Specification of M Codes
□ Program
M904 S___;
□ Explanation
This M code is used in tool measuring program.
Input/Output the calibration data of tool measuring.
□ Program
M905 S___ T___;
□ Explanation
This M code is used in automatic work measuring program.
Input/Output the calibration data of automatic workpiece measuring.
□ Explanation
M code for radical mode calculation.
□ Explanation
Use in setting measuring
Get skip position
□ Program Example
M907
0844A-1502EN 155
Specification of M Codes
□ Program
M908;
G53
□ Explanation
Get probe displacement and set to macro value.
□ Explanation
This M code is used in the workpiece automatic measuring macro program.
It cancels the workpiece automatic measuring mode.
□ Explanation
This M code is used in the workpiece automatic measuring macro program.
It checks whether or not the measuring head batter y is OFF.
If the battery is ON, an alarm occurs.
□ Explanation
(1) Measuring unit is made by BLUM
This M code is used in single edge detect function.
M912S1 :Single edge open detection mode
M912S2 :Single edge interrupt detection mode
M912 :Finish single edge detection
156 0844A-1502EN
Specification of M Codes
□ Program
M919 S Increment/Decrement ;
□ Explanation
Specify the value to be added or subtracted with S in the block as M919. When
this value is specif ied, it is added or subtracted to the tool life on the tool data
screen.
If M919 is specif ied without S, it is considered to be M919 S1.
The number specified with S is added to the counter or subtracted from the
counter according to the setting of machine parameter No. 01028.
□ Program Example
[Subtraction mode]
O1234;
:
Machining Program
:
M919; <-- Subtracts 1 from a remaining count of
workpiece.
:
Machining Program
:
M919 S3; <-- Subtracts 3 from a remaining count of
workpiece.
M30;
0844A-1502EN 157
Specification of M Codes
□ Program
#100= Tool Length Measuring Data ;
#109= Tool Specifying ;
M920;
□ Explanation
Writes data for macro variable #100 to tool length data in the tool database for
spindle tool or special tool.
Set 0 or blank to macro variable #109 for the spindle tool, or set the tool number
for the special tool.
Set the NC parameter to specify M920 as a non -buffered M code, or insert a G53
after the M code to prevent pre-reading.
There are two kinds of tool length data on the "Tool Data" screen: Geometry (H)
and Wear (H).
The data written to the macro variable #100 i s merged with that data.
Therefore, the data is written as follows in the tool data.
Tool Length (Geometry(H)) = #100
Tool Length (Wear(H)) = 0
□ Program Example
O1234;
T1;
M6;
#100=123.456;
#109=0;
M920; <-- Writes 123.456 into tool data of spindle tool.
:
Machining Program
:
#100=-10.000;
#109=1234.0;
M920; <-- Writes -10.000 into tool data of the tool
No.1234.
M30;
158 0844A-1502EN
Specification of M Codes
□ Program
#100= Tool Radius Measuring Data ;
#109= Tool Specifying ;
M921;
□ Explanation
Writes data for macro variable #100 to tool radius data in the tool database for
spindle tool or special tool.
Set 0 or blank to macro variable #109 for the spindle tool, or set the tool number
for the special tool.
Set the NC parameter to specify M921 as a non -buffered M code, or insert a G53
after the M code to prevent pre-reading.
There are two kinds of tool radius data on the "Tool Data" screen: Geometry (D)
and Wear (D).
The data written to macro variable #100 is merged with that data.
Therefore, the data is written as follows to the tool data:
Tool Radius (Geometry(D)) = #100
Tool Radius (Wear(D)) = 0
□ Program Example
O1234;
T1;
M6;
#100=12.3456;
#109=0;
M921; <-- Writes 12.3456 into tool radius data of
spindle tool.
:
Machining Program
:
#100=10.000;
#109=1234.0;
M921; <-- Writes 10.000 into tool radius data of the
tool no.1234.
M30;
0844A-1502EN 159
Specification of M Codes
□ Program
#100= Tool Radius Measuring Data ;
#109= Tool Specifying ;
M922;
M920;or M921;
□ Explanation
The add mode for adding of data to the macro variable for the tool data when the
tool data is written with M920 or M921 is turned ON.
As this mode is momentar y, it must be specified before M920 or M921 every time.
□ Program Example
O1234;
T1;
T6;
:
Machining Program
:
#100=-0.010; <-- Adds -0.010 to tool length data
(Geometry(H)) of spindle tool.
#109=0;
M922;
M920;
#100=0.030; <-- Adds 0.030 to tool radius data
(Geometry(D)) of spindle tool.
#109=0;
M922;
M921;
:
Machining Program
:
M30;
160 0844A-1502EN
Specification of M Codes
□ Program
M926;
G91 G01 X___ Y___ F___;
:
M926;
G91 G01 X___ Y___ F___;
:
M925;
□ Explanation
Ring sensor monitor mode is turned off.
When work has never contact (SKIP signal has never been turned on), alarm is
generated.
□ Program
M926;
G91 G01 X___ Y___ F___;
:
M926;
G91 G01 X___ Y___ F___;
:
M925;
□ Explanation
Ring sensor monitor mode is turned on.
The contact check with work (SKIP signal check) is started after this mode is
turned on.
When work has never contact (SKIP signal has never been turned on), alarm is
generated by M925 or next M926.
□ Explanation
Used in the macro program for Rak rak checker.
□ Explanation
Used in the macro program for Rak rak checker.
0844A-1502EN 161
Specification of M Codes
□ Explanation
This M code is used in the automatic measuring macro program.
If the results are illegal after automatic measurement, a measuring alarm is
triggered and the operator call function or automatic reject function is turned on,
depending on the machine operation mode.
Differing from M35, a BTS alarm is not triggered for the previous t ool.
□ Explanation
This M code is used in the automatic measuring macro program.
For a workpiece automatic measuring system, the communication status between
the probe and receiver, and skip signal status are output to the macro variables.
□ Program
M946;
G53;
#100=#1032;
M463;
□ Explanation
Writes pot number to which the spindle tool is returned, to the macro variable
#1032.
After reading #1032, execute M463 to restore printout mode output.
After M946 and before reading #1032, insert a dummy block for preventing
pre-reading such as G53.
□ Program
M947;
G53;
#100=#1032;
M463;
□ Explanation
Writes pot number to which the next tool (tool specified with T) is returned to
macro variable #1032.
After reading #1032, execute M463 to restore printout mode output.
After M947 and before reading #1032, insert a dummy block for prev enting
pre-reading such as G53.
162 0844A-1502EN
Specification of M Codes
□ Explanation
This M code is used in the ATC macro program.
□ Explanation
This M code is used in tool measurement macro program.
□ Program
#101= Function Number ;
#102= Head Number ;
#103= Parameter Number ;
#104= Parameter Setting Value ;
#108= Point Number ;
M951;
G53;
□ Explanation
Start Blum Bore Gauge.
Macro value is changed by machine parameter No.01117.
Refer to follow table for macro value of input/output.
Function Macro Value(Input) Macro Value(Output)
Name
Measuring #101=1. #105= Result
#102= Head Number #106= Measuring
#108= Point Number Result(Unit:0.1um)
#107= Batter y Remain(Unit:%)
Calibration #101=2. #105= Result
#102= Head Number #106= Calibration Result
#108= Point Number (Unit:0.1um)
Write #101=3. #105= Result
Parameter #102= Head Number
#103= Parameter Number
(4:Gauge Compensation,6:Head
Number)
#104= Parameter Setting Value
(Gauge Compensation
(Unit:1um))
Read #101=4. #105= Result
Parameter #102= Head Number #106= Parameter Setting Value
#103= Parameter Number (Gauge Compensation
(4:Gauge Compensation, (Unit:1um)
5:Calibration, 6:Head Number) ,Calibration (Unit:0.1um))
Read Head #101=5. #105= Result
0844A-1502EN 163
Specification of M Codes
□ Program Example
#101=1.; <-- Measuring
#102=3.; <-- Head Number No.3
#108=0.; <-- Point NumberNo.0
M951; <-- Blum Bore Gauge Start
G53; <-- Dummy block for preventing pre-reading.
IF[#105 NE 0] GOTO100; <-- If result is not 0
IF[#106 GE 300.] GOTO110; <-- If measuring result is greater than
+30.0um
IF[#106 LE -300.] GOTO110; <-- If measuring result is less than -30.0um
□ Explanation
This M code is used in tool measurement macro program.
□ Explanation
Specifies OFF for the measuring head, waits for 2 seconds, and then checks
whether or not the power for the measuring head has been turned off.
□ Explanation
Specifies ON for the measuring head, waits for 2 seconds, and then checks
whether or not the power of the measuring head has been turned on.
□ Explanation
Turns off the power for measuring head.
□ Explanation
Turns on the power for measuring head.
164 0844A-1502EN
Specification of M Codes
□ Explanation
This M code is used in the macro program for FF-PATH.
□ Explanation
Closes the cover for the second measuring unit.
□ Explanation
Opens the cover for the second measuring unit.
□ Explanation
Stop image tool measure tool cleaning air.
□ Explanation
Blow image tool measure tool cleaning air.
□ Explanation
This M code is used in tool measurement macro program.
0844A-1502EN 165
Specification of M Codes
□ Explanation
This M code is used in the macro program for the rotary axis coordinate calculate
function.
□ Explanation
The customer cannot use it.
□ Explanation
The indexing accuracy of the tilting axis to the workpiece weight is optimized.
□ Explanation
Ditch processing mode by continuous yen movement OFF
□ Explanation
Ditch processing mode by continuous yen movement ON
□ Explanation
Stop chopping.
□ Program
M1105 S___;
□ Explanation
Start chopping at the movement distance specified by S code.
The speed is set by machine parameter No.05153.
166 0844A-1502EN
Specification of M Codes
□ Explanation
[a51nx,a61nx,D300,D500,V33i-5XB,V56i-5XB]
IAC data becomes enabled.
[D800Z]
IAC-E, IAC-E(T ilt angle) is enabled.
For IAC-E. IAC of the maximum weight is set when instructing with S0. When S
code is omitted, a usual setting using the measuring data of the work data is
done.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
Rotation axis correction off.
□ Explanation
Rotation axis correction on.
□ Explanation
Smooth control off.
0844A-1502EN 167
Specification of M Codes
□ Explanation
Smooth control on.
□ Program
M1116 S Feed Axis Number ;
□ Explanation
This M code is for our f ield service.
Only the accuracy check in the preparations for high accuracy machining is
performed for the feed axis specified by S code.
□ Program
M1117 S Feed Axis Number ;
□ Explanation
Preparations for high accuracy machining is performed for the feed axis specif ied
by S code.
When S code is omitted, preparations for high accuracy machining is performed
for the feed axes set to machine parameter No.17001-17006.
□ Explanation
The customer cannot use it.
168 0844A-1502EN
Specification of M Codes
M1119 Axis Composition Change Request for 5-Axis Machining Function (D)
□ Machine Type
All Machine Type
□ Program
M1119 S Specify Number ;
□ Explanation
Request Axis Composition Change for 5-Axis Machining Function
□ Explanation
The customer cannot use it.
□ Program
M1121;
□ Explanation
Smooth control of Tool Center Point Control ON
□ Program
M1122;
□ Explanation
Fairing OFF
M1123 Fairing ON
□ Machine Type
All Machine Type
□ Program
M1123;
□ Explanation
Fairing ON
□ Explanation
All axes that have been turned on are turned off.
0844A-1502EN 169
Specification of M Codes
□ Explanation
Argument S: The NC control axis that makes the function effective is specified.
(S1:X, S2:Y...)
When omitting it, it turns it on to the axis set that effective in the machine
parameter (No.18007).
□ Program
M1130 S Cut Type
□ Explanation
Change Cut Type.
□ Program
M1156;
□ Explanation
Transfers all cutter's tool offset data at a time.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
170 0844A-1502EN
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Program
M1197 S Group Number ;
□ Explanation
Execute flexible shynchronize auto phase adjustment.
If fielxbiel shynchronize is disable, no action.
□ Explanation
Turn off whetstone change.
□ Explanation
Turn on whetstone change.
□ Explanation
Air spindle air off
□ Program Example
M1302;
□ Explanation
Air spindle air on
□ Program Example
M1303;
0844A-1502EN 171
Specification of M Codes
□ Explanation
Turn axis brake off.
□ Explanation
Turn axis brake on.
□ Explanation
Air Spindle Pressure 1 is selected.
□ Program Example
M1306;
□ Explanation
Air Spindle Pressure 2 is selected.
□ Program Example
M1307;
□ Explanation
Air Spindle Pressure 3 is selected.
□ Program Example
M1308;
□ Explanation
Air Spindle Pressure 4 is selected.
□ Program Example
M1309;
172 0844A-1502EN
Specification of M Codes
□ Explanation
Disables spindle speed limitation at spindle idling.
S-code more than maximum spindle speed at spindle idling is enabled, but
spindle cannot start.
□ Explanation
Enables spindle speed limitation at spindle idling.
Or enables it when NC reset or emergency switch is pushed.
M1312 Feed Axis Additional Oil Controller Differential Temperature Control Mode ON
□ Machine Type
D500
□ Explanation
Enables feed axis additional oil controller differential temperature control mode.
The differential temperature setting is automatically changed according to the
axis speed in this mode.
This mode is selected when machine power is turned on.
M1313 Feed Axis Additional Oil Controller Differential Temperature Control Mode OFF
□ Machine Type
D500
□ Explanation
Disables feed axis additional oil controller differential temperature control mode.
M1314 Feed Axis Additional Oil Controller Differential Temperature Control Data Output
□ Machine Type
D500
□ Program
M1314 S Differential Temperature Control Data ;
□ Explanation
Output differential temperature control data that specified by S code of the same
block.
Specifying this M code, disables differential temperature control mode.
□ Explanation
The feed axis oil controller which has been pausing with M1319 restarts.
0844A-1502EN 173
Specification of M Codes
□ Explanation
The feed axis oil controller pauses.
It restarts with M1318 or NC reset.
M1323 Feed Axis Additional Oil Controller (By Temperature) Differential Temperature
Control Mode ON
□ Machine Type
D500
□ Program
M1323;
□ Explanation
Enables feed axis additional oil controller differential temperature control mode.
The differential temperature setting is automatically changed according to the
axis speed in this mode.
This mode is selected when machine power is turned on.
M1324 Feed Axis Additional Oil Controller (By Temperature) Differential Temperature
Control Mode OFF
□ Machine Type
D500
□ Program
M1324;
□ Explanation
Disables feed axis additional oil controller differential temperature control mode.
M1325 Feed Axis Additional Oil Controller (By Temperature) Differential Temperature
Control Data Output
□ Machine Type
D500
□ Program
M1325 S Differential Temperature Control Data ;
□ Explanation
Output differential temperature control data that specified by S code of the same
block.
Specifying this M code, disables differential temperature control mode.
□ Explanation
It is open command of the connector cover of electric attachment spindle.
174 0844A-1502EN
Specification of M Codes
□ Explanation
It is close command of the connector cover of electric attachment spindle.
□ Program
M1330 S Speed ;
□ Explanation
Set speed of Electric attachment spindle.
□ Explanation
It is electric attachment spindle rotation command.
□ Explanation
It is electric attachment spindle reverse-rotation command.
The direction of the rotation cannot be changed while rotating.
□ Explanation
It is electric attachment spindle stop command.
□ Explanation
It is electric attachment spindle proofreading rotation command.
0844A-1502EN 175
Specification of M Codes
□ Program
M1335;
□ Explanation
Strong clamp mode is turned off.
When clamp (M10/M12/M110) is commanded, clamp solenoid is not controlled
and the axis is clamped at standard power.
Standard clamp is used to the machining that accuracy is demanded.
□ Program
M1336;
□ Explanation
Strong clamp mode is turned on.
When clamp (M10/M12/M110) is commanded, clamp solenoid is controlled and
the axis is clamped at strong power.
Strong clamp is used to the machining that accuracy is not demanded (rough
machining etc.).
□ Explanation
The clamp ignore mode is turned off.
The clamp ignore mode is turned off by NC reset, emergency stop switch, M02
and M30 too.
□ Explanation
The clamp ignore mode is turned on.
When the clamp ignore mode is turned on by the unclamp condition, clamp
operation is disabled.
176 0844A-1502EN
Specification of M Codes
M1339 High Accuracy A and C Axes Oil Controller Differential Temperature Control
Mode ON
□ Machine Type
D500
□ Program
M1339;
□ Explanation
Enables A and C axes additional oil controller differential temperature control
mode.
The differential temperature setting is automatically changed according to the
axis temperature (A axis) speed (C axis) in this mode.
This mode is selected when machine power is turned on.
□ Program Example
M1339;
M1340 High Accuracy A and C Axes Oil Controller Differential Temperature Control
Mode OFF
□ Machine Type
D500
□ Program
M1340;
□ Explanation
Disables A and C axes additional oil controller differential temperature control
mode.
□ Program Example
M1340;
M1341 High Accuracy A and C Axes Oil Controller A Axis Control Temperature Output
□ Machine Type
D500
□ Program
M1341 S Setting Temperature ;
□ Explanation
Output A axis temperature control data that specif ied by S code of the same
block.
Specifying this M code, disables differential temperature control mode of A and C
axes oil controller.
□ Program Example
M1341 S1053; (Differential temperature of A axis is set to -5.3 degrees.)
0844A-1502EN 177
Specification of M Codes
M1342 High Accuracy A and C Axes Oil Controller C Axis Control Temperature Output
□ Machine Type
D500
□ Program
M1342 S Setting Temperature ;
□ Explanation
Output C axis temperature control data that specif ied by S code of the same
block.
Specifying this M code, disables differential temperature control mode of A and C
axes oil controller.
□ Program Example
M1342 S1053; (Differential temperature of C axis is set to -5.3 degrees.)
□ Program
M1343
□ Explanation
Turns OFF AST3 Study Mode Function
□ Program
M1344 S Radial Cutting Force Coefficient T Axial Cutting Force Coeff icient ;
□ Explanation
Turns ON AST3 Study Mode Function.
You can specify coefficient of radial cutting force by S, and also specify
coefficient of axial cutting force by T.
If S and T is omitted, machine parameter No.03325 and No.03326 are used as
coefficient.
□ Explanation
Releases pause of AST Recording Function.
178 0844A-1502EN
Specification of M Codes
□ Explanation
Pauses AST Recording Function.
□ Program
M1350
□ Explanation
Air spindle is started at running speed.
□ Explanation
Turns AST Playback function OFF.
Using this M code in the program called by M198 or DNC is prohibited.
□ Program Example
M1352;
G53;
M198 P Program No. ;
M1351;
G53;
□ Explanation
Turns AST Playback function ON.
Using this M code in the program called by M198 or DNC is prohibited.
□ Program Example
M1352;
G53;
M198 P Program No. ;
M1351;
G53;
0844A-1502EN 179
Specification of M Codes
□ Explanation
Disable Spindle Load/V ibration Record
□ Explanation
Enable Spindle Load/Vibration Record
□ Explanation
3D Crash Avoidance Mode Off
□ Program Example
M1400;
□ Explanation
3D Crash Avoidance Mode On
□ Program Example
M1401;
□ Explanation
Tool Shape Setting for 3D Crash Avoidance Function
□ Program Example
M1402 S_;
□ Explanation
The change in the setting related to 3D Crash Avoidance function is reflected.
□ Program Example
M1403;
180 0844A-1502EN
Specification of M Codes
□ Program
M1404 S__ T__;
□ Explanation
Sets Z Axis Collision Avoidance.
□ Program
M1410;
□ Explanation
Collision safe guard is made invalid.
□ Program Example
M1410;
□ Program
M1411;
□ Explanation
Collision safe guard is made effective.
□ Program Example
M1411;
0844A-1502EN 181
Specification of M Codes
□ Program
M1412;
□ Explanation
Wait for check tool data.
□ Program Example
M1412;
□ Program
M1413 S The number of sub parts "ATTACH" model ;
□ Explanation
Workpiece offset is fit to workpiece model for collision safe guard specif ied by
argument S.
(S: Integer from 0 to 9.)
□ Program Example
M1413 S1;
□ Program
M1414 S Loading project file number for collision safe guard ;
□ Explanation
Load project file specif ied by argument S for collision safe guard.
(S: Integer from 0 to 100)
□ Program Example
M1414 S1;
□ Program
M1415;
□ Explanation
Save project file for collision safe guard.
□ Program Example
M1415;
182 0844A-1502EN
Specification of M Codes
□ Program
M1416;
□ Explanation
Collision safe guard checks tools (T No.) in NC program. This M code is executable
only in the main program.
□ Program Example
M1416; (Check of T1, T3 tool)
T1;
M6;
T3;
□ Program
M1417 S Stock No. (PC) T Workpiece Kind ;
□ Explanation
Collision safe guard checks workpiece size.
S: Stock No. (PC)
T: Workpiece kind (None or 0: Quadratic prism, 1: Column)
□ Program Example
M1417 S1; (Size Check of Quadratic Prism Workpiece (Stock No. 1))
M1417 S2 T0; (Size Check of Quadratic Prism Workpiece (Stock No. 2))
M1417 S3 T1; (Size Check of Column Workpiece (Stock No. 3))
□ Explanation
The customer cannot use it.
□ Explanation
The actual tool length of the spindle tool is compared with its standard tool
length. Warning will be generated, if the actual tool length exceeds the standard
tool length over the threshold value, set by the machine parameter No. 01162 (or
if the actual tool length is shorter than the standard tool length over the
threshold value, set by the machine param eter No. 01163).
0844A-1502EN 183
Specification of M Codes
□ Program
M1424 S Program No. ;
□ Explanation
Writes into a text file a part of tool offset memory specif ied by machine
parameter No.12127 and No.12128.
□ Explanation
Turns off the signal lamp if it was turned on by M436 or M437.
□ Program
M1426;
□ Explanation
The programmable load monitor function that has been started with M1427 or
M1428 is stopped.
□ Program
M1427 S Data No. T Type of Motor ;
□ Explanation
The motor load of the spindle and the feed axis is monitored by the warning load
and the alarm load set to the tool monitor screen. When an actual load exceeds
the alarm load, the machine is stopped.
Specify the following S codes and T codes for the same block .
S Code:
Specify the data number used for the overload monitor.
T Code:
Specify the motor of the spindle or the feed axis by the constant of the table
below. Two or more motors can be specif ied by specifying the sum of the
constant.
Constant Type of Motor
1 Spindle
2 X Axis
4 Y Axis
8 Z Axis
16 4th Axis
184 0844A-1502EN
Specification of M Codes
32 5th Axis
□ Program Example
M1427 S3 T5; <-- Overload data setting No. of 3 monitors
spindle and Y axis load
:
Machining Program
:
M1426; <-- Ends overload monitoring
□ Program
M1428 S Alarm Load T Type of Motor ;
□ Explanation
The motor load of the spindle and the feed axis is monitored by the alarm load
specified by S code. When an actual load exceeds the alarm load, the machine is
stopped.
Specify the following S codes and T codes for the same block .
S Code:
Specify the alarm load. Unit:[0.01%]
T Code:
Specify the motor of the spindle or the feed axis by the constant of the table
below. Two or more motors cannot be specified by T code. If you want to make
the load of two or more motors monitored, perform M1428 two or more times
like the following program example.
Constant Type of Motor
1 Spindle
2 X Axis
4 Y Axis
8 Z Axis
16 4th Axis
32 5th Axis
0844A-1502EN 185
Specification of M Codes
- M30 or M02
- Emergency stop
□ Program Example
M1428 S5000 T1; <-- Monitors spindle with alarm load of 50[%]
:
Machining Program
:
M1426; <-- Ends monitoring for spindle overload
:
ATC etc.
:
M1428 S4000 T1; <-- Monitors spindle with alarm load of 40[%]
M1428 S3000 T4; <-- In addition, monitors Y axis with alarm
load of 30[%]
:
Machining Program
:
M1426; <-- Ends monitoring for spindle and Y axis
overload
□ Explanation
Change to eco mode specif ied by S code.
Eco mode does OFF if S code is not specif ied or S0 is specified.
□ Explanation
Turn OFF AC function of AST3
186 0844A-1502EN
Specification of M Codes
M1433 AC (AST3) ON
□ Machine Type
Machines other than following.
D300 / D500 / D800Z / V22 / V33i / V56i / V77 / V99 / iQ300 / FB127 / A99E /
A100E / MCC / MCD
□ Explanation
Turn ON AC function of AST3
□ Program
M1434;
□ Explanation
The feed axis lower load detection function that has been started with M1435 is
stopped.
0844A-1502EN 187
Specification of M Codes
□ Program
M1435 S Lower Limit T Type of Motor ;
□ Explanation
The feed axis lower load detection function is started. Specify the following S
codes and T codes for the same block .
S Code:
Specify the lower load. Unit:[0.01%]
T Code:
Specify the motor of the feed axis by the constant of the table below. Two or more
motors cannot be specif ied by T code. If you want to make the load of two or
more motors monitored, perform M1435 two or more times like the following
program example.
Constant Type of Motor
2 X Axis
4 Y Axis
8 Z Axis
16 4th Axis
32 5th Axis
When the following are performed, the lower load monitor ends.
- M1434
- M30 or M02
- Emergency stop
□ Program Example
M1435 S5000 T2; <-- Monitors X axis with lower load of 50[%]
:
Machining Program
:
M1434; <-- Ends monitoring for X axis lower load
:
ATC etc.
:
M1435 S4000 T2; <-- Monitors X axis with lower load of 40[%]
M1435 S3000 T4; <-- In addition, monitors Y axis with lower
load of 30[%]
:
Machining Program
:
M1434; <-- Ends monitoring for X and Y axis lower
load
188 0844A-1502EN
Specification of M Codes
□ Explanation
Retract Movable Step.
□ Explanation
Advance Movable Step.
□ Program
M1438 S Unit for enable stop function ;
□ Explanation
Enable aux unit stop at special machining
□ Program Example
M1438 S1; (Stop disable for hydraulic unit)
Set unit for stop disable by S Code. Refer machine parameter No.12229 for bit
meaning.
□ Program
M1439 S Unit for disable stop function ;
□ Explanation
Disable aux unit stop at special machining
□ Program Example
M1438 S1; (Stop enable for hydraulic unit)
Set unit for stop enable by S Code. Refer machine parameter No.12229 for bit
meaning.
0844A-1502EN 189
Specification of M Codes
□ Program
O9001(ATC MACRO PROGRAM)
M1441
:
M1440
M99
□ Explanation
Clears the sequence No. and block No. stored with M1441.
Specify this M code at the location where the sub -program ends.
□ Program
O9001(ATC MACRO PROGRAM)
M1441
:
M1440
M99
□ Explanation
The sequence No. and block No. are stored when M1441 is specified to prevent
influence from the sequence No. and block count in the sub -program. The stored
numbers are used as program restart position judgment data.
Specify this M code at the beginning of the sub -program.
□ Program
M1442 S Contact load of tool contact detection [0.01%]
□ Explanation
Spindle load of contact is set by S code about tool contact detect function.
□ Program Example
M1442 S1500; <-- The load of tool contact detection is set to
15 [%]
M1443 S3000; <-- The alarm load of tool contact detection is
set to 30 [%]
:
M1445; <-- The tool contact detect mode is set to ON
:
(Machining program)
:
M1444; <-- The tool contact detect mode is set to OFF
190 0844A-1502EN
Specification of M Codes
□ Program
M1443 S Alarm load of tool contact detection [0.01%]
□ Explanation
Spindle load of alarm is set by S code about tool contact detect function.
□ Program Example
M1442 S1500; <-- The load of tool contact detection is set
to 15 [%]
M1443 S3000; <-- The alarm load of tool contact detection
is set to 30 [%]
:
M1445; <-- The tool contact detect mode is set to
ON
:
(Machining program)
:
M1444; <-- The tool contact detect mode is set to
OFF
□ Program
M1444;
□ Explanation
The tool contact detect mode is set to OFF.
□ Program Example
M1442 S1500; <-- The load of tool contact detection is set
to 15 [%]
M1443 S3000; <-- The alarm load of tool contact detection
is set to 30 [%]
:
M1445; <-- The tool contact detect mode is set to
ON
:
(Machining program)
:
M1444; <-- The tool contact detect mode is set to
OFF
0844A-1502EN 191
Specification of M Codes
□ Program
M1445;
□ Explanation
The tool contact detect mode is set to ON. During this mode ON, the skip signal
becomes ON if spindle load reaches the setting detect value.
□ Program Example
M1442 S1500; <-- The load of tool contact detection is set
to 15 [%]
M1443 S3000; <-- The alarm load of tool contact detection
is set to 30 [%]
:
M1445; <-- The tool contact detect mode is set to
ON
:
(Machining program)
:
M1444; <-- The tool contact detect mode is set to
OFF
M1446 Conf irmation of Spindle Rotation While Cutting Disable Release (D)
□ Machine Type
All Machine Type
□ Program
M1447
G01 Z___ F___;
:
M1446
□ Explanation
The state to disable the confirmation of the spindle rotation while cutting is
released.
□ Program
M1447
G01 Z___ F___;
:
M1446
□ Explanation
The confirmation of the spindle rotation while cutting is disabled.
192 0844A-1502EN
Specification of M Codes
□ Program
M1600 S Load Location ;
□ Explanation
The transport device loads the pallet (workpiece) from the location specif ied by S
code.
Specify the following S codes in the same block as M1600.
S Code Location
S1 ... S1000 Stocker1 ... 1000
S1001 Machine
S2001 WSS1
S2002 WSS2
□ Program
M1601 S Unload Location ;
□ Explanation
The pallet (workpiece) on the transport device is unloaded to the location
specified by S code.
Specify the following S codes in the same block as M1601.
When S code is omitted, it is returned to stocker of the pallet number.
S Code Location
S1 … S1000 Stocker1 … 1000
S1001 Machine
S2001 WSS1
S2002 WSS2
□ Explanation
Lock stocker pallet 1.
□ Explanation
Unlock stocker pallet 1.
0844A-1502EN 193
Specification of M Codes
□ Explanation
Lock stocker pallet 2.
□ Explanation
Unlock stocker pallet 2.
□ Program
M1607
□ Explanation
Executes axis composition change function for angle head.
□ Explanation
Turns off point cleaning water.
□ Program Example
M1700;
□ Explanation
Turns on point cleaning water.
□ Program Example
M1701;
□ Explanation
Turns off point cleaning air.
□ Program Example
M1702;
194 0844A-1502EN
Specification of M Codes
□ Explanation
Turns on point cleaning air.
□ Program Example
M1703;
□ Explanation
Turn off dresser coolant.
□ Explanation
Turn on dresser coolant.
□ Explanation
Turn off user coolant.
□ Explanation
Turn on user coolant.
0844A-1502EN 195
Specification of M Codes
□ Explanation
M Code for Pressure Change
(1) Start Calibration(T=1)
Start calibration between pressure and output value
Write sum of data between output and pressure to macro value 100
Write output value of 1 step to macro value 101
M1714 T1 S Pressure(1-4) ;
□ Explanation
The base coolant stopped temporarily by M1716 is returned.
□ Explanation
The base coolant is stopped temporarily.
The base coolant returns by M1715 or NC reset.
□ Explanation
Overhead shower coolant start at intermittent operation.
ON T ime: Machine Parameter No. 07237
OFF T ime: Machine Parameter No. 07238
□ Explanation
Turn off Air on table
196 0844A-1502EN
Specification of M Codes
□ Explanation
Turn on Air on table
□ Explanation
Turn off JIG Coolant
□ Explanation
Turn on JIG Coolant
□ Explanation
Turn off Stop Block Cleaning Air
□ Explanation
Turn on Stop Block Cleaning Air
□ Explanation
Turn off oil pan cleaning coolant.
□ Explanation
Turn on oil pan cleaning coolant.
□ Explanation
Turn JIG Cleaning Air OFF
0844A-1502EN 197
Specification of M Codes
□ Explanation
Turn JIG Cleaning Air ON
□ Explanation
Room Washing Air Off
□ Explanation
Room Washing Air On
□ Explanation
Turn chuck air blow OFF.
□ Explanation
Turn chuck air blow ON.
□ Explanation
Turns off X Axis Oil Pan Cleaning Coolant
□ Explanation
Turns on X Axis Oil Pan Cleaning Coolant
□ Explanation
Turns off through spindle coolant output frequency fixation.
198 0844A-1502EN
Specification of M Codes
□ Explanation
Turns on through spindle coolant output frequency fixation.
□ Program
M1736;
□ Explanation
Coolant Start by Large Flowing Quantity for Cleaning in Machining Chamber.
□ Program Example
M1736;
□ Program
M1737 S___;
□ Explanation
Sets amount of oil on MQL to shot frequency.
□ Program
M1743;
□ Explanation
Nozzle coolant push out air is outputted. About output time, refer to the
following machine parameter.
No. 07202 "Delay T ime until Push Out Air from Nozzle Coolant Starting"
No. 07203 "Output T ime of Push Out Air from Nozzle Coolant"
0844A-1502EN 199
Specification of M Codes
□ Program
M1900 S Argument ; T Function Code ;
□ Explanation
This M-Code is for in-process measuring.
Perform the following commands to start measuring.
□ Program Example
M96P Interrupt Program ; <-- Set Interrupt Custom Macro
M1900 S Measuring Judge <-- Set Measuring Judge Pos
Pos ;
Machining Program
M1900 S0; <-- In-process Measuring End
M97; <-- Interrupt Custom Macro OFF
200 0844A-1502EN
Specification of M Codes
□ Program
M1901 S mode number ;
□ Explanation
DynaV ision measurement mode change
□ Program
M1902 S level number ;
□ Explanation
DynaV ision measurement level change
□ Program
M1903;
□ Explanation
DynaV ision measurement result output
□ Program Example
M1904;
M1903;
□ Program
M1904;
□ Explanation
DynaV ision measurement start
□ Program Example
M1904;
M1903;
0844A-1502EN 201
Specification of M Codes
□ Program
M1906;
□ Explanation
DynaV ision all reset
□ Program Example
M1906;
□ Program
M1907;
□ Explanation
Image type tool measurement cleaning air off
□ Program Example
M1907;
□ Program
M1908;
□ Explanation
Image type tool measurement cleaning air on
□ Program Example
M1908;
202 0844A-1502EN
Specification of M Codes
□ Program
M1909 S monde number ;
□ Explanation
DynaV ision profile output mode change
□ Program Example
M1909 S monde number
□ Program
M1910 S monde number ;
□ Explanation
DynaV ision shortening image mode switch
□ Program Example
M1910 S monde number
□ Program
M1911 S display number ;
□ Explanation
Image type tool measurement machine alarming generation
□ Program Example
M1911 S display number
0844A-1502EN 203
Specification of M Codes
□ Program
M1912;
□ Explanation
Image type tool measurement error reset(DynaVision)
□ Program Example
M1912;
M1920 Interlock Release Mode OFF at Tool Measurement Unit Cover Open Close
□ Machine Type
Machines other than following.
D500 / a51nx / G5 / a61nx / G7 / a81nx / a82 / a82M / a92 / A99E / A100E / MAG1
/ MAG3 / T1 / T2 / T4 / MCC / MCD
□ Explanation
Interlock is enabled at tool measurement unit cover open close.
M1921 Interlock Release Mode ON at Tool Measurement Unit Cover Open Close
□ Machine Type
Machines other than following.
D500 / a51nx / G5 / a61nx / G7 / a81nx / a82 / a82M / a92 / A99E / A100E / MAG1
/ MAG3 / T1 / T2 / T4 / MCC / MCD
□ Explanation
Interlock is disabled at tool measurement unit cover open close.
If emergency stop switch or reset button is pushed, this mode is released.
□ Explanation
VTS Power OFF
□ Explanation
VTS Power ON
□ Explanation
VTS command
204 0844A-1502EN
Specification of M Codes
□ Explanation
Image Tool Measure shutter close
□ Explanation
Image Tool Measure shutter open
□ Program
M1930;
□ Explanation
This M code for in the measurement function.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
0844A-1502EN 205
Specification of M Codes
□ Explanation
Get imaging data of tool shape automatically recognition function.
M1941 Tool Shape Automatically Recognition Function: Imaging Disable Mode OFF
□ Machine Type
D500
□ Explanation
Turn off the imaging disable mode of tool shape automatically recognition
function.
□ Explanation
Turn on the imaging disable mode of tool shape automatically recognition
function.
□ Explanation
Reset the system of tool shape automatically recognition.
Argument S0 or None: System is not rebooted.
Argument S1: Sysytem is rebooted.
□ Explanation
Calibration sequence of the tool shape automatically recognition is done.
□ Program
M1960 S Measurement Function ;
□ Explanation
Used in the tool length automatic measuring macro program.
206 0844A-1502EN
Specification of M Codes
□ Explanation
Used in the tool length automatic measuring macro program.
□ Explanation
Enable customer work measurement function.
□ Explanation
Enable customer tool measurement function.
□ Explanation
Enable customer broken tool detection.
□ Explanation
Disable measurement special IO signal control.
□ Explanation
Enable measurement special IO signal control.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
0844A-1502EN 207
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
3D Crash Avoidance Mode Record & Off
□ Program Example
M2004;
□ Explanation
3D Crash Avoidance Mode Resume
□ Program Example
M2005;
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
208 0844A-1502EN
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
Enables the VP Control.
0844A-1502EN 209
Specification of M Codes
□ Explanation
Disables the VP Control.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
210 0844A-1502EN
Specification of M Codes
□ Explanation
The VP control for rotational axis is enabled.
□ Program Example
M2026;
□ Explanation
The VP control for rotational axis is disabled.
□ Program Example
M2027;
□ Program
M2035;
□ Explanation
Enable the vibration avoidance control (AST4).
□ Program
M2036;
□ Explanation
Disable the vibration avoidance control (AST4).
□ Explanation
The customer cannot use it.
0844A-1502EN 211
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
212 0844A-1502EN
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
0844A-1502EN 213
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
214 0844A-1502EN
Specification of M Codes
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
The customer cannot use it.
□ Explanation
Specify SPIN TABLE speed, reference and index action.
□ Program Example
M2300 Snnn; or
M2300 Snnn T0; CW (nnn:speed)
M2300 Snnn T1; CCW(nnn:speed)
M2300 T2; Index
M2300 T3; Reference
0844A-1502EN 215
Specification of M Codes
□ Explanation
SPIN TABLE spinning start specified by M2300.
□ Program Example
M2301;
□ Explanation
SPIN TABLE spinning stop.
□ Program Example
M2302;
□ Program
M2303 S Cycle No. ; T Part No. ;
□ Explanation
Start gap cycle.
□ Explanation
Finish gap cycle.
□ Explanation
The customer cannot use it.
□ Explanation
Utility function signal OFF
216 0844A-1502EN
Specification of M Codes
□ Explanation
Utility function signal ON
□ Explanation
Utility function signal check
□ Explanation
INPROCESS GAUGE measuring cycle start
□ Program Example
M2320 Spp Tcc; (S:Cycle No., T:Part No.)
□ Explanation
INPROCESS GAUGE auto zero cycle start.
□ Program Example
M2321 Spp Tcc; (S:Cycle No., T:Part No.)
□ Explanation
INPROCESS GAUGE outer / inner measuring head retraction air control solenoid
SL3115.SL3116 ON/OFF.
□ Program Example
M2322 S0; (SL3115,SL3116 both OFF)
M2322 S1; (SL3115 ON)
M2322 S2; (SL3116 ON)
□ Explanation
Get INPROCESS GAUGE measuring data to common macro variable #100.
□ Program Example
M2323
0844A-1502EN 217
Specification of M Codes
□ Explanation
Set INPROCESS GAUGE to manual mode.
□ Program Example
M2324
□ Explanation
Rotary Dresser High Speed / Low Speed control solenoid SL3114.SL3113 ON/OFF.
□ Program Example
M2340 S0; (SL3114,SL3113 both OFF)
M2340 S1; (SL3113 ON)
M2340 S2; (SL3114 ON)
□ Explanation
Control rotary dresser CW/CCW/STOP.
□ Program Example
M2341 S0; (Rotary Dresser Stop)
M2341 S1; (Rotary Dresser CW)
M2341 S2; (Rotary Dresser CCW)
□ Program
M2342 S Rotar y Dresser Speed ;
□ Explanation
Set rotary dresser speed.
□ Explanation
Enable AE Sensor
218 0844A-1502EN
Specification of M Codes
□ Explanation
Disable AE Sensor
□ Explanation
Set Millturn function value(Tool Corner Radius, Tool T ip Radius).
Macro Variable #100: Tool Corner Radius
Macro Variable #101: Tool T ip Radius
□ Explanation
Start Millturn function.
□ Explanation
Wait for preparation finish for Millturn.
0844A-1502EN 219
Index
3. Index
Active Damping Function OFF ................. 169
3 Active Damping Function ON ................... 170
3D Crash Avoidance Mode Off .................. 180 Additional Nozzle Coolant ON .................. 140
3D Crash Avoidance Mode Record & Off ... 208 AE Sensor Enable ..................................... 218
3D Crash Avoidance Mode Resume ........... 208 Air Blow ON ....................................... 25, 145
3D Crash Avoidance Relation Setting Change Air Cut Mode OFF .................................... 135
4th Axis Clamp ........................................... 25 Air Spindle Air OFF ................................. 171
4th Axis Mirror Image ON .......................... 26 Air Spindle Air ON ................................... 171
5th Axis Mirror Image ON .......................... 55 Air Spindle Running Start........................ 179
220 0844A-1502EN
Index
0844A-1502EN 221
Index
Clamper Retract ......................................... 78 Direct Spare Tool Change Mode Check ....... 49
Cleaning Air OFF ....................................... 48 Direct Spare Tool Change Mode OFF .......... 49
Cleaning Air ON ......................................... 49 Direct Spare Tool Change Mode ON ............ 49
Cleaning Telescopic-Cover Coolant ON ..... 145 Disable IAC ................................................ 60
Clear Program Restart Position Judgment Ditch processing mode OFF ...................... 166
Data Memory ........................................ 190 Ditch processing mode ON ........................ 166
CNC initiative message transmission ....... 205 Draw Bar Probe Advance ............................ 78
Confirmation of Spindle Rotation While Draw Bar Probe Retract ............................. 78
Cutting Disable ..................................... 192 Drawing Pump OFF ................................. 151
Confirmation of Spindle Rotation While Drawing Pump ON ................................... 152
Cutting Disable Release ........................ 192 Dresser Coolant OFF ................................ 195
Coolant Amount Set to Large ................... 146 Dresser Coolant ON ................................. 195
Coolant Amount Set to Standard .............. 146 Dresser Forward ........................................ 79
Coolant OFF ....................................... 25, 151 Dresser Speed .......................................... 218
Coolant Pause Release ............................. 154 Dresser Stop ....................................... 79, 218
Coolant Pressure Setting 1 ....................... 143 Dry Run OFF ............................................. 60
Coolant Pressure Setting 2 ....................... 143 Dry Run ON ............................................... 60
Coolant Pressure Setting 3 ....................... 143 DynaVision all reset ................................. 202
Coolant Pressure Setting 4 ....................... 143 DynaVision level change ........................... 201
Count Disable OFF ..................................... 61 DynaVision measurement start ................ 201
Count Disable ON ...................................... 60 DynaVision mode change .......................... 201
Count Sum of Machined Parts .................... 60 DynaVision result output ......................... 201
Cs Axis Contouring Mode OFF ................... 77
Cs Axis Contouring Mode ON ..................... 78
E
Custom Macro Interruption Invalid ............ 44 Eco Mode .................................................. 186
Custom Macro Interruption Valid ............... 44 Electric attachment spindle connector cover
Customer Broken Tool Detection Enable ... 207 close ...................................................... 175
Customer Tool Measurement Function Electric attachment spindle connector cover
Enable .................................................. 207 open ...................................................... 174
Customer Work Measurement Function Electric attachment spindle positive start 175
Enable .................................................. 207 Electric attachment spindle proofreading . 175
Cut Type Change Request ........................ 170 Electric attachment spindle reverse start . 175
Cutting Condition Auto Select .................. 165 Electric attachment spindle speed set ...... 175
Cutting Feed Override Disable ................... 35 Electric attachment spindle stop .............. 175
Cutting Feed Override Enable .................... 35 Enable IAC ............................ 59, 60, 166, 167
Cutting Override Limitation ...................... 59 End of Machining Program and Repeat ...... 29
Cutting Surface Cleaning Air OFF ........... 147 End of Program .......................................... 23
Cutting Surface Cleaning Air ON ............. 147 Extend Stroke Change Signal OFF ............. 69
Extend Stroke Change Signal ON ............... 69
D
Direct Spare Tool Change ........................... 49
222 0844A-1502EN
Index
F G
Fairing OFF ............................................. 169 Gap Cycle Finish ...................................... 216
Fairing ON ............................................... 169 Gap Cycle Start ....................................... 216
Feed Axis Additional Oil Controller Get Probe Displacement ........................... 156
Differential Temperature Control Data Get Skip Position ..................................... 155
Output .................................................. 173 GI Initial Mode .......................................... 68
Feed Axis Additional Oil Controller GI/Super-GI Extra Super-High Accuracy
Differential Temperature Control Mode Mode ....................................................... 66
OFF ...................................................... 173 GI/Super-GI High Accuracy Mode ......... 65, 66
Feed Axis Additional Oil Controller GI/Super-GI High Accuracy Mode for
Differential Temperature Control Mode ON Contouring with Rotary Axes .................. 66
............................................................. 173 GI/Super-GI High Performance Mode ... 65, 67
Feed Axis Lower Load Detection Function GI/Super-GI High Performance Mode for
OFF ...................................................... 187 Contouring with Rotary Axes .................. 67
Feed Axis Lower Load Detection Function GI/Super-GI Hybrid Mode .......................... 67
ON ........................................................ 188 GI/Super-GI Radical Mode ......................... 67
Feed Axis Oil Controller Pause ................ 174 GI/Super-GI Special Mode .......................... 66
Feed rate Override 100% or Less................ 55 GI/Super-GI Ultra High Accuracy Mode 66, 68
Fewer Amount of Mist Air (MQL) ............. 153 GI/Super-GI Ultra High Performance for
First Block Skip OFF ................................. 56 Contouring With Rotary Axes Mode ........ 68
First Block Skip ON ................................... 56 GI/Super-GI Ultra High Performance Mode ...
First Block Skip Return ............................. 56 67, 68
First Use Check Request .......................... 114 Gravity Axis Lifting Up Function Off ......... 63
Flange Cleaning Air ON ........................... 148 Gravity Axis Lifting Up Function On ......... 62
Flexible Synchronize 1 Disable ................ 149 Grinding Nozzle Advance ......................... 148
Flexible Synchronize 1 Enable ................. 149 Grinding Nozzle Retract .......................... 148
Flexible Synchronize 2 Disable ................ 149
Flexible Synchronize 2 Enable ................. 149
H
Flexible Synchronize 3 Disable ................ 149 High Accuracy A and C Axes Oil Controller A
Flexible Synchronize 3 Enable ................. 149 Axis Control Temperature Output ......... 177
Flexible Synchronize 4 Disable ................ 150 High Accuracy A and C Axes Oil Controller C
Flexible Synchronize 4 Enable ................. 150 Axis Control Temperature Output ......... 178
Flexible Synchronize Auto Phase Adjustment 171 High Speed Counter Type Tool Measurement165
Floating M Code Change Prohibition Mode
OFF ........................................................ 69 I
Floating M Code Change Prohibition Mode Image Tool Measure shutter close ............ 205
ON .......................................................... 70 Image Tool Measure shutter open ............ 205
Flush Coolant in Machining Chamber ON 199 Image Tool Measure Tool Cleaning Air OFF 165
FT Function OFF ....................................... 50 Image Tool Measure Tool Cleaning Air ON 165
FT Function ON ......................................... 50 Image type tool measurement cleaning air off
0844A-1502EN 223
Index
224 0844A-1502EN
Index
Measurement Special IO Signal Control Oil Pan Cleaning Coolant Off ................... 197
Enable .................................................. 207 Oil Pan Cleaning Coolant On ................... 197
Measuring Head Alarm Check .................. 156 Oil Skimmer OFF ..................................... 144
Measuring Head Cleaning Air ON ............ 144 Oil Skimmer ON ...................................... 144
Measuring Probe Power OFF .................... 164 Open APC Shutter and Start Next Block
Measuring Probe Power OFF & Check ..... 164 before Shutter is Fully Open ................. 135
Measuring Probe Power ON ..................... 164 Open ATC Shutter and Start Next Block
Measuring Probe Power ON & Check ....... 164 before Shutter is Fully Open ................. 116
Message Output Function .......................... 89 Optional Stop ............................................. 23
Metallic Cutting Mode OFF ...................... 100 Output Machine Condition to Macro Variable
Metallic Cutting Mode ON ....................... 100 ............................................................... 55
Metric Input Check .................................... 52 Overhead Shower Coolant Intermittent
Mirror Image OFF ...................................... 28 Operation ............................................. 196
Mist Blow ON ............................................ 83 Overhead Shower Coolant OFF ................ 141
Mist Collector OFF .................................. 141 Overhead Shower Coolant ON .................... 48
Mist Collector ON .................................... 141 Override for Tool OFF ................................ 54
Mist Pressure Set to High (MQL) ............. 147 Override for Tool ON .................................. 54
Mist Pressure Set to Standard (MQL) ...... 147 Override Limitation Release ...................... 59
Mode OFF for Collision Safe Guard .......... 181
Mode ON for Collision Safe Guard ........... 181
P
Movable Step Advance ............................. 189 Pallet (Workpiece) Load to Transport Device 193
Movable Step Retract ............................... 189 Pallet (Workpiece) Unload from Transport
MP7 Measuring Head Check .................... 162 Device ................................................... 193
Pallet 1 Load Check ................................... 45
N Pallet 2 Load Check ................................... 47
Next Tool No. Output to Macro ................. 101 Pallet Change ................ 39, 40, 41, 42, 43, 45
Next Tool Pot No. Output to Macro .......... 162 Pallet Clamp ............................................ 138
Non Contact Type Measurement Device Zero Pallet No. Output to Macro ........................ 98
Set ........................................................ 163 Pallet Ready Not Checked at M60 .............. 44
Non Contact Type Spindle Measurement .... 68 Pallet Seating Check .................................. 88
Nozzle Coolant OFF ................................. 153 Pallet Unclamp ........................................ 139
Nozzle Coolant ON ..................................... 25 Point Cleaning Air Off ............................. 194
Nozzle Coolant Push Out Air .................... 199 Point Cleaning Air On .............................. 195
Point Cleaning Water Off ......................... 194
O Point Cleaning Water On ......................... 194
Oil Amount Set to Large (MQL) ............... 147 Pre-Clamp (NC Index) ................................ 80
Oil Amount Set to Shot Frequency(MQL) . 199 Pre-Measurement Spindle Rotation ............ 74
Oil Amount Set to Small (MQL) ............... 147 Pre-Orientation & Coolant Stop ........... 76, 77
Oil Amount Set to Standard (MQL) .......... 147 Preparations for High Accuracy Machining 168
0844A-1502EN 225
Index
Preparations for Millturn ......................... 219 Ring Sensor Monitor Mode ON ................. 161
Pre-Unclamp (NC Index) ............................ 80 Room Washing Air Off .............................. 198
Print-out Mode Output ............................... 98 Room Washing Air On .............................. 198
Prior Tool Check ......................................... 31 Rotary Axis Coordinate Calculation Function 166
Program Number Notice ........................... 135 Rotary Dresser Control ............................ 218
Program Search .......................................... 51 Rotary Dresser CW/CCW .......................... 218
Program Stop ............................................. 23 Rotate Spindle CCW and Start Next Block
Programmable Coolant Nozzle OFF .......... 151 before Spindle Reaches Specified Speed .. 72
Programmable Coolant Nozzle ON .............. 48 Rotate Spindle CW and Start Next Block
Programmable Load Monitor Function Off 184 before Spindle Reaches Specified Speed .. 71
Programmable Load Monitor Function On Rotation axes compensation of TCP OFF .. 167
(Specifying Alarm Load) ........................ 185 Rotation axes compensation of TCP ON .... 167
Programmable Load Monitor Function On
(Specifying Data No.) ............................ 184
S
Project File Load for Collision Safe Guard 182 Second Measuring Unit Cover Close ......... 165
Project File Save for Collision Safe Guard 182 Second Measuring Unit Cover Open ......... 165
PTIM command ........................................ 204 Set alarm load of tool contact detection .... 191
PTIM Power OFF ..................................... 204 Set contact load of tool contact detection .. 190
PTIM Power ON ....................................... 204 Set Millturn Data ..................................... 219
Set NC Parameter for Angle Head ............ 194
Q Set Rotary Dresser Speed ......................... 218
Quadrant Glitch Fine Tuning Mode Change 54 Setting Tool Magazine No. used in Tool Data
Registration Mode ................................... 96
R Signal Lamp 1 ON with No Ready Pallet .... 44
Rak rak checker End ................................ 161 Signal Lamp 2 Unconditional ON ............... 89
Rapid Feed Speed Limitation Mode Setting 58 Signal Lamp OFF ..................................... 184
Rapid Override Limitation ......................... 59 Signal light effective mode OFF ................. 69
Rapid Override Switch Check Function Off 62 Signal light effective mode ON ................... 69
Rapid Override Switch Check Function On. 62 SKIP Signal Detection Result Output ....... 207
Release Base Coolant Pause ..................... 196 SL Coefficient Setting 200% ....................... 34
Release Central Coolant Pause Mode ....... 148 SL Lower Limit Coefficient Setting 0% ....... 34
Release Feed Axis Oil Controller Pause .... 173 SL Lower Limit Coefficient Setting 125% ... 34
Ring Sensor Monitor Mode OFF ............... 161 SL Upper Mode ON .................................... 64
226 0844A-1502EN
Index
Smooth control of Tool Center Point Control Stocker Pallet 1 Lock ............................... 193
ON ........................................................ 169 Stocker Pallet 1 Unlock ............................ 193
Smooth control of tool posture control OFF 167 Stocker Pallet 2 Lock ............................... 194
Smooth control of tool posture control ON 168 Stocker Pallet 2 Unlock ............................ 194
SPIN TABLE Revolution Speed ................ 215 Stop Block Cleaning Air Off ..................... 197
SPIN TABLE Start ................................... 216 Stop Block Cleaning Air On...................... 197
SPIN TABLE Stop .................................... 216 Stop Coolant & Record ............................... 74
Spindle Attachment Dismount Check ......... 80 Stop Coolant and Spindle & Record ............ 72
Spindle Attachment Mount Check .............. 79 Stop Coolant before Axis Positioning is
Spindle Load/Vibration Record Disable .... 180 Completed ............................................ 141
Spindle Load/Vibration Record Enable ..... 180 Store Program Restart Position Judgment
Spindle Nose Nozzle Coolant Off .............. 148 Data ..................................................... 190
Spindle Nose Nozzle Coolant On .............. 148 Strong Clamp Mode OFF .......................... 176
Spindle Orientation at Externally Specified Strong Clamp Mode ON ........................... 176
Angle ...................................................... 75 Study Mode OFF ........................................ 62
Spindle Orientation Stop ........................... 27 Study Mode ON .......................................... 62
Spindle Reverse Orientation at Externally Stylus Cleaning Air OFF .......................... 141
Specified Angle ....................................... 78 Stylus Cleaning Air ON ............................ 141
Spindle Rotation for Alignment .................. 75 Sub Program Call ....................................... 48
Spindle Rotation for Measuring ................. 77 Subprogram Call from External I/O Device 61
Spindle Speed Limitation Disable at Spindle
Idling .................................................... 173
T
Spindle Speed Limitation Enable at Spindle Table Dresser Solenoid Start ...................... 81
Idling .................................................... 173 Table Dresser Solenoid Stop ....................... 81
Spindle Speed Output to Macro .................. 97 Table Side JIG Clamp .............................. 116
Spindle Speed Override Disable ................. 39 Table Side JIG Neutral ............................ 116
Spindle Speed Override Enable .................. 39 Table Side JIG Unclamp .......................... 116
Spindle Start in CCW Direction ................. 24 Table Side Work Seating Confirm ............. 116
Spindle Start in CW Direction ................... 24 Tailstock Advance .................................... 114
Spindle Stop .............................................. 24 Tailstock Position Advance ....................... 114
Spindle Tool Clamp .................................... 82 Tailstock Position Retract ........................ 114
Spindle Tool Exist Coherent Check .......... 138 Tailstock Pressure Change ......................... 82
Spindle Tool No. 0 Output to Macro ........... 99 Tailstock Retract ...................................... 114
Spindle Tool No. Output to Macro .............. 99 Tap Oil Mist/Jet Mode ON .......................... 28
Spindle Tool Pot No. Output to Macro ...... 162 Telescopic-Cover Coolant OFF .................. 146
Spindle Tool Unclamp ................................ 83 Terrace Cleaning Coolant OFF ................. 153
Spindle Tool Unclamp Preparation ............. 83 Terrace Cleaning Coolant ON ................... 153
Spindle Upper Nozzle Coolant ON............ 144 Through Spindle Air ON ............................ 44
Standard Amount of Mist Air (MQL) ........ 153 Through Spindle Coolant Off Without
Step Advance ........................................... 130 Remove ................................................. 148
Step Retract ............................................. 130 Through Spindle Coolant ON ..................... 28
0844A-1502EN 227
Index
Through Spindle Coolant Output Frequency Tool Offset Data Transfer Command for
Fixation OFF ........................................ 198 Composite Tool ...................................... 170
Through Spindle Coolant Output Frequency Tool Offset Negative Value Register Mode .. 36
Fixation ON .......................................... 199 Tool Pre-check for Collision Safe Guard .... 183
Through Spindle Mist ON .......................... 83 Tool Radius Measurement Data Read ....... 159
Through Tool Coolant ON ........................... 48 Tool Run Out Measurement .................. 97, 98
TL Alarm Suspension Mode ON ................ 100 Tool Run Out Measurement Base Data
TL Mode OFF ............................................. 63 Registration ............................................ 98
TL Mode ON ............................................... 63 Tool Shape Automatically Recognition
Tool Cleaning Air 2 ON............................. 152 Function: calibration............................. 206
Tool Cleaning Air OFF ...................... 146, 151 Tool Shape Automatically Recognition
Tool Cleaning Air ON ....................... 146, 151 Function: Get Imaging Data .................. 206
Tool Cleaning Air/Coolant OFF ................. 151 Tool Shape Automatically Recognition
Tool Cleaning Air/Coolant ON .................. 151 Function: Imaging Disable Mode OFF ... 206
Tool Cleaning Coolant OFF .............. 151, 199 Tool Shape Automatically Recognition
Tool Cleaning Coolant ON ................ 151, 200 Function: Imaging Disable Mode ON ..... 206
Tool Cleaning Nozzle Advance .................. 151 Tool Shape Automatically Recognition
Tool Cleaning Nozzle Retract ................... 151 Function: Reset Request ....................... 206
Tool contact detection mode OFF .............. 191 Tool Shape Setting for 3D Crash Avoidance 180
Tool contact detection mode ON ................ 192 Travel Limit Invalid ................................. 132
Tool Cutter No. Setting .............................. 97 Travel Limit Valid .................................... 132
Tool Data BT Flag Check ............................ 89
Tool Data Delete Mode ON ......................... 47
U
Tool Data Register Mode (Type1) ................ 89 U Axis Emergency Mode ON ....................... 51
Tool Data Register Mode (Type2) ................ 95 U Axis Mode OFF ....................................... 50
Tool Data Register Mode OFF ..................... 32 U Axis Mode ON ......................................... 50
Tool Data Update Check for Collision Safe Unconditional Power Out ........................... 28
Guard ................................................... 182 User Coolant OFF .................................... 195
Tool length comparison ............................. 183 User Coolant ON ...................................... 195
Tool Length Measurement Data Read ....... 158 Utility function signal check .................... 217
Tool Length Measuring Calibration .......... 155 Utility function signal OFF ...................... 216
Tool Length Measuring Mode Setting ....... 156 Utility function signal ON ........................ 217
Tool Length Sensor Unit Circuit Check 29, 34
Tool Machining Finish ................................ 71 V
Tool Measuring Laser OFF ......................... 81 Vacuum Device OFF ................................... 85
Tool Measuring Laser ON ........................... 81 Vacuum Device ON ..................................... 85
Tool Measuring Sensor X-Axis Direction ..... 65 Vacuum Pipe Valve Off (Pipe OPEN) ........ 140
Tool Measuring Sensor Y-Axis Direction ..... 64 Vacuum Pipe Valve On (Pipe CLOSE) ....... 140
Tool No. Register Mode ............................... 37 Vacuum Pump Off ...................................... 85
Tool Offset Data File Output .................... 184 Vacuum Pump On ....................................... 85
Tool Offset Data Transfer Command ... 36, 170 Vacuum Suction OFF .................................. 82
228 0844A-1502EN
Index
Wait for preparation finish for Millturn ... 219 Workpiece Unload .................................... 131
Washing Robot Coolant ON ...................... 116 WSS Pallet (Workpiece) Loading ....... 124, 125
Washing Robot Forced End ....................... 115 WSS Pallet (Workpiece) Unloading ... 125, 126
0844A-1502EN 229
History
4. History
230 0844A-1502EN