PROFESSIONAL 5M-CODE LIST Applicable Models All Models No.0584D-0506 Contents No.0584D-0506 Contents Contents 1 Contents Contents Contents 1. 1.1 1.2 2. 2.1 Notes on this M Code List ....................................................... 1-2 List of M Codes ....................................................................... 1-3 Specification of M Codes Specification ............................................................................ 2-2 3. Index 4. Appendix 4.1 2 List of M Codes History of M Code List............................................................. 4-2 No.0584D-0506 List of M Codes List of M Codes No.0584D-0506 1-1 .List of M Codes 1. Therefore. List of M Codes 1-2 No.1 Notes on this M Code List This list of M codes includes all M codes provided for the machines. depending upon the machine specifications and provided options.List of M Codes Notes on this M Code List 1.0584D-0506 . please note that it may not be possible to use some M codes. List of M Codes List of M Codes 1.2 List of M Codes No.0584D-0506 Program Stop Optional Stop End of Program Spindle CW Start Spindle CCW Start Spindle Stop Automatic Tool Change Mist Coolant/Air Blow ON Nozzle Coolant ON Coolant OFF 4th Axis Clamp 4th Axis Unclamp 5th Axis Clamp 5th Axis Unclamp BTS Arm Advance (Movable BTS) 4th Axis Mirror Image ON BTS Arm Retract (Movable BTS) Spindle Orientation Stop BTS Check X Axis Mirror Image ON Y Axis Mirror Image ON Mirror Image OFF Through Spindle Coolant ON Unconditional Power Out Part Program End and Repeat Workpiece Auto Measuring Mode Tool Length Auto Measuring Mode Tool Length Circuit Check Workpiece Auto Measuring Spare Tool Call Workpiece Auto Measuring Pallet Unload Prior Tool Check Tool Data Register Mode OFF AC/SL Data Temporary Alter Mode ON AC/SL Data Temporary Alter Mode OFF SL Coefficient Setting 125% SL Coefficient Setting 150% SL Coefficient Setting 200% SL and AC Coefficient 0% Tool Length Circuit Check SL Lower Limit Coefficient Setting 125% SL Lower Limit Coefficient Setting 0% M49 Mode Cancel List of M Codes M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11 M12 M13 M14 M16 M18 M19 M20 M21 M22 M23 M26 M29 M30 M31 M32 M33 M34 M35 M36 M37 M38 M39 M41 M42 M43 M44 M45 M46 M47 M48 1-3 . Register Mode M59 Mode Cancel Spindle Speed Override Cancel Pallet Change Pallet Change Pallet Change Pallet Change Pallet Change Pallet Change Pallet Ready Not Checked at M60 Through Spindle Air ON Signal Lamp 1 ON with No Ready Pallet Signal Lamp 2 ON with No Ready Pallet Pallet Change Pallet 1 Load Check Auto Measuring Approach Mode Auto Measuring Rapid Mode APC Shutter Open APC Shutter Close Tool Data Delete Mode ON Pallet 2 Load Check Overhead Shower Coolant ON Sub Program Call Return to Main Program Cleaning Air Off Cleaning Air On Direct Spare Tool Change Direct Spare Tool Change Inhibit Mode Direct Spare Tool Change Permit Mode 6th Axis Clamp 6th Axis Unclamp Override 100% or Less Rigid Tap Mode ON 5th Axis Mirror Image ON 6th Axis Mirror Image ON First Block Skip ON First Block Skip OFF First Block Skip Return Block Skip 2 to 9 OFF No.List of M Codes List of M Codes List of M Codes M49 M50 M51 M52 M54 M56 M57 M58 M59 M60 M61 M62 M63 M64 M65 M69 M77 M78 M79 M80 M84 M85 M86 M88 M89 M94 M95 M97 M98 M99 M100 M101 M105 M106 M107 M110 M111 M132 M135 M138 M139 M140 M141 M142 M150 1-4 Feedrate Override Cancel AC Coefficient 100%. SL Coefficient 200% Auto Reject Mode ON (M52 Mode Cancel) Auto Reject Mode OFF (Reject Inhibit for Alarm) Tool Offset Data Negative Register Mode Tool Offset Data Transfer Command Tool No.0584D-0506 . 0584D-0506 Block Skip 2 ON Block Skip 3 ON Block Skip 4 ON Block Skip 5 ON Block Skip 6 ON Block Skip 7 ON Block Skip 8 ON Block Skip 9 ON Rapid Feed Speed Limitation Mode Setting Count Sum of Machined Parts Dry Run ON Dry Run OFF Subprogram Call to an External I/O Device.List of M Codes List of M Codes M258 M259 M270 M276 M277 M283 M284 M291 M292 M302 M303 M304 M307 M308 M310 M311 M312 No. TL Mode OFF TL Mode ON SL Mode OFF SL Mode ON Tool Measuring Sensor Y-Axis Direction Tool Measuring Sensor X-Axis Direction GI/Super-GI High Accuracy Mode GI/Super-GI High Performance Mode GI/Super-GI Ultra High Accuracy Mode GI/Super-GI Additional Axis Contouring Mode GI/Super-GI Special Mode GI/Super-GI M255 Mode GI/Super-GI High Performance Mode for Contouring with Rotary Axes GI/Super-GI Ultra High Performance Mode for Contouring with Rotary Axes GI Initial Mode Non Contact Type Spindle Measurement Extend Stroke Change Signal OFF Extend Stroke Change Signal ON SL Lower Limit Mode OFF SL Lower Limit Mode ON Floating M Code Exchange Prohibition Mode OFF Floating M Code Exchange Prohibition Mode ON Fin Check for M303 or M304 Spindle CW Without DEN-Waiting Spindle CCW Without DEN-Waiting Coolant/Spindle Stop & Release Coolant/Spindle Resume Spindle Status Reserve & Stop Spindle Resume Coolant Stop & Reserve List of M Codes M152 M153 M154 M155 M156 M157 M158 M159 M172 M186 M187 M188 M198 M235 M236 M237 M238 M246 M247 M250 M251 M252 M253 M254 M255 M257 1-5 . 0584D-0506 .List of M Codes List of M Codes List of M Codes M313 M314 M315 M316 M317 M318 M319 M322 M325 M326 M327 M328 M330 M331 M332 M340 M341 M344 M346 M347 M359 M372 M373 M377 M378 M381 M382 M387 M388 M389 M390 M391 M392 M394 M398 M399 M417 M418 M419 M430 M434 M435 M436 M437 M441 1-6 Coolant Resume Spindle Rotation Before Measuring Oil Controller OFF Oil Controller ON Spindle Rotation for Alignment Spindle Optional Angle Orient Externally Pre-Orientation Spindle Rotation for Measuring Cs Axis Contouring Mode OFF Cs Axis Contouring Mode ON Spindle Unlock Spindle Lock Improved Spindle Reverse Orient Externally Draw Bar Probe Retract Draw Bar Probe Advance Attachment Change Start AAC Splashguard Open & AAC Advance AAC Retract & AAC Splashguard Close Spindle Attachment Mount Check Spindle Attachment Dismount Check Work information output Pre-Unclamp (NC Index) Clamp Confirmation (NC Index) Tool Measuring Laser OFF Tool Measuring Laser ON Angle Head Support Retract Angle Head Support Advance Vacuum Suction ON Vacuum Suction OFF Tailstock Pressure Change Spindle Tool Clamp Spindle Tool Unclamp Spindle Tool Unclamp Ready Attachment Change End Through Spindle Mist ON Mist Blow ON Machine Table Pallet 1 Check Machine Table Pallet 2 Check Machine Table Pallet Check End Pallet Contact Check Tool Broken Status (BT/B2) ATC-Side BTS Tool Measuring Mode Signal Light 1 Unconditional ON Signal Light 2 Unconditional ON Message Output Function No. 0584D-0506 Tool Data Register Mode (Type1) Tool Data Register Mode (Type2) ATC Magazine No. 0 Output Macro Variable (#100) Read Attachment No. Send Print-out Mode Output Specified Spindle Tool Output Spindle Tool No.List of M Codes List of M Codes M530 M531 M532 M533 M534 M535 M536 M537 M538 M539 M548 M549 M550 M551 M552 M553 M554 M555 M556 M557 M559 M580 M581 M582 No. Setting Machining Signal OFF Machining Signal ON Pallet No. Setting for Tool Data Register Mode Tool Cutter No. Output to Macro (#100) TL Alarm Suspension Mode ON Metallic Cutting Mode OFF Metallic Cutting Mode ON Next Tool Output Macro Variables Reading Request to MOS Machine Data Output to Macro Variable First Use Check Request Open ATC Shutter and Start Next Block before Shutter is Fully Open M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for Fixture Interface M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for ATC M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface List of M Codes M448 M449 M450 M451 M455 M456 M462 M463 M464 M465 M466 M468 M469 M470 M471 M474 M480 M483 M492 M507 1-7 . List of M Codes List of M Codes List of M Codes M583 M584 M585 M586 M587 M588 M589 M590 M591 M592 M593 M594 M595 M600 M601 M602 M603 M604 M605 M608 M609 M610 M611 M612 M613 M614 M620 M621 M630 M631 M638 M639 M661 M662 M663 M706 M707 M708 M709 M710 M711 M722 M723 M732 M733 1-8 M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface M Code for Special User I/O Interface Pallet Change Sub M Code Axis Index Program End Routine Function DNC Program End Tool Retract End Work Chuck Clamp Work Chuck Unclamp Respective Load Respective Unload AAC Step Retract AAC Step Advance Workpiece Change Workpiece Unload Workpiece Load Travel Limit Valid Travel Limit Invalid Axis Retract Position at ATC AWC Index Work Selection Command ATC Shutter Close ATC Shutter Open ATC & B Axis Simultaneous Operation ATC & B Axis Simultaneous Operation End Check M Code for ATC Angle Plate / Table Cleaning Coolant OFF Angle Plate / Table Cleaning Coolant ON Additional Nozzle Coolant ON Coolant Stop without DEN Waiting Mist Collector OFF Mist Collector ON Stylus Cleaning Air OFF Stylus Cleaning Air ON Coolant Pressure Set 1 Coolant Pressure Set 2 No.0584D-0506 . Output Next Tool Pot No. of Machined Parts Tool Length Measuring Data Read Tool Radius Measuring Data Read M920.List of M Codes List of M Codes No. M921 Data Incremental Mode Auto End Due to Illegal Work Measurement MP7 Measuring Head Check Spindle Tool Pot No.0584D-0506 Coolant Pressure Set 3 Coolant Pressure Set 4 Lighting ON Lighting OFF Inner Chip Conveyor OFF Inner Chip Conveyor ON Oil Skimmer OFF Oil Skimmer ON Spindle Upper Nozzle Coolant ON Measuring Head Cleaning Air ON IMM Cleaning Air ON IMM Cleaning Air OFF IMM Cleaning Air ON Mode IMM Cleaning Air OFF Mode Mist Coolant ON Work Clean Coolant/Air ON Air Blow ON Telescopic-Cover Coolant OFF Tool Cleaning Air OFF Tool Cleaning Air ON Set Amount of Oil to Little (MQL) Set Amount of Oil to Standard (MQL) Set Amount of Oil to Large (MQL) Set Mist Pressure to High (MQL) Set Mist Pressure to Standard (MQL) Angle Head Coolant ON Inner Chip Conveyor Speed Setting Angle Head Support Pin Cleaning Air ON Increase Air OFF (MQL) Increase Air ON (MQL) Attachment Lubrication Off Attachment Lubrication On M Code to Generate Alarm Workpiece Automatic Measuring Mode Cancel Measuring Head Alarm Check Counting No. Output M Code for ATC Non Contact Type Measurement Device Zero Set List of M Codes M734 M735 M736 M737 M740 M741 M742 M743 M745 M747 M748 M749 M750 M751 M754 M755 M756 M757 M775 M776 M790 M791 M792 M793 M794 M883 M884 M885 M895 M896 M898 M899 M903 M910 M911 M919 M920 M921 M922 M940 M941 M946 M947 M948 M950 1-9 . List of M Codes List of M Codes List of M Codes M951 M963 M964 M965 M966 M968 M984 M994 M2300 M2301 M2302 M2320 M2321 M2322 M2323 M2324 M2340 1-10 Measuring Probe Power OFF & Check Measuring Probe Power ON & Check Measuring Probe Power OFF Measuring Probe Power ON Cutting Condition Auto Select High Speed Counter Type Tool Measurement Rotary Axis Coordinate Calculate Function SPIN TABLE revolution speed SPIN TABLE Start SPIN TALE Stop INPROCESS GAUGE Measureing Cycle Start INPROCESS GAUGE Autozero Cycle Start INPROCESS GAUGE Measureing Head Retraction INPROCESS GAUGE Get Measuring Data INPROCESS GAUGE Manual Mode Rotary Dresser Control No.0584D-0506 . Specification of M Codes Specification No.0584D-0506 2-1 .Specification of M Codes 2. M2 turns the warning lamp on. When automatic operation is stopped by M0. M02 End of Program (D) □Explanation Indicates the end of program. if the [Power Out] switch has been turned on. M00 Program Stop (D) □Program G01 X___ Y___ F___ M0. spindle rotation and coolant are resumed. □Explanation This M code functions as M0 only when the [Optional Stop] switch has been turned on. M01 Optional Stop (D) □Program G01 X___ Y___ F___ M1.Specification of M Codes Specification 2. the power is turned off. spindle rotation and coolant are stopped. Afterward. the warning lamp is turned on if the machine with a signal tower. (c) Mirror image off is turned off. If the [Cycle Start] switch is pushed. □Explanation Automatic operation stops after the block containing M0 is executed.0584D-0506 . and the [Cycle Start] switch is blinked.1 Specification The (D) means that this code is performed after the axis moves if an axis movement command is given in that block together. and if the [Warning Lamp] mode has been turned on. automatic operation is restarted. Specification And then. 2-2 No. (b) Coolant is stopped. and the warning lamp is turned off. M1 is ignored. If the [Optional Stop] switch is turned off. and resets NC after operating as follows: (a) Spindle rotation is stopped. G01 Z___ F___ . No. an alarm occurs. If no speed has been specified with S code ever. G01 Z___ F___ .Specification of M Codes Specification M03 Spindle CW Start □Program S800 M3 G00 X___ Y___ .0584D-0506 2-3 Specification □Explanation . M04 Spindle CCW Start □Program S800 M4 G00 X___ Y___ . □Explanation Stops the spindle after the block containing M5 is executed. Rotates spindle in counterclockwise direction at a speed specified with S code. □Explanation Rotates spindle in clockwise direction at a speed specified with S code. If no speed has been specified with S code ever. an alarm occurs. M05 Spindle Stop (D) □Program G01 X___ Y___ F___ M5. □Explanation Exchanges the spindle tool with the tool in ATC magazine indexed at the position of next tool. G91 G01 B___ F___ M10. The typical content of M6 is as follows: (a) Coolant is stopped. M07 Mist Coolant/Air Blow ON □Explanation Turns the air blow or the mist coolant on.Specification of M Codes Specification M06 Automatic Tool Change □Program M6. M08 Nozzle Coolant ON □Explanation Turns the nozzle coolant on. (b) Orients and stops the spindle. Specification There is the one which does not return according to the version of the model and software either about the coolant.0584D-0506 . or the tool on ATC arm. □Explanation Stops coolant after the block containing M9 is executed. 2-4 No. (c) Exchanges the spindle tool. (d) Resumes coolant. M10 4th Axis Clamp (D) □Program M11. M09 Coolant OFF (D) □Program G01 X___ Y___ F___ M9. □Explanation Clamps 4th axis after the block containing M10 is executed. G00 B___ M10.Specification of M Codes Specification M11 4th Axis Unclamp □Program M11. Specify it in a by block itself. □Explanation Unclamps 4th axis. □Explanation Turns the mirror image of the 4th axis on if the machine has a 4th axis. Specification □Explanation Clamps 5th axis after the block containing M12 is executed. □Explanation Unclamps 5th axis. G91 G01 A___ F___ M12. M16. No. M13 5th Axis Unclamp □Program M13. M12 5th Axis Clamp (D) □Program M13. M14 BTS Arm Advance (Movable BTS) (D) □Explanation Advances the movable BTS arm. M16 4th Axis Mirror Image ON □Program G28 B___ M11.0584D-0506 2-5 . G91 G01 A___ F___ M12. G91 G01 B___ F___ M10. Specify this M code in an independent block. Specify this M code in an independent block. □Explanation Turns the mirror image of the Y axis on. □Explanation Turns the mirror image for the X axis on. a BTS alarm occurs. M20 BTS Check (D) □Explanation Specification Checks whether or not the tool has broken. M22 Y Axis Mirror Image ON □Program G28 X___ Y___. M21. M19 Spindle Orientation Stop (D) □Program G00 X___ Y___ M19. G01 X___ Y___ F___. M21 X Axis Mirror Image ON □Program G28 X___ Y___. □Explanation Orients and stops the spindle after the block containing M19 is executed.Specification of M Codes Specification M18 BTS Arm Retract (Movable BTS) (D) □Explanation Retracts the movable BTS arm. M22. G01 X___ Y___ F___. If there is a problem with the tool.0584D-0506 . 2-6 No. □Explanation Turns the mirror image (X. 6th axis) off after the block containing M23 is executed. and performs the following operations: (a) Stops spindle rotation. M30 turns the power supply off.Specification of M Codes Specification M23 Mirror Image OFF (D) □Program G28 X___ Y___ M23. If the [Power Out] switch has been turned on. (b) Stops coolant. No. G01 X___ Y___ F___. (c) Turns mirror image off. Afterward. Unconditional Power Out (D) Specification M29 □Program G00 Z___. automatic operation is started after rewinding if the ready status is ON for any pallet. When the pallet changer is operated in the standard operation mode. if the [Warning Lamp] switch has been turned on. X___ Y___. M29.0584D-0506 2-7 . □Explanation Turns off the power supply if the [Power Out] switch has been turned on. M26 Through Spindle Coolant ON □Explanation Turns on through spindle coolant. M30 Part Program End and Repeat (D) □Explanation Resets NC and rewinds program after indicating the end of program. 5th. M30 turns the warning lamp on. 4th. Y. M33 Tool Length Circuit Check □Explanation Used in the tool length automatic measuring macro program. and tool change and pallet change are performed to start the next machining process automatically. M35 Workpiece Auto Measuring Pallet Unload □Explanation Used in the workpiece automatic measuring macro program.Specification of M Codes Specification M31 Workpiece Auto Measuring Mode □Explanation Used in the workpiece automatic measuring macro program. Previously used tool is assigned a BTS alarm. Specify at the start of tool length automatic measuring. M34 Workpiece Auto Measuring Spare Tool Call □Explanation Used in the workpiece automatic measuring macro program. 2-8 No. Afterward. Previously used tool is assigned to a BTS alarm. Specification The tool length automatic measuring circuit is self-diagnosed. Specify at the start of workpiece automatic measuring. M32 Tool Length Auto Measuring Mode □Explanation Used in the tool length automatic measuring macro program.0584D-0506 . a spare tool is indexed if the tool for which a BTS alarm was assigned is called with the T code. Specification of M Codes Specification M36 Prior Tool Check □Program M36; TTool No.; TTool 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, an alarm occurs. □Program Example Specification O1234; M36; T1; T2; T3; 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 also canceled by M2, M30, emergency stop and a tool life alarm. No.0584D-0506 2-9 Specification of M Codes Specification M37 Tool Data Register Mode OFF □Program M___; S___ T___; M37; <---Tool register mode ON such as M448 <---Tool Data Registration □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 and a tool number, after M37 is executed. Specification □Program Example O1234; M448 S4; S1 T1000; S2 T2000; M448 S119; S1 T123; S1 T456; M37; : Machining Program : M30; % 2-10 <---PTN register mode ON. <---PTN 1000 is set to 1st pot magazine. <---PTN 2000 is set to 2nd pot magazine. <---SL data register mode ON <---12.3(%) is set to SL(Upper Limit) of 1st. Pot. <---45.6(%) is set to SL(Lower Limit) of 1st. Pot. <---Data registration mode OFF. No.0584D-0506 Specification of M Codes Specification M38 AC/SL Data Temporary Alter Mode ON □Program M38; SAC Data; SSL(Upper) Data; SSL(Under) Data; M39; □Explanation Sets AC/SL data for spindle tool. First S is for AC data and second S is for SL data. Specified monitor data is retained until an M6 or M2/M30 is specified. If an S9999 is specified, the monitoring data is not altered but the data on Specification 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; % M39 AC/SL Data Temporary Alter Mode OFF □Program M38; SAC Data; SSL(Upper) Data; SSL(Under) Data; M39; □Explanation Turns off the AC/SL data temporary alteration mode. No.0584D-0506 2-11 25) when study mode is ON.25) when study mode is ON. Use this M code when you don't use SL lower limit monitor. M46 SL Lower Limit Coefficient Setting 125% □Explanation Sets SL lower limit coefficient data to 125% (No load * 1. The tool length automatic measuring circuit is self-diagnosed. Use this M code when you don't use SL monitor and AC monitor.Specification of M Codes Specification M41 SL Coefficient Setting 125% □Explanation Sets SL coefficient data to 125% (Max. spindle actual load current * 1. spindle actual load current * 1. M45 Tool Length Circuit Check □Explanation Used in the tool length automatic measuring macro program. M42 SL Coefficient Setting 150% □Explanation Sets SL coefficient data to 150% (Max. Specification M44 SL and AC Coefficient 0% □Explanation Sets SL coefficient data to 0%. spindle actual load current * 2.0584D-0506 .50) when study mode is ON. This M code doesn’t turn on measuring head cleaning air. M47 SL Lower Limit Coefficient Setting 0% □Explanation Sets SL lower limit coefficient data to 0% (No load * 0) when study mode is ON. 2-12 No. M43 SL Coefficient Setting 200% □Explanation Sets SL coefficient data to 200% (Max.00) when study mode is ON. Specification of M Codes Specification M48 M49 Mode Cancel (D) □Program G01 X___ Y___ F___ M48. Fixes the AC data at 100% and the SL data at 200% while study mode is ON.00) SL data = (Max. M49 Feedrate Override Cancel □Program M49.00) M51 Auto Reject Mode ON (M52 Mode Cancel) □Explanation Turns on the automatic workpiece reject mode. □Explanation 100% until M48 or M2/M30 is specified. SL Coefficient 200% □Explanation In the study mode. AC data = (Max. the AC data is fixed at 100% and the SL data is fixed at 200%. the automatic workpiece rejection function interrupts machining and starts machining on next pallet or next ready face. G01 X___ Y___ F___. spindle actual load current × 1. If a tool monitor alarm occurs during random operation.0584D-0506 2-13 Specification Disables the feedrate override switches and fixes the feedrate override at . spindle actual load current × 2. □Explanation Enables the feedrate override switch after the block containing M48 is executed. M52 Auto Reject Mode OFF (Reject Inhibit for Alarm) (D) □Explanation Turns off the automatic workpiece reject mode. No. M50 AC Coefficient 100%. <---Tool length offset (Geometry) for pot 1. M54.0345(mm) (0. -0. Specify M54 in previous block or the same block of data. □Explanation Specifies that next data is minus.0345(mm) (-0. M54. <---M Code for Tool Registration T___.0584D-0506 . -0. <---Indicated that following data is negative S___T___. M54 is effective only for the next data. <---Tool length offset (Geometry) for pot 2.1234(mm) (-0. M448. <---Indicates that following data is negative. <---Tool length (Geometry) register mode ON. 0. <---Tool length offset (Geometry) for pot 3. S1T1234. □Program Example Specification M448 S103.00345 inch) M30 % 2-14 No.00345 inch) S3 T345.01234 inch) S2 M54 T345.Specification of M Codes Specification M54 Tool Offset Data Negative Register Mode □Program M448 S____. H1 D0 causes the tool length data to be sent to H1 but the radius data is not sent.. □Explanation Transfers tool length and radius offset data for spindle tool (registered on Tool Detail screen) to the current offset numbers. Data is sent as follows according to type of tool compensation memory.g. M56.0584D-0506 2-15 . DOffset No. the data is not sent to that offset. C] H>0 ---> Geometry of H number Length (Wear(H)) ---> Wear of H number Specification Length (Geometry(H)) D>0 Radius (Geometry(D)) Radius (Wear(D)) ---> Geometry of D number ---> Wear of D number [Tool compensation memory A] H>0 Length (Geometry(H)) + Length(Wear(H)) ---> compensation of H D>0 Radius (Geometry(D)) + Radius(Wear(D)) ---> compensation of D No.. [Tool compensation memory B. E.Specification of M Codes Specification M56 Tool Offset Data Transfer Command □Program HOffset No. If the offset number is 0. 1. Specify it in a block by itself. M6.2 is sent to offset No. H3 D0. 2-16 No. <----Tool length data of cutter No.0584D-0506 .1 is sent to offset No. <----Tool length data is sent to offset No. and tool radius data of cutter No. but tool radius data is not sent. T1.1.2. the data is transferred to the previous H or D. Specification : Machining Program : T2.2.Specification of M Codes Specification □Program Example O1234. and tool radius data is sent to offset No.2 is sent to offset No. <----Tool length data of cutter No. M56. : Machining Program : M451 S2. If M56 is specified in the same block as H or D. H1 D2. M56. M6. M56. : Machining Program : M30.3. TTool No. [Sequential method] After the M57.. from pot 1 sequentially. [Random method] After an M57. TTool No.Specification of M Codes Specification M57 Tool No. TTool No. No. [Random Method] M57.. order of data is considered as a pot number. Magazine number is set according to M450 S__ Specify. In sequential method. SPot No. pot number is specified for each tool. If M450 has not been specified ever. Max number of pots is up to the maximum pot number of the tool magazine. specify the pot number with S and the tool number with T only for necessary pots. in optional order. a sequential method and random method. specify tool numbers with T. M57 is the same as M448 S4.0584D-0506 2-17 Specification M37(M30). : TTool No.. It is not necessary to specify all the pot. And. Two types of registration methods are provided. in random method. . □Explanation Turns on the tool registration mode.. M37(M30). magazine number is set to 1. Max pot number to be able to register is up to the maximum pot number of the tool magazine. Register Mode □Program [Sequential Method] M57. : SPot No. but pot number have to be specified sequentially. M30.Specification of M Codes Specification □Program Example [Sequential Type] O1234. <----Magazine number is set to 1. M450 S0. <----Tool number of pot 5 of magazine 1 is set to 1005. <----Tool data registration mode OFF. T12. S1 T1010. S10 T1100. M30. <----Tool data registration mode OFF. % M58 M59 Mode Cancel (D) □Program G01 X___ Y___ F___. <----Tool number of pot 1 of magazine 1 is set to 345. T2. T1. 2-18 No.0584D-0506 . is set to 0. G01 X___ Y___ F___. % Specification [Random Type] O1234. M57. S5 T1005. <----Tool number of pot 2 of magazine 0 (external tool) is set to 2. □Explanation Enables [Spindle Speed Override] switch. T345. M58. <----Tool number of pot 1 of magazine 0 (external tool) is set to 1. M450. M37. M57. <----Tool number of pot 10 of magazine 1 is set to 1100. <----Magazine No. <----Tool number of pot 1 of magazine 1 is set to 1010. <----Tool number of pot 1 of magazine 1 is set to 12. □Explanation Disables [Spindle Speed Override] switch and fixes the spindle speed override at 100% until M58 is executed. O9820). M59. M62 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. O9820).0584D-0506 2-19 . O9820). M61 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. M64 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. M60 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. O9820). Cannot be used by itself. O9820). Cannot be used by itself. M63 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. No. Cannot be used by itself. G01 X___ Y___ F___. Specification Cannot be used by itself.Specification of M Codes Specification M59 Spindle Speed Override Cancel □Program S800 M3. Cannot be used by itself. Specification of M Codes Specification M65 Pallet Change (D) □Explanation This M code is used in the pallet loading and unloading programs (O9810. Specification □Program Example M69. ready uncheck mode is turned on. <----Exchanges pallet even if a next pallet is not ready. Through Spindle Air ON □Explanation Turns on through spindle air. 2-20 No. M60. M77 <----Exchanges pallet only if a next pallet is ready. Once an M60 is executed. O9820). this mode is turned off. M78 Signal Lamp 1 ON with No Ready Pallet □Program M98 P9810. □Explanation Turns on signal light 1 (red) if the pallet on stocker is not ready.0584D-0506 . This M code cannot be used in the random operation. With this M code. : Machining Program : M60. Signal light turned on by this M code will be turned off by changing the pallet to ready. M78. M69 Pallet Ready Not Checked at M60 □Explanation Used when a pallet change (M60) is required even if the ready status of the pallet on stocker is OFF. Cannot be used by itself. Checks whether or not the pallet on the stocker is ready or not if pallet has not been loaded on the table.Specification of M Codes Specification M79 Signal Lamp 2 ON with No Ready Pallet □Program M98 P9810. 2. M88 APC Shutter Open □Explanation Opens APC shutter.0584D-0506 2-21 . Signal light turned on by this M code will be turned off by changing the pallet to ready. □Explanation Turns on signal light 2 (yellow) if the pallet on stocker is not ready. No. M80 Pallet Change □Explanation This M code is used in the pallet loading and unloading programs (O9810. M84 Pallet 1 Load Check □Explanation Checks whether or not the pallet number on the table is 1 if a pallet has been loaded. O9820). M79. an alarm occurs. Specification Cannot be used by itself. When it is not ready. M85 Auto Measuring Approach Mode □Explanation This M code is used in the automatic measuring macro program (workpiece/tool length) when the sensor approaches the target-point. M86 Auto Measuring Rapid Mode □Explanation This M code is used in the automatic measuring macro program (workpiece/tool length) when the sensor is fed at rapid traverse. If it is No. a machine alarm occurs. S1.2 of magazine No. S2.Specification of M Codes Specification M89 APC Shutter Close □Explanation Closes APC shutter. □Explanation Deletes all tool data including tool number of the pot specified with S.1 are deleted..2 of magazine No. <----Magazine No. <----Tool data delete mode OFF. M37. S1. : SPot No. M37(M30). <----All the data of the pot of tool No. SPot No. M94 Tool Data Delete Mode ON □Program M94.. If M450 has not ever been specified.1 of magazine No. Specification Magazine number is set according to M450 S__ command. <----All the data of the pot of tool No. □Program Example O1234. <----Tool data delete mode OFF. 0 is not deleted. <----Magazine No.1 are deleted. The specifications are different from the specifications for Professional. <----All the data of the pot of tool No. M450 S2. However. <----Tool data delete mode ON. M30. tool data of tool No. 2-22 No.2 are deleted. is set to 2.0584D-0506 . is set to 1. M450.3.1 of magazine No. <----All the data of the pot of tool No. M94. the magazine number is set to 1.2 are deleted. S2. Specification of M Codes Specification M95 Pallet 2 Load Check □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. Checks whether or not the pallet on the stocker is ready if a pallet has not been loaded on the table. When it is not ready, an alarm occurs. M97 Overhead Shower Coolant ON □Explanation Turns on the high power (ceiling) coolant. Sub Program Call Specification M98 □Program M98 P___ ; □Explanation Calls the subprogram specified with P. M99 Return to Main Program □Program M99; □Explanation Returns to the main program from subprogram. M100 Cleaning Air Off □Explanation This M code is used in tool measurement macro program. M101 Cleaning Air On □Explanation This M code is used in tool measurement macro program. M105 Direct Spare Tool Change □Explanation Exchanges the spindle tool with a spare tool if a tool life alarm has occurred for the spindle tool. (Direct spare tool change) No.0584D-0506 2-23 Specification of M Codes Specification M106 Direct Spare Tool Change Inhibit Mode □Explanation Turns on the direct spare tool change inhibit mode when M107 mode is ON. M107 Direct Spare Tool Change Permit Mode □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. M110 6th Axis Clamp □Explanation 6th Axis Clamp. Specification □Program Example M111; G91 G01 B___ F___ M110; M111 6th Axis Unclamp □Explanation 6th Axis Unclamp. □Program Example M111; G91 G01 B___ F___ M110; 2-24 No.0584D-0506 Specification of M Codes Specification M132 Override 100% or Less □Explanation Sets upper limit of cutting feed rate. [M132;] Limits the cutting feedrate 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__;] M135 Rigid Tap Mode ON □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. M138 5th Axis Mirror Image ON □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. No.0584D-0506 2-25 Specification Used in automatic measuring macro program. In this mode, the upper limit of the cutting feedrate override is set to the percentage specified 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. 1029 is set to "1". Default upper limit of the cutting feedrate override in automatic measuring mode is set by machine parameter No. 0068. M140 First Block Skip ON □Explanation This M code is used in the macro program for automatic measuring. 2-26 No. M154 Block Skip 4 ON □Explanation Turns on block skip 4. M150 Block Skip 2 to 9 OFF □Explanation Turns block skip 2 to 9 off.Specification of M Codes Specification M139 6th Axis Mirror Image ON □Program G28 X___ Y___ A__. Specification M141 First Block Skip OFF □Explanation This M code is used in the macro program for automatic measuring. Specify it in a block by itself. It recovers the status of block skip 1 to the status previously stored by M140/M141. M152 Block Skip 2 ON □Explanation Turns on block skip 2. and turns it on. M142 First Block Skip Return □Explanation This M code is used in the macro program for automatic measuring. It stores the status of the block skip 1. M139. It stores the status of block skip 1. G01 X___ Y___ A__ F___. □Explanation Turns on the mirror image of 6th axis. M153 Block Skip 3 ON □Explanation Turns on block skip 3.0584D-0506 . and turns it off. □Program Example M186 M172 S0. (Rapid Feed Speed Limitation Disable) M172 S1. Block Skip 9 ON □Explanation Turns on block skip 9. (Rapid Feed Speed Limitation Enable) Count Sum of Machined Parts □Explanation Adds value to product counter specified by M186. M156 Block Skip 6 ON □Explanation Turns on block skip 6. If T has not been specified. M158 Block Skip 8 ON □Explanation M159 Specification Turns on block skip 8. Number to be added to the counter is specified by T. it is regarded as T1 has been specified.0584D-0506 2-27 . M172 Rapid Feed Speed Limitation Mode Setting □Explanation Rapid feed speed limitation mode is set. If S has not been specified. No. M157 Block Skip 7 ON □Explanation Turns on block skip 7. and the group of counters to which the value is added is specified by S. all the product counter specified to be added by M186 are added.Specification of M Codes Specification M155 Block Skip 5 ON □Explanation Turns on block skip 5. (Rapid Feed Speed Limitation Enable) M172. M237 SL Mode OFF □Explanation Turns off the SL mode.0584D-0506 . M246 Tool Measuring Sensor Y-Axis Direction □Explanation Specifies the vertical direction for the rotary tool measuring sensor. M188 Dry Run OFF □Explanation Turns off the dry run mode. Specification M235 TL Mode OFF □Explanation Turns off the TL mode. 2-28 No.Specification of M Codes Specification M187 Dry Run ON □Explanation Turns on the dry run mode. □Program M198 P___ . M236 TL Mode ON □Explanation Turns on the TL mode. M247 Tool Measuring Sensor X-Axis Direction □Explanation Specifies the horizontal direction for the rotary tool measuring sensor. M198 Subprogram Call to an External I/O Device. □Explanation Calls a subprogram specified by P from a file in an external I/O device. M238 SL Mode ON □Explanation Turns on the SL mode. 0584D-0506 2-29 . GI/Super-GI Special Mode □Explanation Switches GI/Super-GI to the M254 mode. M255 GI/Super-GI Radical Mode □Explanation Switches GI/Super-GI to the radical mode.Specification of M Codes Specification M250 GI/Super-GI High Accuracy Mode □Explanation Switches GI/Super-GI to the high accuracy mode. M252 GI/Super-GI Ultra High Accuracy Mode □Explanation Switches GI/Super-GI to the ultra high accuracy mode. M253 GI/Super-GI Additional Axis Contouring Mode □Explanation M254 Specification Switches GI/Super-GI to the additional axis contouring mode. M257 GI/Super-GI High Performance Mode for Contouring with Rotary Axes □Explanation Switches GI/Super-GI to the high performance mode for contouring with rotary axes. M251 GI/Super-GI High Performance Mode □Explanation Switches GI/Super-GI to the high performance mode. (This M code is effective for FS300is/FS310is CNC) M258 GI/Super-GI Ultra High Performance Mode for Contouring with Rotary Axes □Explanation Switches GI/Super-GI to the ultra high performance mode for contouring with rotary axes. (This M code is effective for FS300is/FS310is CNC) M259 GI Initial Mode □Explanation Switches GI/Super-GI to the original mode. (This M code is effective for FS160is/FS180is CNC) No. 2-30 No. Do not use this M code in a machining program. This M code is used in the ATC macro program.Specification of M Codes Specification M270 Non Contact Type Spindle Measurement □Explanation This M code is used in tool measurement macro program. The floating M code exchange does not function after this M code is specified. Specification M283 SL Lower Limit Mode OFF □Explanation Turns off the SL lower limit mode. M292 Floating M Code Exchange Prohibition Mode ON □Explanation Turns on the floating M code exchange prohibition mode. M276 Extend Stroke Change Signal OFF □Explanation Turns off the stroke-change signal that has been turned on by M277. M291 Floating M Code Exchange Prohibition Mode OFF □Explanation Turns off the floating M code exchange prohibition mode. This M code is used in ATC macro program. This M code is only for special use in a macro program of one-touch function of MAKINO. M284 SL Lower Limit Mode ON □Explanation Turns on the SL lower limit mode. M277 Extend Stroke Change Signal ON □Explanation Turns on the stroke-change signal.0584D-0506 . The floating M code exchange prohibition mode is turned off if NC reset is turned on. 0584D-0506 2-31 Specification Starts the spindle in clockwise direction without waiting for DEN and returns FIN immediately. G00 G90 Y___ Z___ M302. G01 Z___. No. G01 Z___. M303 Spindle CW Without DEN-Waiting □Program S2000 M303. . Use M304 and M302 in a pair always.Specification of M Codes Specification M302 Fin Check for M303 or M304 □Explanation Checks for completion of M303 or M304. and waits until completion if either code has not been completed. □Explanation Starts the spindle in counterclockwise direction without waiting for DEN and returns FIN immediately. M302 finishes immediately. □Explanation Use M303 and M302 in a pair always. M304 Spindle CCW Without DEN-Waiting □Program S2000 M304. G00 G90 Y___ Z___ M302. If M303 or M304 has not been specified yet. G91 Y___. M311. G91 G28 Z0. G28 X0 Y0. G91 G28 Y0 Z0.0584D-0506 . M6. G91 Y___. Typically in case of oil-pan type machine. and stops them. □Explanation Resumes the spindle and the coolant stopped by M307. M310 Spindle Status Reserve & Stop □Program M310. Use M310 and M311 in a pair always. Typically. M308 Coolant/Spindle Resume Specification □Program M307. inserting the M307 and M308 before and after M6 prevents coolant splash on the floor. M6. G91 G28 Y0 Z0. G29 X0 Y0. M308. in case of oil-pan type machine. □Explanation Stores status of the spindle and the coolant. M308. □Explanation Stores status of the spindle and stops the spindle. inserting M307 and M308 before and after M6 prevents coolant from splashing on the floor. M6. G29 Z0. 2-32 No.Specification of M Codes Specification M307 Coolant/Spindle Stop & Release □Program M307. □Explanation Stores status of the coolant and stops the coolant. G91 G28 Z0. □Explanation Resumes spindle rotation stopped by M310. G91 G28 Z0. M311. G29 Z0.0584D-0506 2-33 . G29 Z0. G29 Y0. G28 Y0.Specification of M Codes Specification M311 Spindle Resume □Program M310. G29 X0 Y0. M6. G28 X0 Y0. No. Coolant Stop & Reserve □Program M312. M313. M6. M312 Specification Use M310 and M311 in a pair always. Use M312 and M313 in a pair always. M316 Oil Controller ON □Explanation Turns on the spindle oil controller for maintenance. orientates and stops the spindle.Specification of M Codes Specification M313 Coolant Resume □Program M312.0584D-0506 . Rotates to clockwise the spindle at a specified speed during specified time by machine parameters. This M code can only be specified if the maintenance mode has been turned on and the spindle has been stopped. M313. with the spindle stopped. M6. This M code can only be specified if the spindle has been stopped. G29 Z0. Specification M314 Spindle Rotation Before Measuring □Explanation This M code is used in the automatic measuring macro program. □Explanation Resumes coolant operation stopped by M312. Use M312 and M313 in a pair always. After that. G91 G28 Z0. 2-34 No. G29 Y0. M317 Spindle Rotation for Alignment □Explanation Rotates spindle slowly. M315 Oil Controller OFF □Explanation Cancels the status of the spindle oil controller that has been turned on by M316. G28 Y0. M318. □Explanation Coolant is stopped and control advances to the next block without waiting for completion of spindle orientation. M318. #100=45.0584D-0506 2-35 . M30. G91 G28 Z0. The angle range is 0. □Program Example Specification O1234. G28 Y0. M322 Spindle Rotation for Measuring □Explanation Rotates spindle to measure tool length. M06. M466.. □Explanation Orients the spindle to the angle specified by macro variable #100.Specification of M Codes Specification M318 Spindle Optional Angle Orient Externally (D) □Program #100=Orient Angle. The minimum unit of the angle that can be set for macro variable #100 is 0. Specify M466 before M318 to read the value of macro variable #100.0 [deg] to 360. M466.1 [deg].0 [deg]. % M319 Pre-Orientation □Program M319. Stop check of oriented position is performed by M6. This M code is used in the tool length measuring macro program. No. M330 becomes invalid. Specification M326 Cs Axis Contouring Mode ON □Program M326. M328 Spindle Lock □Explanation Locks the spindle for measuring. □Explanation Turns on the Cs axis contouring mode. S800 M3. The spindle functions as a normal spindle (S. G91 G28 C0. M327 Spindle Unlock □Explanation Unlocks the spindle for measuring.0584D-0506 . 2-36 No. Specify it in a block by itself.Specification of M Codes Specification M325 Cs Axis Contouring Mode OFF □Program M326. : M325. Specify it in a block by itself. M codes are accepted) until M326 is specified. The spindle functions as an NC axis (Cs axis) until M325 is specified. M330 Improved Spindle Reverse Orient Externally □Explanation Reverses the rotation direction of the spindle during M318. G91 G28 C0. □Explanation Turns off the Cs axis contouring mode. S800 M3. : M325. When M318 is completed. No. M344 AAC Retract & AAC Splashguard Close □Explanation This M code is used for the semi-automatic attachment changer on MCCC.Specification of M Codes Specification M331 Draw Bar Probe Retract □Explanation Retract draw bar probe. M359 Work information output □Explanation In case of robot interface type A. It requests operator to check that spindle attachment is dismounted. M347 Spindle Attachment Dismount Check □Explanation This M code is used for attachment changer on MCC.0584D-0506 2-37 . and then the splashguard for the attachment changer is closed. M332 Draw Bar Probe Advance □Explanation Advance draw bar probe. output program number specified via EXPNO01-EXPNO32 signals. and then attachment changer is advanced. M341 AAC Splashguard Open & AAC Advance □Explanation Specification Used for semi-automatic attachment changer on MCC. The attachment changer is retracted. It requests the operator to check that the spindle attachment is mounted. Splashguard for attachment changer is opened. M340 Attachment Change Start □Explanation This M code is used in the macro program for changing attachments. M346 Spindle Attachment Mount Check □Explanation This M code is used for attachment changer on MCC. : M373. G91 G00 Z-100.. Do not command M372/M373 in the same block of B___. Always use M372 in combination with M373.Specification of M Codes Specification M372 Pre-Unclamp (NC Index) □Program M372. and enter the B___ in between. □Program Example Specification G91 G30 X0..0584D-0506 . Table is clamped and B axis servo ON is activated. M373. 2-38 No. □Explanation This M cod is for shortening machining times. Returns FIN to NC rapidly. B90. M372. Y0. : B___. M377 Tool Measuring Laser OFF □Explanation Turns off the laser (laser clearance is turned off and shutter is closed) if the machine has a rotary tool measuring system. Do not command M372/M373 in the same block of B___. Always use M372 in combination with M373. M372. Y0. M378 Tool Measuring Laser ON □Explanation Turns on the laser (shutter is opened and laser clearance is turned on) if the machine has a rotary tool measuring system..Specification of M Codes Specification M373 Clamp Confirmation (NC Index) □Program M372. and enter the B___ in between. M381 Angle Head Support Retract □Explanation Angle head support retract.0584D-0506 2-39 . No. : M373. M382 Angle Head Support Advance □Explanation Angle head support advance. G91 G00 Z-100. □Explanation This M code is for shortening machining times. Confirm to command and check clamp before start of cutting feed □Program Example G91 G30 X0. : B___. Specification B90.. M373. M391 Spindle Tool Unclamp □Program M392. M391. and M392 are only for special type machine. M390. M391. Be careful because if these are used unexpectedly. and M392 are only for special type machine. 2-40 No. M391. M388 Vacuum Suction OFF □Explanation Turns off vacuum suction. M390. M392 must be specified before M391.Specification of M Codes Specification M387 Vacuum Suction ON □Explanation Turns on vacuum suction. the tool will be dropped. M390 Spindle Tool Clamp □Explanation Specification Clamps the tool in the spindle. When unclamping. Be careful because if these are used unexpectedly. M389 Tailstock Pressure Change □Explanation Selects clamp pressure of tailstock. the tool will be dropped. □Explanation Unclamps the tool in the spindle.0584D-0506 . M390. : M419. M394 Attachment Change End □Explanation M398 Specification This M code is used in the attachment change macro program. /___ <---. and M392 are only for special type machine.0584D-0506 2-41 . Through Spindle Mist ON □Explanation Turns on through spindle mist. M417 Machine Table Pallet 1 Check □Program M417.Dummy block for preventing pre-reading .Dummy block for preventing pre-reading . M391. □Explanation This M code is used to enable unclamping of the spindle tool before M391. G53. M391.Specification of M Codes Specification M392 Spindle Tool Unclamp Ready □Program M392. Be careful because if these are used unexpectedly. /___ <---. : M418. M399 Mist Blow ON □Explanation Turns on mist blowing. the tool will be dropped. No. G53. work offset setting. % 2-42 No. <----Pallet 1. etc. block skip 1 is turned off. G53. : M98 P9820. If neither pallet No. /M98 P10. 1 has been loaded onto the machine table. <----Pallet 2. M30. /M98 P1. A dummy block for preventing pre-reading such as G53 is necessary after M417/M418. G53. 1 nor No. [M417/M418 and block skip 1 ON/OFF] Pallet on machine table M417 M418 1 OFF ON 2 ON OFF □Program Example Specification O1234. M417. tool prior-check M419. <----Pallet 1. the machine is stopped by an alarm.Specification of M Codes Specification □Explanation When pallet No. : Common program for pallet 1 and pallet 2. 2 is on the table. If pallet No. /M98 P2. block skip 1 is turned on. etc. M98 P9810. <----Pallet 2. work offset setting. 2 is on the table. /M98 P20. tool prior-check M418. G53.0584D-0506 . : /___ . 1 has been loaded onto the machine table. If neither pallet No. If pallet No. G53. block skip 1 is turned on. G53.Dummy block for preventing pre-reading .Specification of M Codes Specification M418 Machine Table Pallet 2 Check □Program M417. /___ <---. [M417/M418 and block skip 1 ON/OFF] No. A dummy block for preventing pre-reading such as G53 is necessary after M417/M418. When pallet No. 2 is on the table. /___ <---.0584D-0506 Pallet on machine table M417 M418 1 OFF ON 2 ON OFF 2-43 Specification □Explanation . M419. : /___ . the machine is stopped by an alarm. 1 nor No. 2 is on the table. M418. block skip 1 is turned off.Dummy block for preventing pre-reading . etc. This is used together with M417 or M418. <---. M419. work offset setting.0584D-0506 . tool prior-check M419. M418. /___ . /M98 P2. G53. □Explanation Returns the status of block skip 1 to the setting that has been made on the main control panel. G53. : /___ .Dummy block for preventing pre-reading.Dummy block for preventing pre-reading. 2-44 No. M417. G53. etc. <----Pallet 1. : /___ . <----Pallet 2. G53. /M98 P20. <---. M98 P9810. G53. /M98 P1.Specification of M Codes Specification □Program Example O1234. M30. <----Pallet 1. % M419 Machine Table Pallet Check End □Program M417. work offset setting. /___ . : M98 P9820. <----Pallet 2. tool prior-check M418. /M98 P10. Specification : Common program for pallet 1 and pallet 2. this code is not necessary.). If seating is not proper. No. machine stops. <----T1(tool break check is necessary). <----If T1 is alarm. The tool length is measured after searching. □Explanation machining process if the previous machining process was abnormally terminated after M6. Normally seating is checked during the APC sequence. If there is no need to have the BTS check stop the machine. I. M430 checks the seating condition of the pallet on the machine table. : Machining Program : M434 T1.0584D-0506 2-45 Specification This M code is used when the machine must be stopped before the next . : Machining Program : M6 T3.Specification of M Codes Specification M430 Pallet Contact Check □Explanation This M code is used to adjust the pallet seating check function. and there is no need to specify this code in the program. : Machining Program : M6 T2. to generate an alarm when the next T command is sent. The T1 (tool break check is necessary) will be measured the length after searching. a machine alarm occurs. M434 BTS LS300 OFF Check □Program M434 TTool No. <----Tool change end completes M6 and control advances to next blocks.(A tool number whose tool break or abnormality must be checked. □Program Example M6 T1.e. M441 Message Output Function □Explanation This M code is used in the macro program for attachment changes. <----By tool measuring command. the tool length is measured immediately. : M435. tool length is measured. the tool is touched once to the contactor to stop vibration and then tool length is measured.0584D-0506 . M437 Signal Light 2 Unconditional ON □Explanation Signal light 2 is turned on unconditionally. Press [Light Off] switch to turn off this lamp.Specification of M Codes Specification M435 Tool Broken Status (BT/B2) □Explanation This M code is used by the ATC-side BTS to measure the tool length after tool vibration stops. <----By tool measuring command. <----Immediately after M6. place M435 before M6. In this mode. This mode will be canceled when M6 is executed. □Program Example M6. Press [Light Off] switch to turn off this lamp. the tool is touched once by the BTS arm to stop vibration. 2-46 No. Specification M6. and then the length is measured. M436 Signal Light 1 Unconditional ON □Explanation Signal light 1 is turned on unconditionally. : M6. For this function. 0584D-0506 2-47 Specification M448 S4 has the same function as M57. □Explanation Registers the desired tool data. SPot No.M30). Specify the tool data registration mode with S in the same block as where M448 is specified. Kind and Setting Value Table for the Tool Data Tool Data Register Kind of Tool Data Setting Data [unit] Mode Data (M448 S___) 3 Kind of Pot 0:BT 1:HSK 2:Adapter 4 Tool No. the pot number is specified with S. Specify the cutter number with T in the same block as where M448 is specified. the cutter number is considered to be 1.(PTN) (4 Digit PTN)1 to 9999 (8 Digit PTN)1 to 99999999 5 FTN (4 Digit FTN)1 to 9999 (8 Digit FTN)1 to 99999999 6 ITN (4 Digit ITN)1 to 9999 (8 digit ITN)1 to 99999999 No. the magazine number is considered to be 1. and the tool number is specified with T. M448(M37. TSetting Data. TSetting Data. If M448 S0 is specified. : SPot No. After the tool registration mode is turned on. or M448 is specified without S. The magazine number is specified by M450 S__.Specification of M Codes Specification M448 Tool Data Register Mode (Type1) □Program M448 STool Data Register Mode Data TCutter No. the tool data registration mode is turned off. . If M448 is specified without T.. If M450 has not ever been specified. 00001inch] 107 TL[Time] 0:Disable/1:Enable 108 TL Alarm[Time] 0 to 99999999 109 TL Warning[Time] 0 to 99999999 110 TL Value[Time] -99999999 to 99999999 104 105 106 2-48 No.0001mm/0.00001inch] Tool Radius -9999999 to 9999999 (Geometry(D)) [0.0001mm/0.Specification of M Codes Specification Tool Data Register Kind of Tool Data Setting Data [unit] Mode Data (M448 S___) 7 Priority 0 to 65535 9 TS Coolant 0:Disable/1:Enable 10 Through Spindle 0 to 99999[ms] Coolant Time Specification 11 ATC Speed 0:High/1:Low/2:Middle 12 M60 Disable Flag 0:Disable/1:Enable 13 Prohibition 0:Disable/1:Enable 14 TL Alarm Prohibit 0:Disable/1:Enable 15 Sum of Cutter 1 to 6 102 Kind 0: 1:Drill 2:Ball End Mill 3:End Mill 4:Boring Bar 5:Spring Tool 1 6:Spring Tool 2 7:Tapper 8:Reamer 9:Face Mill 10:Probe 11:Grinding Wheel 103 Tool Length -9999999 to 9999999 (Geometry(H)) [0.0001mm/0.00001inch] Tool Radius -9999999 to 9999999 (Wear(D)) [0.0001mm/0.0584D-0506 .00001inch] Tool Length -9999999 to 9999999 (Wear(H)) [0. 0584D-0506 2-49 .Specification of M Codes Specification Tool Data Register Kind of Tool Data Setting Data [unit] Mode Data (M448 S___) 111 TL[Distance] 0:Disable/1:Enable 112 TL 0 to 999999999 Alarm[Distance] 113 TL 0 to 999999999 Warning[Distance] 114 TL -999999999 to 999999999 Value[Distance] TL[Count] 0:Disable/1:Enable 116 TL Alarm[Count] 0 to 99999 117 TL 0 to 99999 Specification 115 Warning[Count] 118 TL Value[Count] -99999 to 99999 119 SL Upper Limit 0 to 20000 [0.01%] 121 AC 0 to 20000 [0.01%] 122 Alarm BIT00=Tool Broken(Long) BIT01=Tool Broken BIT02=AC Monitor BIT03=SL Monitor BIT04=SL Monitor(non load) BIT05=Tool Life 123 Warning BIT00=Tool Life 124 BTS 0:Disable/1:Enable 125 BTS Before 0 to 9999 126 BTS After 0 to 9999 127 BTS Length 0 to 9999999 128 Operator Call 0:Disable/1:Enable 129 First Used 0:Disable/1:Enable 132 Spindle Speed 0 to 99999[min-1] Limit No.01%] 120 SL Lower Limit 0 to 20000 [0. 10.Sets tool length (Geometry) 0. Specification S1 T1010. S1 T1010. S5 T1005.2 of pot No.<---.2100 to cutter No.Sets tool length (Geometry) -0. <---.1. <---.2010 to cutter No.1100 to cutter No. <---. M448 S103 T2. S5 T2005. % 2-50 No.Tool data registration mode ON.2 of pot No.1100 to pot No.5.10.5. S10 T1100. <---.Sets tool length (Geometry) 0. <---.10. S1 T2010.10.2.Sets tool No.2005 to cutter No.1010 to pot No.0584D-0506 . M448 S103 T1.<---.<---.Sets tool length (Geometry) 0. <---.1 of pot No.Tool data registration mode OFF.Sets tool No. M448 S5.5 M448. S10 M54 T1100. <---.Tool length (Geometry) registration mode for cutter No.1005 to cutter No. <---.FTN registration mode.Specification of M Codes Specification □Program Example M448 S4.1 of pot No. <---. S10 T1100. <---. S1 T1010.Sets FTN1010 to pot No. <---.1.2 of pot No.1.Sets tool length (Geometry) -0.Sets tool length (Geometry) 0.1005 to pot No.Sets tool No.Tool length (Geometry) registration mode for cutter No.<---.1 of pot No.1. S5 T1005.Sets FTN1100 to pot No.5. <---. S10 M54 T2100.1010 to cutter No. <---. S5 T1005.Sets FTN1005 to pot No.1. the cutter number is considered to be 1.1005 to tool radius (Geometry) No.Sets 1010 to tool number. or M448 is specified without S. TCutter No. the tool data registration mode is turned off. M449 S2 T3. : STool Data Register Mode TSetting Data. The magazine number is specified by M450 S__.Sets 1100 to FTN. the kind of data is specified with S. <---.. and the data is specified with T. <---.Tool data registration mode for cutter No.Sets -0.Sets 0. <---.1 of pot No.1005 to tool length (Geometry). If M448 S0 is specified. If M448 is specified without T. □Program Example M449 S1 T1. Specify the cutter number with T in the same block as where M448 is specified.1100 to tool length (Wear). After the tool registration mode is turned on. <---. <---. S104 T1100. S103 T1005. Specify the pot number with S in the same block as where M448 is specified.2 S103 M54 T1010.M30). .1010 to tool length (Geometry).3 of pot No.Sets 0. <---. M449(M37.Specification of M Codes Specification M449 Tool Data Register Mode (Type2) □Program M449 SPot No. □Explanation Registers the desired tool data. S5 T1100. STool Data Register Mode TSetting Data. <---. <---.0584D-0506 2-51 Specification This M code is suitable for registering multiple kinds of data for the tool. the magazine number is considered to be 1. If M450 has not ever been specified.Sets 0. S105 T1005.1 S4 T1010.Tool data registration mode for cutter No. 1010 to pot No.Sets tool No. If M450 is specified without S. <---. M448 S4.Sets tool No. □Program Example 2-52 M450 S0.Tool data registration mode for external tools.5.Magazine number is set to 0. S10 T1100.Sets tool No. S5 T1005.1005 to pot No.Sets tool No. <---. The ATC magazine number is set to 1 if the NC has been reset. S10 T1100.1.M94). Setting for Tool Data Register Mode □Program M450 SATC Magazine No. S1 T1010.Sets tool No.1005 to pot No.1.Sets tool No. <---.1100 to pot No.Specification of M Codes Specification M450 ATC Magazine No. <---.0584D-0506 . <---.Tool data registration mode OFF. <---. <---.10. M448. ATC magazine number is used by the tool data registration M codes Specification (M448.2 □Explanation Sets the ATC magazine number. M448 S4. Specify the ATC magazine number with S in the same block where M450 is specified. No.Tool data registration mode OFF.1 S2: ATC Magazine No.10.Tool data registration mode for tools in magazine No. <---.M57. M450. M449.1.. S1 T1010. S0: Tool out ATC Magazine S1: ATC Magazine No.1010 to pot No. It is retained until NC is reset or until M450 is specified. the ATC magazine number is set to 1. M448.1100 to pot No.Magazine number is set to 1. <---. <---. <---. S5 T1005. <---.5. 0584D-0506 2-53 . Send □Program M462. □Explanation Sends the number of the pallet loaded on the machine table to macro variable #100. Specification M455 Machining Signal OFF □Explanation MCRUN signal is turned OFF for Fixture Interface.2 to NC.Transfers tool length and tool radius data of the cutter No.. □Explanation Specifies the cutter number of the spindle tool.Specification of M Codes Specification M451 Tool Cutter No. M462 Pallet No. No. the face number is also sent to #101. A dummy block for preventing pre-reading such as G53 must be inserted before reading #100 or #101. G53. M56. Setting □Program M451 SCutter No.Sets 2 to the cutter number of the spindle tool. <---. The cutter number is set to 1 after the ATC operation. After M462. □Program Example M451 S2. <---. M456 Machining Signal ON □Explanation MCRUN signal is turned ON for Fixture Interface. In case the 4-face program automatic assignment function is provided. The cutter number specified by M451 is retained until M451 is specified or until the ATC operation is completed. 0584D-0506 . M465. This M code outputs the printout status again.Specification of M Codes Specification M463 Print-out Mode Output □Program M464. 2-54 No. G53. After sending M464 and before reading #1032. M946 or M974 is executed. M474. After reading #1032. G53. specify M463 to output the measuring printout status again. however when M464. Normally the measuring printout status has been output to custom macro #1000. insert a dummy block for preventing pre-reading such as G53. M463. M463. □Explanation The spindle tool number is output to custom macro #1032. #1001 and #1032. this status becomes unstable temporarily. □Explanation Enables the measuring function printout switch. Specification M464 Specified Spindle Tool Output □Program M464. #100=#1032. M468. #100=#1032. Specification of M Codes Specification M465 Spindle Tool No.0 25 [deg] C axis attachment = 14. G53. M463. After reading #1032. This M code is used to specify the pallet number to be loaded before M608 for an independent loading APM. IF[#100 EQ 0] GOTO10.0 No. For MCC #100 = 0. Macro Variable (#100) Read □Explanation The macro variable #100 value is read by machine side control. □Explanation Used when MCC is provided with an attachment to output the attachment number to macro variable #100. specify M463 to output the measuring printout status again.0584D-0506 No attachment = 13. □Explanation The spindle tool number "0" is output to custom macro #1032. 0 Output □Program M465. G53.0 Extension attachment = 15. #100=#1032. It is used to specify the position before M318 for external spindle orientation. insert a dummy block for preventing pre-reading such as G53.0 25 [deg] manual attachment 2-55 Specification M466 . Output to Macro (#100) □Program M468. M468 Attachment No. After sending M465 and before reading #1032. #100=#1032. the tool for which compensation is performed bythe remachining function is called when the next machining process is performed.0584D-0506 . and not the spare tool. In particular. since an alarm is not triggered even when a tool life alarm occurs. In this mode. Specification M470 Metallic Cutting Mode OFF □Explanation Turn off metallic cutting mode. This mode is canceled by M2/M30 or the workpiece automatic measuring/remachining termination program (O9793). 2-56 No.Specification of M Codes Specification M469 TL Alarm Suspension Mode ON □Explanation Turns on the TL alarm suspend mode when the workpiece automatic measuring/remachining function is to be performed. After specifying M474 and before reading #1032. After reading #1032. specify M463 to restore the measuring function printout status. the suspended alarm is registered.v M474 Next Tool Output □Program M474. M471 Metallic Cutting Mode ON □Explanation Turn on metallic cutting mode. when O9793 is executed to cancel the mode. insert a dummy block for preventing pre-reading such as G53. G53. □Explanation Writes the next tool number (specified by T) to custom macro variable #1032. M463. #101=Data Detail 1. The read macro variables are decided by MOS side setting. reading request of the macro variable value is sent to MOS. #108=Data Detail 8. set the NC parameter so that M483 is a non-buffered M code. The data is then output to macro variable #110.0584D-0506 2-57 . #109=Data Detail 9.Specification of M Codes Specification M480 Macro Variables Reading Request to MOS □Explanation When system mode is on. When referring to the obtained data immediately after the M code. Machine alarm occurs in the following cases. specify M483.Machine does not communicate with MOS.Reading the macro variables was not completed within 60[s].Dummy block for preventing pre-reading. (Set "483" to an empty NC parameter from No. When system mode is off. or insert a G53 after the M code to prevent pre-reading. 3416 to No. 3420 to specify M483 as a non-buffered M-code. (Necessary when M483 is not specified as not-buffered M code. #105=Data Detail 5. #104=Data Detail 4. M483 Machine Data Output to Macro Variable □Program #100=Data Kind. . #106=Data Detail 6. G53 <--.) □Explanation Outputs the machine data to macro variables. #107=Data Detail 7. M480 is completed in no request to MOS. . #103=Data Detail 3.) No. M483. Specification #102=Data Detail 2. After setting the type of required machine data with custom macro variable #100 to #109. 0 Tool Data 101 0.0 Next pot Pot No. (If empty. (PTN) (4 Digit PTN)1 to 9999 (8 Digit PTN)1 to 99999999 5 FTN (4 Digit FTN)1 to 9999 (8 Digit FTN)1 to 99999999 6 ITN (4 Digit ITN)1 to 9999 (8 digit ITN)1 to 99999999 7 Priority 0 to 65535 9 TS Coolant 0:Disable/1:Enable 10 Through Spindle 0 to 99999[ms] Coolant Suction Time 2-58 11 ATC Speed 0:High/1:Low/2:Middle 12 M60 Disable Flag 0:Disable/1:Enable 13 Prohibition 0:Disable/1:Enable 14 TL Alarm Prohibit 0:Disable/1:Enable 15 Sum of Cutter 1 to 6 No.0584D-0506 . Other pot 102 Refer Meaning of Value Kind of Data following 103 --- Cutter No. (If empty.) Data of Kind of Tool Data Output Data of #110 [unit] #102 3 Kind of Pot 0:BT 1:HSK 2:Adapter 4 Tool No. 1 is set. 1 is set.Specification of M Codes Specification Tool Data Macro Setting Variable Value 100 1. ) 110 Refer Output Data following Specification Kind and Setting Value Table for the Tool Data (Value are all integers. -1.0 Spindle pot. ) 104 --- ATC Magazine No. 00001inch] 107 TL [Time] 0:Disable/1:Enable 108 TL Alarm [Time] 0 to 99999999 109 TL Warning [Time] 0 to 99999999 110 TL Value [Time] -99999999 to 99999999 111 TL [Distance] 0:Disable/1:Enable 112 TL Alarm [Distance] 0 to 999999999 113 TL Warning 0 to 999999999 104 105 106 [Distance] 114 TL Value [Distance] -999999999 to 999999999 115 TL 0:Disable/1:Enable [Count] 116 TL Alarm 0 to 99999 [Count] No.Specification of M Codes Specification Data of Kind of Tool Data Output Data of #110 [unit] #102 102 Kind 0: 1:Drill 2:Ball End Mill 3:End Mill 4:Boring Bar 5:Spring Tool 1 6:Spring Tool 2 7:Tapper 8:Reamer 9:Face Mill Specification 10:Probe 11:Grinding Wheel 103 Tool Length -9999999 to 9999999 (Geometry(H)) [0.0001mm/0.0001mm/0.0584D-0506 117 TL Warning [Count] 0 to 99999 118 TL Value [Count] -99999 to 99999 2-59 .00001inch] Tool Radius -9999999 to 9999999 (Geometry(D)) [0.0001mm/0.00001inch] Tool Length -9999999 to 9999999 (Wear(H)) [0.0001mm/0.00001inch] Tool Radius -9999999 to 9999999 (Wear(D)) [0. 01%] 120 SL Lower Limit 0 to 20000 [0.01%] 122 Alarm BIT00=Tool Broken (Long) BIT01=Tool Broken BIT02=AC Monitor BIT03=SL Monitor BIT04=SL Monitor (non load) BIT05=Tool Life Specification 2-60 123 Warning BIT00=Tool Life 124 BTS 0:Disable/1:Enable 125 BTS Before 0 to 9999 126 BTS After 0 to 9999 127 BTS Length 0 to 9999999 128 Operator Call 0:Disable/1:Enable 129 First Used 0:Disable/1:Enable 132 Spindle Speed Limit 0 to 99999[min-1] No.Specification of M Codes Specification Data of Kind of Tool Data Output Data of #110 [unit] #102 119 SL Upper Limit 0 to 20000 [0.01%] 121 AC 0 to 20000 [0.0584D-0506 . 0 Pallet on WSS1 -5.0 Pallet on Buffer 1 -2.Specification of M Codes Specification Work Data Macro Value Meaning of Value Variable 100 2.0 Pallet on Buffer 2 -3.0 Table Pallet 102 -1.0 Pallet on Carrier -4. If empty. No. 1 is set.0584D-0506 103 Refer following Kind of Work Data 110 Refer following Output Data 2-61 .0 270 [deg] Face Specification Pallet No.0 90 [deg] Face 3.0 Work Data 101 0.0 Pallet on WSS2 Other pallet 1.0 180 [deg] Face 4.0 0 [deg] Face 2. at Alarm 0 to 99999 119 Spindle Tool No.0584D-0506 .) Data of Kind of Work Data (Values are all Output Data of #110[unit] #103 1 Pallet No. at Alarm (4 Digit)1 to 9999 (8 Digit)1 to 99999999 118 N No. (4 Digit)1 to 9999 (8 Digit)1 to 99999999 Specification 107 Work Offset (X Axis) -99999999 to 99999999 108 Work Offset (Y Axis) -99999999 to 99999999 109 Work Offset (Z Axis) -99999999 to 99999999 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 117 O No. at Alarm (4 Digit PTN)1 to 9999 (8 Digit PTN)1 to 99999999 2-62 No.Specification of M Codes Specification Kind and the Setting Value Table for the Work Data integers. 0 to 65535 3 Priority 0 to 65535 5 Express 0:OFF/1:ON 103 Ready 0:OFF/1:ON 104 Suspend 0:OFF/1:ON 105 Fin Status 0 to 5 106 Program No. input this item) 110 No.0 101 --- Meaning of Value Machine Parameter Machine Parameter No.0 Byte 2.0 F Address 2.0 Bit 1.0 V Address 102 --- Address No.0584D-0506 Refer following Output Data 2-63 .0 G Address 1.0 Y Address 3.0 Word 4.0 Meaning of Value Machine Condition 101 Refer following Kind of Machine Condition 110 Refer following Output Data Kind and Setting Value Table for the Machine Condition Kind of Machine #101 Condition 0 1 Output Data of #110[unit] The state of spindle 0: Warmup is Necessary warmup 1: Warmup is unnecessary Last commanded S code 0 to 99999[min-1] Specification Data of Input/Output Signal condition Variable Value Meaning of Value 100 4 .Specification of M Codes Specification Machine Parameter Variable Value 100 3. 110 Output Data (Internal Setting Data) Machine Condition Variable 100 Value 4 .0 Long 104 0.0 Machine Condition 101 0.0 X Address 100.0 Bit number (If size is 0 (Bit). 103 0.0-7. ) 2-64 No. <---. <---.2. G53. #102=119... M483.Selects tool life data (Time). <---. <---..Tool data output command.. <---. Pot is output.Dummy block for preventing pre-reading. <---. M483.Tool life data (Time) is output. #103=2. #111=32. Pot is output: #100=1.2 of 1st. G53.Alarm data is output. <---.Selects the spindle tool. #100=1 <---. <---.Selects pot No. G53.Dummy block for preventing pre-reading.Selects pot No.Dummy block for preventing pre-reading. G53. <---.Dummy block for preventing pre-reading.(Codes executed if TL alarm had been given. <---. #102=103.Selects alarm data.. #101=1.2 of 1st.Tool length data (Geometry(H)) is output.Selects SL data (Upper Limit). <---..Selects cutter No. (4) Outputs alarm data. #102=110. #112=#110 AND #111. <---. Because TL alarm flag is 5th bit. (3) When SL data (Upper Limit) of cutter No.. <---.Selects cutter No. <---. <---.Selects tool length data (Geometry(H)).SL data of cutter No. <---.Tool data output command.1.0584D-0506 . <---. #101=0... #102=122. <---. and executes a process if an alarm had been given. <---. #101=-1. M483..Tool data output command. IF[#112NE#111]GOTO1 N1 … <---. <---.1.Specification of M Codes Specification □Program Example ( Tool Data ) (1) When remaining life of spindle tool is output: #100=1.. #103=2.Sets 32. #101=1. <---... (2) When tool length data of next tool is output: Specification #100=1. <---.Selects next tool.2. <---.Tool data output command.Executes AND operation at #110 and #111 to extract 5th bit. M483.. <---.Program number of a pallet on the table is output. <---.Dummy block for preventing pre-reading.2 is output: <---.0584D-0506 M483.1000 is output. M483.Selects a pallet on the table. <---..1000. □Program Example ( Machine Parameter. No.Selects the machine parameter No.2. <---. G53. <---. Specification #100=2.. ) #100=3.Work data output command. #102=1...Dummy block for preventing pre-reading. #103=106. 2-65 . ) #100=3. <---.Selects the state of spindle warmup. #101=1000.Selects program number data.. G53..Selects ready data. <---.. G53. M483.Dummy block for preventing pre-reading. G53. #101=1000. <---.Dummy block for preventing pre-reading.The state of spindle warmup is output.2 is output. #102=2. □Program Example ( Machine Condition. <---..Ready of pallet No. #103=103. #101=0. <---. <---. M483. #101=2.Work data output command. (2) When ready of pallet No.Specification of M Codes Specification □Program Example ( Work Data ) (1) When program number of a pallet on the table is output: #100=2. <---.Machine condition output command..Selects pallet No. <---.Selects 90 [deg] face.. <---. <---. <---.The machine parameter No... <---. <---. <---.Selects 0 [deg] face.Machine parameter output command. . <---. M492 First Use Check Request □Explanation Check spindle tool life data and output WCHKRQ signal to Robot interface or CHKREQ signal to Fixture interface. <---. M531 M Code for Fixture Interface □Explanation This M code is used to control the jig interface.Dummy block for preventing pre-reading...Condition of X0015 bit 4 is output G53.Select size=WORD M483.. <---.Input/output condition output command.Select X address #102=15.0584D-0506 . <---. M532 M Code for Fixture Interface □Explanation This M code is used to control the jig interface.Select Bit address 4 M483. <---. <---. #101=3.Specification of M Codes Specification □Program Example (Input/Output Signal Condition) (1) When condition of X0015 Bit4 is output: #100=5.Select G address #102=15. <---.. <---. 2-66 No..Dummy block for preventing pre-reading. <---. <---.Select Size=Bit #104=4. <---.. Specification (2) When condition of G0015 .Condition of G0015 -G0016 is output by WORD G53. M507 Open ATC Shutter and Start Next Block before Shutter is Fully Open □Explanation Opens ATC shutter without waiting for DEN and returns FIN immediately..Select address #103=2. <---. M530 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. <---.G0016 is output by Word: #100=5.Input/output condition output command #101=0.Select address #103=106.. M538 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. M539 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. M Code for Fixture Interface □Explanation This M code is used to control the jig interface.0584D-0506 2-67 . M548 M Code for ATC □Explanation This M code is used in the ATC macro program.Specification of M Codes Specification M533 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. No. M534 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. M550 M Code for ATC □Explanation This M code is used in the ATC macro program. M535 M Code for Fixture Interface □Explanation This M code is used to control the jig interface. M536 M Code for Fixture Interface □Explanation M537 Specification This M code is used to control the jig interface. M549 M Code for ATC □Explanation This M code is used in the ATC macro program.. M558 M Code for ATC □Explanation This M code is used in the ATC macro program. M554 M Code for ATC □Explanation This M code is used in the ATC macro program. M556 M Code for ATC □Explanation This M code is used in the ATC macro program.Specification of M Codes Specification M551 M Code for ATC □Explanation This M code is used in the ATC macro program. Specification M555 M Code for ATC □Explanation This M code is used in the ATC macro program. M559 M Code for ATC □Explanation This M code is used in the ATC macro program. M557 M Code for ATC □Explanation This M code is used in the ATC macro program. M552 M Code for ATC □Explanation This M code is used in the ATC macro program. 2-68 No.0584D-0506 . M553 M Code for ATC □Explanation This M code is used in the ATC macro program. □Explanation UMDO1 signal of special user I/O interface is turned off. M583 M Code for Special User I/O Interface □Program M583. M582 M Code for Special User I/O Interface □Program M582. Other output signals in the same group are turned off. M584 M Code for Special User I/O Interface □Program M584. Specification Other output signals in the same group are turned off. No. □Explanation UMDO2 signal of special user I/O interface is turned on. Other output signals in the same group are turned off. □Explanation UMDO3 signal of special user I/O interface is turned off.Specification of M Codes Specification M580 M Code for Special User I/O Interface □Program M580. Other output signals in the same group are turned off. □Explanation UMDO2 signal of special user I/O interface is turned off. M581 M Code for Special User I/O Interface □Program M581. □Explanation UMDO1 signal of special user I/O interface is turned on.0584D-0506 2-69 . Other output signals in the same group are turned off. □Explanation UMDO3 signal of special user I/O interface is turned on. 2-70 No. Specification Other output signals in the same group are turned off.0584D-0506 . □Explanation UMDO4 signal of special user I/O interface is turned off. M588 M Code for Special User I/O Interface □Program M588. M586 M Code for Special User I/O Interface □Program M586. □Explanation UMDO5 signal of special user I/O interface is turned off. Other output signals in the same group are turned off. M587 M Code for Special User I/O Interface □Program M587. □Explanation UMDO4 signal of special user I/O interface is turned on. Other output signals in the same group are turned off.Specification of M Codes Specification M585 M Code for Special User I/O Interface □Program M585. M589 M Code for Special User I/O Interface □Program M589. Other output signals in the same group are turned off. Other output signals in the same group are turned off. □Explanation UMDO5 signal of special user I/O interface is turned on. □Explanation UMDO8 signal of special user I/O interface is turned off. □Explanation UMDO7 signal of special user I/O interface is turned off. Other output signals in the same group are turned off. □Explanation UMDO6 signal of special user I/O interface is turned off. Other output signals in the same group are turned off. No.Specification of M Codes Specification M590 M Code for Special User I/O Interface □Program M590. M592 M Code for Special User I/O Interface □Program M592. M594 M Code for Special User I/O Interface □Program M594. Other output signals in the same group are turned off. Specification Other output signals in the same group are turned off. M593 M Code for Special User I/O Interface □Program M593. M591 M Code for Special User I/O Interface □Program M591. □Explanation UMDO7 signal of special user I/O interface is turned on. Other output signals in the same group are turned off.0584D-0506 2-71 . □Explanation UMDO6 signal of special user I/O interface is turned on. M605 Work Chuck Unclamp □Explanation Unclamp work chuck. Indicates the end of the one-touch function. M603 Tool Retract End □Explanation This M code is used for registration of modal data or data at the start of the direct STS program. Other output signals in the same group are turned off.Specification of M Codes Specification M595 M Code for Special User I/O Interface □Program M595. M601 Axis Index Program End (D) □Explanation Specification This M code is used in the axis index program. Normally it is not used. 2-72 No. M604 Work Chuck Clamp □Explanation Clamp work chuck.0584D-0506 . □Explanation UMDO8 signal of special user I/O interface is turned on. M602 Routine Function DNC Program End □Explanation This M code is used in the one-touch function DNC program. M600 Pallet Change Sub M Code (D) □Explanation This M code is used in the pallet change subprogram. Do not use in machining program. and returns operation mode to original mode after single-block stop. Normally it is not used. M60. G91 G30 X0 Y0. : Loads the pallet ready to the machine buffer. (0:Stop with alarm/ 1:Not stop with alarm) The pallet number for macro variable #100 must be with decimal point. 3. M10. and command M466. In that case. For V33/V56/V77 This M code is used in the one-touch function DNC program to indicate starting of the function.8069 whether to stop the machine with an alarm or not. M466. For a-Series pallet magazine (1)Loads ready-pallet: : M608. : Loads the pallet ready to the machine table. M608. G91 G30 P3 X0 Y0. #100=____ . G91 G30 B0 M11. G91 G30 P3 X0 Y0. (Example: #100=1. if specified pallet isn't ready or the machine reserve mode is ON.0584D-0506 2-73 Specification (2)Loads specified pallet. For V56 pallet magazine (1)Loads ready-pallet: : G91 G30 P3 Z0. There is no pallet to which ready has been turned on.Specification of M Codes Specification M608 Individual Pallet Loading □Explanation 1. : Set the pallet number to the macro variable #100.0) . You can select by setting of the machine parameter No. : G91 G30 P3 Z0. 2. M608. No. G91 G30 Z0. lifter is moved in front of the machine buffer (preparation for unloading). M608.0) The specified pallet number is 0. : #100=____ . 3. M466. G91 G30 X0 Y0. (0:Stop with alarm/ 1:Not stop with alarm) The pallet number for macro variable #100 must be with decimal point.0584D-0506 .8069 whether to stop the machine with an alarm or not.Specification of M Codes Specification Specification (2)Loads specified pallet. if specified pallet isn't ready or the machine reserve mode is ON. : Set the pallet number to the macro variable #100. 2-74 No. and command M466. 2. G91 G30 P3 X0 Y0. M609 Respective Unload □Explanation 1. M60. lifter is moved in front of the machine buffer (preparation for unloading). For V56 pallet magazine : G91 G30 P3 Z0. M609. (Example: #100=1. Nothing is done when there is no pallet in the machine buffer. : Pallet on the machine table is returned to the stocker. For a-Series pallet magazine : M609. G91 G30 Z0. M10. : Pallet on the machine buffer is returned to the magazine stocker. For V33/V56/V77 This M code is used in the one-touch function DNC program to unload the pallet. In that case. G91 G30 B0 M11. You can select by setting of the machine parameter No. if the machine has a semi-automatic attachment changer. which is used to mount or dismount an attachment to the spindle. M612 Workpiece Change □Explanation Exchanges workpiece on stocker with workpiece on table. if the machine has a semi-automatic attachment changer. 0977. No.0584D-0506 2-75 . 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. M621 TTravel Limit Valid □Explanation Turns on the stroke limit mode according to machine parameter No. M611 AAC Step Advance □Explanation Advances the step for operator. 0835 and No. which is used to mount or dismount an attachment to the spindle. M621 Travel Limit Invalid □Explanation Stroke limit is ignored temporarily.Specification of M Codes Specification M610 AAC Step Retract □Explanation Retracts the step for operator. Specification M613 Workpiece Unload □Explanation Moves workpiece from table to stocker. M614 Workpiece Load □Explanation Moves workpiece from stocker to table. Do not command any code excepting M10/M11. M10.0584D-0506 .Specification of M Codes Specification M630 Axis Retract Position at ATC □Program M630 SZ Axis Position. M661 must be used together with M662. □Explanation Indicate the escape range between spindle and work (Z axis) to tool change. M631 AWC Index Work Selection Command □Explanation Select work that loaded by load command. End of tool change is checked by M662. Specification M638 ATC Shutter Close □Explanation Closes ATC shutter. tool change is possible. 2-76 No. M639 ATC Shutter Open □Explanation Opens ATC shutter. M11. If Z axis is in range of -xxx[mm] to 0[mm] when M630Sxxx is performed. G28 Y0 M661. M661 ATC & B Axis Simultaneous Operation □Program G91 G28 Z0. and returns FIN signal immediately. : □Explanation [M code for decreasing machining time] Specifies tool change internally without waiting for DEN signal. between the M661 and M662. G90 G01 B___ F___. M662. : □Explanation Checks completion of tool change specified by M661. M11. G90 G01 B___ F___. M663 M Code for ATC □Explanation This M code is used in the ATC subprogram. G28 Y0 M661. between the M661 and M662. No. M709 Coolant Stop without DEN Waiting □Program G01 X___ Y___ F___ M709. □Explanation Stops all the coolant without waiting for the end of travel command distribution (DEN) signal.0584D-0506 2-77 Specification Do not command any code excepting M10/M11. M661 must be used together with M662. M707 Angle Plate / Table Cleaning Coolant ON □Explanation Turns on angle plate / table cleaning coolant. M10. M708 Additional Nozzle Coolant ON □Explanation Turns on additional nozzle coolant.Specification of M Codes Specification M662 ATC & B Axis Simultaneous Operation End Check □Program G91 G28 Z0. . M706 Angle Plate / Table Cleaning Coolant OFF □Explanation Turns off angle plate / table cleaning coolant. M662. M737 Lighting OFF □Explanation Turns off the machine light. M733 Coolant Pressure Set 2 □Explanation Coolant is turned on with pressure setting 2 if two or more pressure levels are available.0584D-0506 . M722 Stylus Cleaning Air OFF □Explanation Turns off Stylus Cleaning Air. M735 Coolant Pressure Set 4 □Explanation Coolant is turned on with pressure setting 4 if two or more pressure levels are available. M723 Stylus Cleaning Air ON □Explanation Specification Turns on Stylus Cleaning Air. M734 Coolant Pressure Set 3 □Explanation Coolant is turned on with pressure setting 3 if two or more pressure levels are available. M732 Coolant Pressure Set 1 □Explanation Coolant is turned on with pressure setting 1 if two or more pressure levels are available. 2-78 No. M736 Lighting ON □Explanation Turns on the machine light. M711 Mist Collector ON □Explanation Turns on the mist collector.Specification of M Codes Specification M710 Mist Collector OFF □Explanation Turns off the mist collector. M750 IMM Cleaning Air ON Mode □Explanation Turns on the IMM cleaning air on mode. M742 Oil Skimmer OFF □Explanation Stops the oil skimmer. M741 Inner Chip Conveyor ON □Explanation Starts the inner chip conveyor.Specification of M Codes Specification M740 Inner Chip Conveyor OFF □Explanation Stops the inner chip conveyor. the cleaning air is turned on during automatic operation while the spindle is rotated. M749 IMM Cleaning Air OFF □Explanation Turns off IMM cleaning air. M748 IMM Cleaning Air ON □Explanation Turns on IMM cleaning air. M747 Measuring Head Cleaning Air ON □Explanation Supplies measuring head cleaning air for one second in the automatic measuring macro program.0584D-0506 2-79 . In this mode. Spindle Upper Nozzle Coolant ON □Explanation Turns on spindle upper nozzle coolant. M743 Oil Skimmer ON □Explanation M745 Specification Starts the oil skimmer. No. Specification of M Codes Specification M751 IMM Cleaning Air OFF Mode □Explanation Turns off M750 mode. 2-80 No. M756 Air Blow ON □Explanation Specification Turns on air blow.0584D-0506 . M754 Base Coolant ON □Explanation Turns on IMM cleaning air. M791 Set Amount of Oil to Standard (MQL) □Explanation Sets amount of oil on MQL to standard. M755 Cleaning Telescopic-Cover Coolant ON □Explanation Turns on base coolant. M790 Set Amount of Oil to Little (MQL) □Explanation Sets amount of oil on MQL to low. M775 Tool Cleaning Air OFF □Explanation Turns off tool cleaning air of rotary tool measuring system. M757 Telescopic-Cover Coolant OFF □Explanation Turns off coolant for telescopic cover. M776 Tool Cleaning Air ON □Explanation Turns on tool cleaning air of rotary tool measuring system. M792 Set Amount of Oil to Large (MQL) □Explanation Sets amount of oil on MQL to high. M794 Set Mist Pressure to Standard (MQL) □Explanation Sets mist pressure on MQL to standard. (1) M2/M30 Command (2)Emergency Stop (3)Machine Power Off M885 Angle Head Support Pin Cleaning Air ON □Explanation Turns the angle head support pin cleaning air on. Specification □Explanation Set inner chip conveyor speed. M884 Inner Chip Conveyor Speed Setting □Program M884 Sinner Chip Conveyor Speed. M896 Increase Air ON (MQL) □Explanation The increase air of the mist generation device is turned on. M883 Angle Head Coolant ON □Explanation Turns the angle head coolant on. No. Speed mode S1: High Speed S2: Middle Speed S3: Low Speed(Default) Commanded speed is changed to low speed by follow action. M895 Increase Air OFF (MQL) □Explanation The increase air of the mist generation device is turned off. Command S code for speed in same block.Specification of M Codes Specification M793 Set Mist Pressure to High (MQL) □Explanation Sets mist pressure on MQL to high.0584D-0506 2-81 . If the battery is ON. 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. M910 Workpiece Automatic Measuring Mode Cancel □Explanation This M code is used in the workpiece automatic measuring macro program. an alarm occurs. It checks whether or not the measuring head battery is OFF. It cancels the workpiece automatic measuring mode. M899 Attachment Lubrication On □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.0584D-0506 . M903 M Code to Generate Alarm □Explanation Specification Use this M code when the alarm is generated in the macro program. 2-82 No.Specification of M Codes Specification M898 Attachment Lubrication Off □Explanation Attachment lubrication is turned off. M911 Measuring Head Alarm Check □Explanation This M code is used in the workpiece automatic measuring macro program. <---. : Machining Program : M919. it is added or subtracted to the tool life on the tool data screen. M30. Specification □Program Example [Subtraction mode] O1234.0584D-0506 2-83 . If M919 is specified without S. The number specified with S is added to the counter or subtracted from the counter according to the setting of machine parameter No. it is considered to be M919 S1.Subtracts 1 from a remaining count of workpiece. <---. % No. : Machining Program : M919 S3. 01019.Subtracts 3 from a remaining count of workpiece.Specification of M Codes Specification M919 Counting No. of Machined Parts □Program M919 SIncrement/Decrement. □Explanation Specify the value to be added or subtracted with S in the block as M919. When this value is specified. : Machining Program : #100=-10. M6. Specification Therefore.12013). <---. or insert a G53 after the M code to prevent pre-reading. When employing a tool by the PTN (Machine parameter No. The data written to the macro variable #100 is merged with that data. a tool cannot be specified by the method of specifying a tool number to #109. T1.Writes 123. M920.456.1234. There are two kinds of tool length data on the "Tool Data" screen: Geometry (H) and Wear (H).Writes -10. #109=1234. Tool Length (Geometry(H)) = #100 Set the NC parameter to specify M920 as non-buffered M code.000 into tool data of the tool No.456 into tool data of spindle tool. □Program Example O1234. If employing a tool by the PTN. or set the tool number for the special tool. #109=Tool Specifying.0584D-0506 .Specification of M Codes Specification M920 Tool Length Measuring Data Read □Program #100=Tool Length Measuring Data.000. it cannot use simultaneously with this M code. M30. #109=0. M920. □Explanation Writes data for macro variable #100 to tool length data in the tool database for spindle tool or special tool. the data is written as follows in the tool data. #100=123. <---. % 2-84 No.0. Set 0 or blank to macro variable #109 for the spindle tool. M920. Writing is performed to all the tools corresponding to the tool numbers set to #109. it cannot use simultaneously with this M code. The data written to macro variable #100 is merged with that data. Writing is performed to all the tools corresponding to the tool numbers set to #109. or insert a G53 after the M code to prevent pre-reading. or insert a G53 after the M code to prevent pre-reading. Therefore. Set 0 or blank to macro variable #109 for the spindle tool.0584D-0506 2-85 . No. a tool cannot be specified by the method of specifying a tool number to #109. or set the tool number for the special tool.Specification of M Codes Specification M921 Tool Radius Measuring Data Read □Program #100=Tool Radius Measuring Data.12013). □Explanation Writes data for macro variable #100 to tool radius data in the tool database for spindle tool or special tool. #109=Tool Specifying. When employing a tool by the PTN (Machine parameter No. M921. If employing a tool by the PTN. There are two kinds of tool radius data on the "Tool Data" screen: Specification Geometry (H) and Wear (H). the data is written as follows to the tool data: Tool Radius (Geometry(H)) = #100 Tool Radius (Wear(H)) = 0 Set the NC parameter to specify M921 as a non-buffered M code. Set the NC parameter to specify M921 as a non-buffered M code. <---.000. M921.Writes 10.Writes 12.1234. Specification M30. #109=1234. : Machining Program : #100=10. <---. #109=0.Specification of M Codes Specification □Program Example O1234. M6.000 into tool radius data of the tool No. % 2-86 No. #100=12.3456.0584D-0506 .0. T1.3456 into tool radius data of spindle tool. M921. T1. □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. M920. #109=Tool Specifying. M920. As this mode is momentary. #100=0. M922.<---.0584D-0506 2-87 . M920. M922. : Machining Program : M30. M921 Data Incremental Mode □Program #100=Tool Radius Measuring Data. : Machining Program : #100=-0.010 to tool length data (Geometry(H)) of spindle tool. #109=0.<---.030 to tool radius data (Geometry(D)) of spindle tool.Adds 0.010.or M921.Adds -0.Specification of M Codes Specification M922 M920. #109=0. T6.030. it must be specified before M920 or M921 every time. M922. % No. □Program Example Specification O1234. If the results are illegal after automatic measurement. to the macro variable #1032. 2-88 No. After reading #1032. #100=#1032 M463. Differing from M35.0584D-0506 . Output □Program M946. and skip signal status are output to the macro variables.Specification of M Codes Specification M940 Auto End Due to Illegal Work Measurement □Explanation This M code is used in the automatic measuring macro program. execute M463 to restore printout mode output. insert a dummy block for preventing pre-reading such as G53. After M946 and before reading #1032. depending on the machine operation mode. a measuring alarm is triggered and the operator call function or automatic reject function is turned on. M941 MP7 Measuring Head Check □Explanation This M code is used in the automatic measuring macro program. G53. a BTS alarm is not triggered for the previous tool. For a workpiece automatic measuring system. the communication status between the probe and receiver. □Explanation Writes pot number to which the spindle tool is returned. Specification M946 Spindle Tool Pot No. No.1069. Specification M948 M Code for ATC □Explanation This M code is used in the ATC macro program.0584D-0506 2-89 . After M947 and before reading #1032. □Explanation Start Blum Bore Gauge. G53. insert a dummy block for preventing pre-reading such as G53. □Explanation Writes pot number to which the next tool (tool specified with T) is returned to macro variable #1032. After reading #1032. Output □Program M947. #103=Parameter Number. G53. M463. M950 Non Contact Type Measurement Device Zero Set □Explanation This M code is used in tool measurement macro program. M951. #102=Head Number. #108=Point Number. execute M463 to restore printout mode output. #104=Parameter Setting Value. M951 Blum Bore Gauge Start □Program #101=Function Number. Refer to follow table for macro value of input/output. #100=#1032. Macro value is changed by machine parameter No.Specification of M Codes Specification M947 Next Tool Pot No. #105=Result #102=Head No. <---Measuring #102=3. #106=Parameter Setting #103=Parameter No. <---Dummy block for preventing pre-reading. <---Point NumberNo. 6:Head No. <---Head Number No.) #104=Parameter Setting Value(Gauge Compensation[1um]) Read Parameter #101=4..<---If measuring result is greater than +30. <---Blum Bore Gauge Start G53. #106=Calibration Result #108=Point No. Specification (4:Gauge Compensation..1um ]) Read Head #101=5.0um IF[#106 LE -300. IF[#105 NE 0]GOTO100. Compensation [1um]. <---If result is not 0 IF[#106 GE 300..6:Head No.0 M951. Value(Gauge (4:Gauge Compensation. #106=Measuring Result #108=Point No.]GOTO110.0584D-0506 .3 #108=0.<---If measuring result is less than -30. #105=Result #102=Head No. #103=Parameter No. #105=Result #102=Head No.]GOTO110.) Calibration[0. 5:Calibration. □Program Example #101=1.0um 2-90 No. [0. #105=Result Parameter #106=Head No. #105=Result #102=Head No.1um] #107=Battery remain [%] Calibration Write Parameter #101=2.Specification of M Codes Specification Function Macro Value(Input) Macro Value(Output) Name Measuring #101=1. [0.1um] #101=3. Specification M966 Measuring Probe Power ON □Explanation Turns on the power for measuring head. waits for 2 seconds. Refferance 2-91 . M965 Measuring Probe Power OFF □Explanation Turns off the power for measuring head. M994 Rotary Axis Coordinate Calculate Function □Explanation This M code is used in the macro program for the rotary axis coordinate calculate function. □Program Example M2300 Snnn. CW (nnn:speed) M2300 Snnn T1.Specification of M Codes Specification M963 Measuring Probe Power OFF & Check □Explanation Specifies OFF for the measuring head. Index M2300 T3. M984 High Speed Counter Type Tool Measurement □Explanation This M code is used in tool measurement macro program. and then checks whether or not the power of the measuring head has been turned on. M964 Measuring Probe Power ON & Check □Explanation Specifies ON for the measuring head. M968 Cutting Condition Auto Select □Explanation This M code is used in the macro program for FF-PATH.0584D-0506 M2300 Snnn T0. M2300 Rotary Axis Coordinate Calculate Function □Explanation Specify SPIN TABLE speed. and then checks whether or not the power for the measuring head has been turned off. or No. waits for 2 seconds. refferance and index action. CCW(nnn:speed) M2300 T2. M2321 (S:Cycle No. M2302 Rotary Axis Coordinate Calculate Function □Explanation SPIN TABLE spinning stop.SL3116 both OFF) M2322 S1.0584D-0506 . □Program Example M2302. M2322 (S:Cycle No.) INPROCESS GAUGE Autozero Cycle Start □Explanation INPROCESS GAUGE autozero cycle start.Specification of M Codes Specification M2301 Rotary Axis Coordinate Calculate Function □Explanation SPIN TABLE spinning start specified by M2300.) INPROCESS GAUGE Measureing Head Retraction □Explanation INPROCESS GAUGE outer / inner measuring head retraction air control solenoid SL3115. Specification M2320 INPROCESS GAUGE Measureing Cycle Start □Explanation INPROCESS GAUGE measuring cycle start □Program Example M2320 Spp Tcc. T:Part No. □Program Example M2301. □Program Example M2321 Spp Tcc.SL3116 ON/OFF. (SL3115. □Program Example 2-92 M2322 S0.. T:Part No.. (SL3116 ON) No. (SL3115 ON) M2322 S2. Specification of M Codes Specification M2323 INPROCESS GAUGE Get Measuring Data □Explanation Get INPROCESS GAUGE measuring data to common macro valiable #100.SL3113 both OFF) M2340 S1. Rotary Dresser Control □Explanation Rotary Dresser High Speed / Low Speed control solenoid SL3114. (SL3114.SL3113 ON/OFF. □Program Example No.0584D-0506 M2340 S0. □Program Example M2324. (SL3113 ON) M2340 S2. M2324 INPROCESS GAUGE Manual Mode □Explanation Set INPROCESS GAUGE to manual mode. (SL3114 ON) 2-93 Specification M2340 . □Program Example M2323. 0584D-0506 .Specification of M Codes Specification Specification 2-94 No. Index Index No.0584D-0506 3-1 .Index 3. .....................................................................2-81 Angle Head Support Advance ..........................................................2-5 6 6th Axis Clamp.......................................2-22 APC Shutter Open .............2-5 5th Axis Mirror Image ON ........2-77 APC Shutter Close.............................2-24 A Index AAC Retract & AAC Splashguard Close..............2-52 ATC Shutter Close ......................................2-24 6th Axis Mirror Image ON ...............2-75 AC Coefficient 100%.............2-26 Block Skip 3 ON ..................2-80 Block Skip 2 ON ....2-27 Block Skip 7 ON ............................2-78 Coolant Pressure Set 2 .......................2-11 AC/SL Data Temporary Alter Mode ON ........................2-72 Axis Retract Position at ATC .........2-39 Cleaning Air Off .............2-25 5th Axis Unclamp ..2-21 ATC & B Axis Simultaneous Operation ..2-21 Auto Measuring Rapid Mode........................2-82 Attachment Lubrication On........................................................2-4 Coolant Pressure Set 1 ................2-4 AWC Index Work Selection Command ..................2-76 Axis Index Program End.........2-80 Angle Head Coolant ON ..2-23 Cleaning Telescopic-Cover Coolant ON ..........................................2-55 Auto End Due to Illegal Work Measurement.2-41 Attachment Change Start .......................2-88 Auto Measuring Approach Mode ................2-78 No..............2-6 BTS LS300 OFF Check............2-78 Coolant Pressure Set 4 ...........0584D-0506 ...................................2-81 Angle Head Support Retract.....................2-76 3-2 Attachment Change End ............................... SL Coefficient 200%........... Output to Macro (#100) ...............2-75 AAC Step Retract........Index Index 4 4th Axis Clamp...................2-82 Attachment No... Setting for Tool Data Register Mode........2-77 ATC Magazine No.......................................................2-27 Blum Bore Gauge Start ...2-5 5 5th Axis Clamp............................................2-80 Coolant OFF ........2-45 C Clamp Confirmation....2-39 Angle Plate / Table Cleaning Coolant OFF..2-76 ATC & B Axis Simultaneous Operation End Check ................................................................2-5 BTS Arm Retract(Movable BTS) ................................................2-37 AAC Splashguard Open & AAC Advance................................2-6 BTS Check ............................................2-26 Block Skip 2 to 9 OFF ...........2-78 Coolant Pressure Set 3 ..........................2-13 Auto Reject Mode ON (M52 Mode Cancel).....2-5 4th Axis Unclamp ........................2-77 Air Blow ON .2-13 Automatic Tool Change .........2-77 Angle Plate / Table Cleaning Coolant ON ..............................2-11 Additional Nozzle Coolant ON ......................................2-26 Block Skip 4 ON ......................2-37 Attachment Lubrication Off ...............2-89 BTS Arm Advance (Movable BTS) ..........2-76 ATC Shutter Open .........2-37 AAC Step Advance ..2-21 Auto Reject Mode OFF (Reject Inhibit for Alarm)...........................................................................2-4 4th Axis Mirror Image ON ................................................2-13 AC/SL Data Temporary Alter Mode OFF....................2-39 Angle Head Support Pin Cleaning Air ON ..........2-27 Block Skip 9 ON .................2-27 Block Skip 6 ON ......................................2-26 Block Skip 5 ON .................2-23 Cleaning Air On ............2-27 Block Skip 8 ON ...................2-76 B Base Coolant ON..........................................................2-26 6th Axis Unclamp .......................................................... ..............0584D-0506 H High Speed Counter Type Tool Measurement ... 2-32 Count Sum of Machined Parts ....... 2-81 Increase Air ON (MQL)...... 2-91 D Direct Spare Tool Change ..... 2-91 I IMM Cleaning Air OFF........... 2-32 Coolant/Spindle Stop & Release ............................ 2-78 Lighting ON ....................................................... 2-23 Direct Spare Tool Change Inhibit Mode ............. 2-30 Floating M Code Exchange Prohibition Mode ON ....... 2-79 Inner Chip Conveyor Speed Setting ..................... of Machined Parts . M921 Data Incremental Mode ... 2-79 Inner Chip Conveyor ON.................... 2-24 Draw Bar Probe Advance.. 2-72 M Code to Generate Alarm ...... 2-29 GI/Super-GI High Performance Mode for Contouring with Rotary Axes. 2-37 Draw Bar Probe Retract .................. 2-36 Increase Air OFF (MQL)...................... 2-29 GI/Super-GI Additional Axis Contouring Mode........ 2-93 INPROCESS GAUGE Manual Mode 2-93 INPROCESS GAUGE Measureing Cycle Start..... 2-27 Counting No............. 2-78 M M Code for ATC ................ 2-79 Improved Spindle Reverse Orient Externally .................................. 2-30 G GI Initial Mode ............................... 2-71.... 2-87 3-3 Index F GI/Super-GI Ultra High Accuracy Mode ............................................. 2-70............................ 2-18 M920.. 2-79 IMM Cleaning Air OFF Mode ................... 2-29 No......................... 2-67....................... 2-36 Cutting Condition Auto Select ....Index Coolant Resume.............................................. 2-89 M Code for Fixture Interface ....... 2-29 ... 2-68....... 2-29 GI/Super-GI Radical Mode................................ 2-26 First Block Skip Return.... 2-31 First Block Skip OFF ................... 2-29 GI/Super-GI Ultra High Performance Mode for Contouring with Rotary Axes ......... 2-66 Floating M Code Exchange Prohibition Mode OFF ...... 2-29 GI/Super-GI High Accuracy Mode 2-29 GI/Super-GI High Performance Mode ...................................................... 2-24 Direct Spare Tool Change Permit Mode ........ 2-13 M59 Mode Cancel ...................................................... 2-82 M49 Mode Cancel .......... 2-69..................... 2-26 First Block Skip ON .................. 2-36 Cs Axis Contouring Mode ON ....................................................................................................... 2-79 IMM Cleaning Air ON Mode ............. 2-81 INPROCESS GAUGE Autozero Cycle Start.......... 2-81 Inner Chip Conveyor OFF.......... 2-67 M Code for Special User I/O Interface ....................... 2-66... 2-92 INPROCESS GAUGE Get Measuring Data........................ 2-2 Extend Stroke Change Signal OFF 2-30 Extend Stroke Change Signal ON 2-30 Feedrate Override Cancel......................... 2-92 INPROCESS GAUGE Measureing Head Retraction ...................... 2-34 Coolant Stop & Reserve.................. 2-77....................... 2-26 First Use Check Request ....... 2-33 Coolant Stop without DEN Waiting 2-77 Coolant/Spindle Resume..................................... 2-37 E End of Program ............. 2-13 Fin Check for M303 or M304......... 2-29 GI/Super-GI Special Mode ....................... 2-80 IMM Cleaning Air ON .. 2-83 Cs Axis Contouring Mode OFF ................................. 2-92 L Lighting OFF ................... 2-2 Overhead Shower Coolant ON...................2-79 Measuring Probe Power OFF........2-53 Macro Variable (#100) Read.2-4 MP7 Measuring Head Check.......2-91 Measuring Probe Power ON...........................................2-4 O Oil Controller OFF..........................................................................................................................................2-7 Pre-Orientation ...........................................2-93 Routine Function DNC Program End ..........................................2-45 Pallet No.....2-78 Mist Coolant/Air Blow ON ..........................2-25 Rotary Axis Coordinate Calculate Function .............2-12 SL Lower Limit Coefficient Setting 0%..2-72 Pallet Contact Check .2-79 Open ATC Shutter and Start Next Block before Shutter is Fully Open ..............................2-23 Rigid Tap Mode ON ...........................2-41 Mist Collector OFF.................Index Index Machine Data Output to Macro Variable ...........2-80 Set Mist Pressure to High (MQL) .................................................................................2-41 Machine Table Pallet 2 Check ...........2-30 Nozzle Coolant ON .2-82 Measuring Head Cleaning Air ON ............................................2-56 Metallic Cutting Mode ON.......................2-12 SL Coefficient Setting 150%................2-91 Message Output Function ...........................2-38 Print-out Mode Output ..............................2-81 Signal Lamp 1 ON with No Ready Pallet ...................................2-23 Override 100% or Less.............2-56 Next Tool Pot No.......................................2-7 Mist Blow ON ....2-44 Machining Signal OFF ...................................................2-89 Non Contact Type Spindle Measurement .2-80 Set Amount of Oil to Standard(MQL) .............2-73 Respective Unload .......2-20 Part Program End and Repeat ..2-23 Pallet Change .......2-12 SL Coefficient Setting 125%.............................. 2-92 Rotary Dresser Control........2-81 Set Mist Pressure to Standard (MQL) .....2-91.2-66 Optional Stop ...........2-54 Prior Tool Check .............2-35 Pre-Unclamp......2-91 Measuring Probe Power OFF & Check .......................2-78 Mist Collector ON...................2-55 Macro Variables Reading Request to MOS ...................................................2-21 Signal Light 1 Unconditional ON .......2-46 Signal Light 2 Unconditional ON ..2-34 Oil Skimmer OFF ...2-9 Program Stop............... 2-19.......................................................2-43 Machine Table Pallet Check End..........2-53 Pallet Ready Not Checked at M60 ...........2-72 S Set Amount of Oil to Large(MQL) ......................................................................................................... Send.....................2-88 N Next Tool Output ...............2-57 Measuring Head Alarm Check....... 2-20...........2-12 No...............................2-12 SL Coefficient Setting 200%..............................2-27 Respective Load.........................................0584D-0506 .2-74 Return to Main Program ...............................................2-46 SL and AC Coefficient 0% ..........2-57 Machine Table Pallet 1 Check ....2-53 Machining Signal ON ................... 2-21 Pallet Change Sub M Code......2-34 Oil Controller ON .........2-91 Measuring Probe Power ON & Check ............................................2-56 Mirror Image OFF .. Output ..............2-46 Metallic Cutting Mode OFF ............2-20 Signal Lamp 2 ON with No Ready Pallet ........................................2-2 R Rapid Feed Speed Limitation Mode Setting......2-89 Non Contact Type Measurement Device Zero Set ..2-21 Pallet 2 Load Check ...........2-25 3-4 P Pallet 1 Load Check ......2-79 Oil Skimmer ON......... .............. 2-17 Tool Offset Data Negative Register Mode .................... 2-30 SL Mode OFF .......... 0 Output....................................... 2-7 Through Spindle Mist ON ............................. 2-37 Spindle Attachment Mount Check 2-37 Spindle CCW Start.............0584D-0506 TL Alarm Suspension Mode ON............. 2-40 Spindle Tool Unclamp Ready ................................. 2-80 Tool Cutter No.............................. 2-34 Spindle Rotation for Measuring ................... 2-31 Spindle CW Start ... 2-28 Tool Measuring Sensor Y-Axis Direction ................... 2-10 Tool Length Auto Measuring Mode 2-8 Tool Length Circuit Check .. 2-28 Tool No.................. 2-28 ..... 2-40 Telescopic-Cover Coolant OFF ..................................................... 2-3 Spindle CW Without DEN-Waiting .................. 2-8 Workpiece Auto Measuring Spare Tool Call................................. 2-8 Tool Length Measuring Data Read ........... Register Mode ............................................................... 2-72 Work Chuck Unclamp ....................................................................... 2-28 SL Mode ON......................... 2-32 Spindle Stop .............................. 2-31 Spindle Lock ....................... 2-28.. 2-88 Spindle Tool Unclamp.................... 2-53 Tool Data Delete Mode ON ......... 2-46 Tool Cleaning Air OFF..................Index T Tailstock Pressure Change ........... 2-28 Tool Broken Status (BT/B2)........... Output ................................ 2-12 Tool Length Circuit Check ...................... 2-20 Through Spindle Coolant ON .................... 2-7 V Vacuum Suction OFF ........ 2-40 Spindle Tool No. 2-72 Travel Limit Invalid .. 2-8 Workpiece Auto Measuring Pallet Unload ............2-22........................................ 2-69 Tool Data Register Mode (Type1) 2-47 Tool Data Register Mode (Type2) 2-51 Tool Data Register Mode OFF .... 2-37 Workpiece Auto Measuring Mode .......................... 2-55 Spindle Tool Pot No.... 2-36 Spindle Optional Angle Orient Externally ....... Setting ....... 2-84 Tool Measuring Laser OFF ............... 2-23 Subprogram Call to an External I/O Device.. 2-78 Stylus Cleaning Air ON.... 2-75 U Unconditional Power Out ................... 2-14 Tool offset Data Transfer Command ............... 2-39 Tool Measuring Laser ON ... 2-19 Spindle Status Reserve & Stop ....................... 2-39 Tool Measuring Sensor X-Axis Direction . 2-30 SL Lower Limit Mode ON .................... 2-56 TL Mode OFF ....................... 2-28 TL Mode ON........................................ 2-8 3-5 Index SL Lower Limit Coefficient Setting 125%............................. 2-33 Spindle Rotation Before Measuring ...... 2-3 Spindle CCW Without DEN-Waiting .......... 2-12 SL Lower Limit Mode OFF ....... 2-35 Spindle Speed Override Cancel ............. 2-35 Spindle Orientation Stop........................................................................ 2-79 Stylus Cleaning Air OFF ......... 2-85 Tool Retract End........... 2-80 Tool Cleaning Air ON..... 2-41 Spindle Unlock...... 2-34 Spindle Rotation for Alignment ......... 2-6 Spindle Resume ......................... 2-36 Spindle Upper Nozzle Coolant ON ............................................................... 2-28 Specified Spindle Tool Output ............................. 2-54 Spindle Attachment Dismount Check ........ 2-15 Tool Radius Measuring Data Read ........................................... 2-3 Spindle Tool Clamp.... 2-72 Work information output ............................................................................................................................. 2-40 Vacuum Suction ON............. 2-80 Through Spindle Air ON ........................................... 2-41 No................ 2-40 W Work Chuck Clamp ....................... 2-78 Sub Program Call ........... .................2-75 X X Axis Mirror Image ON............. 2-6 Y Y Axis Mirror Image ON.2-75 Workpiece Load.......................................................Index Workpiece Automatic Measuring Mode Cancel... 2-6 Index 3-6 No.2-75 Workpiece Unload ..0584D-0506 ...........................2-82 Workpiece Change ....................... Appendix 4.0584D-0506 4-1 . Appendix x i d n e p p A No. 1 History of M Code List Number 0584B-0310 0584C-0405 0584D-0506 Date Oct-03 Oct-04 June-05 Contents First edition Add new M code.Appendix 4.0584D-0506 . x i d n e p p A 4-2 No. Add new M Code.
Report "Pro-5 M code list all models Makinot All Models Makino"