• No results found

Pro-5 M code list all models Makinot All Models Makino

N/A
N/A
Protected

Academic year: 2021

Share "Pro-5 M code list all models Makinot All Models Makino"

Copied!
115
0
0

Loading.... (view fulltext now)

Full text

(1)

M-CODE LIST

M-CODE LIST

Applicable Models

Applicable Models

All Models

All Models

(2)

 C   C   o  o n n  t    t    e  e n n  t    t    s   s 

Contents

Contents

(3)

 C   C   o  o n n  t    t    e  e n n  t    t    s   s 

Contents

Contents

(4)

 C   C   o  o n n  t    t    e  e n n  t    t    s   s 

Contents

Contents

1.

1.

List

List of M Code

of M Codes

s

1.1

1.1

Notes

Notes on

on this

this M

M Code

Code List

List ...

...

...

...

...

... 1-2

1-2

1.2

1.2

List of

List of M

M Codes

Codes ...

...

...

...

...

...

...

... 1-3

1-3

2.

2.

S

Specific

pecific ation o

ation o f M Codes

f M Codes

2.1

2.1

S

Specif

pecificatio

ication

n ...

...

...

...

...

...

...

... 2-2

2-2

3.

3.

Index

Index

4.

4.

 Ap

 Ap p

pend

end iix

x

4.1

(5)

L  i    s   t    o f   M  C   o  d   e  s 

Lis t of M Codes

(6)

L  i    s   t    o f   M  C   o  d   e  s 

Notes on this M Code List

This list of M codes includes all M codes provided for the machines.

Therefore, please note that it may not be possible to use some M codes, depending upon the machine specifications and provided options.

(7)

L  i    s   t    o f   M  C   o  d   e  s 

List of M Codes

M0 Program Stop M1 Optional Stop M2 End of Program M3 Spindle CW Start M4 Spindle CCW Start M5 Spindle Stop

M6 Automatic Tool Change M7 Mist Coolant/Air Blow ON M8 Nozzle Coolant ON M9 Coolant OFF M10 4th Axis Clamp M11 4th Axis Unclamp M12 5th Axis Clamp M13 5th Axis Unclamp

M14 BTS Arm Advance (Movable BTS) M16 4th Axis Mirror Image ON

M18 BTS Arm Retract (Movable BTS) M19 Spindle Orientation Stop

M20 BTS Check

M21 X Axis Mirror Image ON M22 Y Axis Mirror Image ON M23 Mirror Image OFF

M26 Through Spindle Coolant ON M29 Unconditional Power Out

M30 Part Program End and Repeat M31 Workpiece Auto Measuring Mode M32 Tool Length Auto Measuring Mode M33 Tool Length Circuit Check

M34 Workpiece Auto Measuring Spare Tool Call M35 Workpiece Auto Measuring Pallet Unload M36 Prior Tool Check

M37 Tool Data Register Mode OFF

M38 AC/SL Data Temporary Alter Mode ON M39 AC/SL Data Temporary Alter Mode OFF M41 SL Coefficient Setting 125%

M42 SL Coefficient Setting 150% M43 SL Coefficient Setting 200% M44 SL and AC Coefficient 0% M45 Tool Length Circuit Check

(8)

L  i    s   t    o f   M  C   o  d   e  s 

M49 Feedrate Override Cancel

M50 AC Coefficient 100%, SL Coefficient 200% M51 Auto Reject Mode ON (M52 Mode Cancel)

M52 Auto Reject Mode OFF (Reject Inhibit for Alarm) M54 Tool Offset Data Negative Register Mode

M56 Tool Offset Data Transfer Command M57 Tool No. Register Mode

M58 M59 Mode Cancel

M59 Spindle Speed Override Cancel M60 Pallet Change M61 Pallet Change M62 Pallet Change M63 Pallet Change M64 Pallet Change M65 Pallet Change

M69 Pallet Ready Not Checked at M60 M77 Through Spindle Air ON

M78 Signal Lamp 1 ON with No Ready Pallet M79 Signal Lamp 2 ON with No Ready Pallet M80 Pallet Change

M84 Pallet 1 Load Check

M85 Auto Measuring Approach Mode M86 Auto Measuring Rapid Mode M88 APC Shutter Open

M89 APC Shutter Close

M94 Tool Data Delete Mode ON M95 Pallet 2 Load Check

M97 Overhead Shower Coolant ON M98 Sub Program Call

M99 Return to Main Program M100 Cleaning Air Off

M101 Cleaning Air On

M105 Direct Spare Tool Change

M106 Direct Spare Tool Change Inhibit Mode M107 Direct Spare Tool Change Permit Mode

(9)

L  i    s   t    o f   M  C   o  d   e  s  M152 Block Skip 2 ON M153 Block Skip 3 ON M154 Block Skip 4 ON M155 Block Skip 5 ON M156 Block Skip 6 ON M157 Block Skip 7 ON M158 Block Skip 8 ON M159 Block Skip 9 ON

M172 Rapid Feed Speed Limitation Mode Setting M186 Count Sum of Machined Parts

M187 Dry Run ON M188 Dry Run OFF

M198 Subprogram Call to an External I/O Device. M235 TL Mode OFF

M236 TL Mode ON M237 SL Mode OFF M238 SL Mode ON

M246 Tool Measuring Sensor Y-Axis Direction M247 Tool Measuring Sensor X-Axis Direction M250 GI/Super-GI High Accuracy Mode

M251 GI/Super-GI High Performance Mode M252 GI/Super-GI Ultra High Accuracy Mode

M253 GI/Super-GI Additional Axis Contouring Mode M254 GI/Super-GI Special Mode

M255 GI/Super-GI M255 Mode

M257 GI/Super-GI High Performance Mode for Contouring with Rotary Axes

M258 GI/Super-GI Ultra High Performance Mode for Contouring with Rotary Axes

M259 GI Initial Mode

M270 Non Contact Type Spindle Measurement M276 Extend Stroke Change Signal OFF

M277 Extend Stroke Change Signal ON M283 SL Lower Limit Mode OFF

M284 SL Lower Limit Mode ON

M291 Floating M Code Exchange Prohibition Mode OFF M292 Floating M Code Exchange Prohibition Mode ON M302 Fin Check for M303 or M304

M303 Spindle CW Without DEN-Waiting M304 Spindle CCW Without DEN-Waiting M307 Coolant/Spindle Stop & Release M308 Coolant/Spindle Resume

(10)

L  i    s   t    o f   M  C   o  d   e  s  M313 Coolant Resume

M314 Spindle Rotation Before Measuring M315 Oil Controller OFF

M316 Oil Controller ON

M317 Spindle Rotation for Alignment

M318 Spindle Optional Angle Orient Externally M319 Pre-Orientation

M322 Spindle Rotation for Measuring M325 Cs Axis Contouring Mode OFF M326 Cs Axis Contouring Mode ON M327 Spindle Unlock

M328 Spindle Lock

M330 Improved Spindle Reverse Orient Externally M331 Draw Bar Probe Retract

M332 Draw Bar Probe Advance M340 Attachment Change Start

M341 AAC Splashguard Open & AAC Advance M344 AAC Retract & AAC Splashguard Close M346 Spindle Attachment Mount Check

M347 Spindle Attachment Dismount Check M359 Work information output

M372 Pre-Unclamp (NC Index)

M373 Clamp Confirmation (NC Index) M377 Tool Measuring Laser OFF M378 Tool Measuring Laser ON M381 Angle Head Support Retract M382 Angle Head Support Advance M387 Vacuum Suction ON

M388 Vacuum Suction OFF

M389 Tailstock Pressure Change M390 Spindle Tool Clamp

M391 Spindle Tool Unclamp

M392 Spindle Tool Unclamp Ready M394 Attachment Change End M398 Through Spindle Mist ON

(11)

L  i    s   t    o f   M  C   o  d   e  s 

M448 Tool Data Register Mode (Type1) M449 Tool Data Register Mode (Type2)

M450 ATC Magazine No. Setting for Tool Data Register Mode M451 Tool Cutter No. Setting

M455 Machining Signal OFF M456 Machining Signal ON M462 Pallet No. Send

M463 Print-out Mode Output

M464 Specified Spindle Tool Output M465 Spindle Tool No. 0 Output M466 Macro Variable (#100) Read

M468 Attachment No. Output to Macro (#100) M469 TL Alarm Suspension Mode ON

M470 Metallic Cutting Mode OFF M471 Metallic Cutting Mode ON M474 Next Tool Output

M480 Macro Variables Reading Request to MOS M483 Machine Data Output to Macro Variable M492 First Use Check Request

M507 Open ATC Shutter and Start Next Block before Shutter is Fully Open

M530 M Code for Fixture Interface M531 M Code for Fixture Interface M532 M Code for Fixture Interface M533 M Code for Fixture Interface M534 M Code for Fixture Interface M535 M Code for Fixture Interface M536 M Code for Fixture Interface M537 M Code for Fixture Interface M538 M Code for Fixture Interface M539 M Code for Fixture Interface M548 M Code for ATC

M549 M Code for ATC M550 M Code for ATC M551 M Code for ATC M552 M Code for ATC M553 M Code for ATC M554 M Code for ATC M555 M Code for ATC M556 M Code for ATC M557 M Code for ATC M559 M Code for ATC

(12)

L  i    s   t    o f   M  C   o  d   e  s 

M583 M Code for Special User I/O Interface M584 M Code for Special User I/O Interface M585 M Code for Special User I/O Interface M586 M Code for Special User I/O Interface M587 M Code for Special User I/O Interface M588 M Code for Special User I/O Interface M589 M Code for Special User I/O Interface M590 M Code for Special User I/O Interface M591 M Code for Special User I/O Interface M592 M Code for Special User I/O Interface M593 M Code for Special User I/O Interface M594 M Code for Special User I/O Interface M595 M Code for Special User I/O Interface M600 Pallet Change Sub M Code

M601 Axis Index Program End

M602 Routine Function DNC Program End M603 Tool Retract End

M604 Work Chuck Clamp M605 Work Chuck Unclamp M608 Respective Load M609 Respective Unload M610 AAC Step Retract M611 AAC Step Advance M612 Workpiece Change M613 Workpiece Unload M614 Workpiece Load M620 Travel Limit Valid M621 Travel Limit Invalid

M630 Axis Retract Position at ATC

M631 AWC Index Work Selection Command M638 ATC Shutter Close

M639 ATC Shutter Open

M661 ATC & B Axis Simultaneous Operation

M662 ATC & B Axis Simultaneous Operation End Check M663 M Code for ATC

(13)

L  i    s   t    o f   M  C   o  d   e  s 

M734 Coolant Pressure Set 3 M735 Coolant Pressure Set 4 M736 Lighting ON

M737 Lighting OFF

M740 Inner Chip Conveyor OFF M741 Inner Chip Conveyor ON M742 Oil Skimmer OFF

M743 Oil Skimmer ON

M745 Spindle Upper Nozzle Coolant ON M747 Measuring Head Cleaning Air ON M748 IMM Cleaning Air ON

M749 IMM Cleaning Air OFF M750 IMM Cleaning Air ON Mode M751 IMM Cleaning Air OFF Mode M754 Mist Coolant ON

M755 Work Clean Coolant/Air ON M756 Air Blow ON

M757 Telescopic-Cover Coolant OFF M775 Tool Cleaning Air OFF

M776 Tool Cleaning Air ON

M790 Set Amount of Oil to Little (MQL) M791 Set Amount of Oil to Standard (MQL) M792 Set Amount of Oil to Large (MQL) M793 Set Mist Pressure to High (MQL) M794 Set Mist Pressure to Standard (MQL) M883 Angle Head Coolant ON

M884 Inner Chip Conveyor Speed Setting

M885 Angle Head Support Pin Cleaning Air ON M895 Increase Air OFF (MQL)

M896 Increase Air ON (MQL) M898 Attachment Lubrication Off M899 Attachment Lubrication On M903 M Code to Generate Alarm

M910 Workpiece Automatic Measuring Mode Cancel M911 Measuring Head Alarm Check

M919 Counting No. of Machined Parts M920 Tool Length Measuring Data Read M921 Tool Radius Measuring Data Read M922 M920, M921 Data Incremental Mode

M940 Auto End Due to Illegal Work Measurement M941 MP7 Measuring Head Check

(14)

L  i    s   t    o f   M  C   o  d   e  s  M951

M963 Measuring Probe Power OFF & Check M964 Measuring Probe Power ON & Check M965 Measuring Probe Power OFF

M966 Measuring Probe Power ON M968 Cutting Condition Auto Select

M984 High Speed Counter Type Tool Measurement M994 Rotary Axis Coordinate Calculate Function M2300 SPIN TABLE revolution speed

M2301 SPIN TABLE Start M2302 SPIN TALE Stop

M2320 INPROCESS GAUGE Measureing Cycle Start M2321 INPROCESS GAUGE Autozero Cycle Start

M2322 INPROCESS GAUGE Measureing Head Retraction M2323 INPROCESS GAUGE Get Measuring Data

M2324 INPROCESS GAUGE Manual Mode M2340 Rotary Dresser Control

(15)

 S    p  e  c  i      f     i       c   a  t    i       o n

Specification of M Codes

(16)

 S    p  e  c  i      f     i       c   a  t    i       o n

Specification

The (D) means that this code is performed after the axis moves if an axis movement command is given in that block together.

M00

Program Stop (D)

Program

G01 X___ Y___ F___ M0;

Explanation

 Automatic operation stops after the block containing M0 is executed. When automatic operation is stopped by M0, s pindle rotation and coolant are stopped, and the [Cycle Start] switch is blinked.

 And then, the warning lamp is turned on if the machine with a signal tower. If the [Cycle Start] switch is pushed, spindle rotation and coolant are

resumed, automatic operation is restarted, and the warning lamp is turned off.

M01

Option al Stop (D)

Program

G01 X___ Y___ F___ M1;

Explanation

This M code functions as M0 only when the [Optional Stop] switch has been turned on.

If the [Optional Stop] switch is turned off, M1 is ignored.

M02

End of Program (D)

Explanation

(17)

 S    p  e  c  i      f     i       c   a  t    i       o n

M03

Spind le CW Start

Program S800 M3 G00 X___ Y___ ; G01 Z___ F___ ; □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.

M04

Spind le CCW Start

Program

S800 M4 G00 X___ Y___ ; G01 Z___ F___ ;

Explanation

Rotates spindle in counterclockwise direction at a speed specified with S code.

If no speed has been specified with S code ever, an alarm occurs.

M05

Spind le Stop (D)

Program

G01 X___ Y___ F___ M5;

Explanation

(18)

 S    p  e  c  i      f     i       c   a  t    i       o n

M06

Aut omatic Tool Change

Program

M6;

Explanation

Exchanges the spindle tool with the tool in ATC magazine indexed at the position of next tool, or the tool on ATC arm.

The typical content of M6 is as follows:

(a) Coolant is stopped.

(b) Orients and stops the spindle. (c) Exchanges the spindle tool. (d) Resumes coolant.

There is the one which does not return according to the version of the model and software either about the coolant.

M07

Mist Coolant/Air Blow ON

Explanation

Turns the air blow or the mist coolant on.

M08

Nozzle Cool ant ON

Explanation

Turns the nozzle coolant on.

M09

Coolant OFF (D)

Program

G01 X___ Y___ F___ M9;

Explanation

(19)

 S    p  e  c  i      f     i       c   a  t    i       o n

M11

4th Axis Unclamp

Program M11; G91 G01 B___ F___ M10; □Explanation Unclamps 4th axis.

M12

5th Axi s Clamp (D)

Program M13; G91 G01 A___ F___ M12; □Explanation

Clamps 5th axis after the block containing M12 is executed.

M13

5th Axi s Unclamp

Program M13; G91 G01 A___ F___ M12; □Explanation Unclamps 5th axis.

M14

BTS Arm Adv ance (Movable BTS) (D)

Explanation

 Advances the movable BTS arm.

M16

4th Axi s Mirror Image ON

Program

G28 B___ M11; M16;

G00 B___ M10;

Explanation

(20)

 S    p  e  c  i      f     i       c   a  t    i       o n

M18

BTS Arm Retract (Movable BTS) (D)

Explanation

Retracts the movable BTS arm.

M19

Spindle Orientation Stop (D)

Program

G00 X___ Y___ M19;

Explanation

Orients and stops the spindle after the block containing M19 is executed.

M20

BTS Check (D)

Explanation

Checks whether or not the tool has broken.

If there is a problem with the tool, a BTS alarm occurs.

M21

X Axi s Mirr or Image ON

Program

G28 X___ Y___; M21;

G01 X___ Y___ F___;

Explanation

Turns the mirror image for the X axis on. Specify this M code in an independent block.

M22

Y Axi s Mirr or Image ON

Program

G28 X___ Y___; M22;

(21)

 S    p  e  c  i      f     i       c   a  t    i       o n

M23

Mirr or Image OFF (D)

Program

G28 X___ Y___ M23; G01 X___ Y___ F___;

Explanation

Turns the mirror image (X, Y, 4th, 5th, 6th axis) off after the block containing M23 is executed.

M26

Through Spindle Coolant ON

Explanation

Turns on through spindle coolant.

M29

Uncondi tio nal Power Out (D)

Program

G00 Z___; X___ Y___; M29;

Explanation

Turns off the power supply if the [Power Out] switch has been turned on.

M30

Part Program End and Repeat (D)

Explanation

Resets NC and rewinds program after indicating the end of program, and performs the following operations:

(a) Stops spindle rotation. (b) Stops coolant.

(c) Turns mirror image off.

 Afterward, if the [Warning Lamp] switch has been turned on, M30 turns the warning lamp on.

If the [Power Out] switch has been turned on, M30 turns the power supply off.

When the pallet changer is operated in the standard operation mode, automatic operation is started after rewinding if the ready status is ON for

(22)

 S    p  e  c  i      f     i       c   a  t    i       o n

M31

Workpiece Auto Measuring Mode

Explanation

Used in the workpiece automatic measuring macro program. Specify at the start of workpiece automatic measuring.

M32

Tool Length Auto Measuring Mode

Explanation

Used in the tool length automatic measuring macro program. Specify at the start of tool length automatic measuring.

M33

Tool Length Circuit Check

Explanation

Used in the tool length automatic measuring macro program. The tool length automatic measuring circuit is self-diagnosed.

M34

Workpi ece Auto Measuri ng Spare Tool Call

Explanation

Used in the workpiece automatic measuring macro program.

Previously used tool is assigned a BTS alarm. Afterward, a spare tool is indexed if the tool for which a BTS alarm was assigned is called with the T code.

M35

Workpi ece Aut o Measurin g Pallet Unload

Explanation

Used in the workpiece automatic measuring macro program.

Previously used tool is assigned to a BTS alarm, and tool change and pallet change are performed to start the next machining process automatically.

(23)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M36

M36

Prior Tool Check

Prior Tool Check

□ □ProgramProgram M36; M36; TTool No.; TTool No.; TTool No.; TTool No.; :: M37; M37; □ □ExplanationExplanation

Checks whether or not all tools to be used (including spare tools) are Checks whether or not all tools to be used (including spare tools) are available or not.

available or not. If a tool is

If a tool is assigned an alarm or not registered, an alarm occurs.assigned an alarm or not registered, an alarm occurs.

Program ExampleProgram Example

O1234; O1234; M36; M36; T1; T1; T2; T2; T3; T3; M37; M37; :: Machining Program Machining Program :: M30; M30; % %  After

 After the the prior prior tool tool life life check check before before starting starting machining,machining, execute M37 to terminate the

execute M37 to terminate the prior tool life check mode.prior tool life check mode.

This mode is also canceled by M2, M30, emergency stop and This mode is also canceled by M2, M30, emergency stop and a tool life alarm.

(24)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M37

M37

Tool

Tool Data R

Data Regis

egister Mod

ter Mode OF

e OFF

F

ProgramProgram

M___;

M___; <---Tool <---Tool register register mode mode ON ON such such as as M448M448 S___

S___ T___; T___; <---Tool <---Tool Data Data RegistratRegistrationion M37;

M37;

ExplanationExplanation

Turns off the tool data registration mode. Turns off the tool data registration mode.

When a registration mode is ON, another registration mode cannot be When a registration mode is ON, another registration mode cannot be turned on without turning off the

turned on without turning off the current mode.current mode.

While the tool data registration mode is ON, you can't use S code to 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. 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 You can use them to command a spindle speed and a tool number, after M37 is executed.

M37 is executed.

Program ExampleProgram Example

O1234; O1234; M448

M448 S4; S4; <---PTN <---PTN register register mode mode ON.ON. S1

S1 T1000; T1000; <---PTN <---PTN 1000 1000 is is set set to to 1st 1st pot pot magazine.magazine. S2

S2 T2000; T2000; <---PTN <---PTN 2000 2000 is is set set to to 2nd 2nd pot pot magazine.magazine. M448

M448 S1S119; 19; <---SL <---SL data data register register mode mode ONON S1

S1 T123; T123; <---12.3(%) <---12.3(%) is is set set to to SL(Upper SL(Upper Limit) Limit) of of 1st. 1st. Pot.Pot. S1

S1 T456; T456; <---45.6(%) <---45.6(%) is is set set to to SL(Lower SL(Lower Limit) Limit) of of 1st. 1st. Pot.Pot. M37;

M37; <---Data <---Data registratregistration ion mode mode OFFOFF.. :: Machining Program Machining Program :: M30; M30; % %

(25)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M38

M38

 AC/SL

 AC/SL Data Tem

Data Tem po

po rar

rar y A

y A lt

lt er

er Mod

Mode ON

e ON

□ □ProgramProgram M38; M38; SAC Data; SAC Data; SSL(Upper) Data; SSL(Upper) Data; SSL(Under) Data; SSL(Under) Data; M39; M39; □ □ExplanationExplanation

Sets AC/SL data for spindle tool. Sets AC/SL data for spindle tool. First S is for

First S is for AC data and second S is for SL AC data and second S is for SL data.data. Specified monitor data is retained until an M6

Specified monitor data is retained until an M6 or M2/M30 is specified.or M2/M30 is specified. If an S9999 is specified, the monitoring data is not altered but the data on If an S9999 is specified, the monitoring data is not altered but the data on tool detail screen becomes valid.

tool detail screen becomes valid.

Program ExampleProgram Example

O1234; O1234; M38; M38; S100;

S100; <---10.0 <---10.0 [%] [%] is is set set to to AC AC of of simple simple tool.tool. S125;

S125; <---12.5 <---12.5 [%] [%] is is set set to to SL(Upper SL(Upper Limit) Limit) of of tool.tool. S30;

S30; <---3.0 <---3.0 [%] [%] is is set set to to SL(Lower SL(Lower Limit) Limit) of of tool.tool. M39; M39; :: Machining Program Machining Program :: M30; M30; % %

M39

M39

 AC/SL

 AC/SL Data Tem

Data Tem po

po rar

rar y A

y A lt

lt er

er Mod

Mode OFF

e OFF

□ □ProgramProgram M38; M38; SAC Data; SAC Data; SSL(Upper) Data; SSL(Upper) Data; SSL(Under) Data; SSL(Under) Data; M39; M39; □ □ExplanationExplanation

Turns off the AC/SL data temporary alteration mode. Turns off the AC/SL data temporary alteration mode.

(26)

 S    p  e  c  i      f     i       c   a  t    i       o n

M41

SL Coeffici ent Setting 125%

Explanation

Sets SL coefficient data to 125% (Max. spindle actual load current * 1.25) when study mode is ON.

M42

SL Coeffici ent Setting 150%

Explanation

Sets SL coefficient data to 150% (Max. spindle actual load current * 1.50) when study mode is ON.

M43

SL Coeffici ent Setting 200%

Explanation

Sets SL coefficient data to 200% (Max. spindle actual load current * 2.00) when study mode is ON.

M44

SL and AC Coeffici ent 0%

Explanation

Sets SL coefficient data to 0%.

Use this M code when you don't use SL monitor and AC monitor.

M45

Tool Length Circuit Check

Explanation

Used in the tool length automatic measuring macro program. The tool length automatic measuring circuit is self-diagnosed. This M code doesn’t turn on measuring head cleaning air.

M46

SL Lower Li mit Coeffi cient Setting 125%

Explanation

Sets SL lower limit coefficient data to 125% (No load * 1.25) when study mode is ON.

M47

SL Lower Limit Coefficient Setting 0%

Explanation

(27)

 S    p  e  c  i      f     i       c   a  t    i       o n

M48

M49 Mode Cancel (D)

Program G01 X___ Y___ F___ M48; □Explanation

Enables the feedrate override switch after the block containing M48 is executed.

M49

Feedrate Override Cancel

Program

M49;

G01 X___ Y___ F___;

Explanation

Disables the feedrate override switches and fixes the feedrate override at 100% until M48 or M2/M30 is specified.

M50

 AC Co eff ic ien t 100%, SL Coeff ici ent 200%

Explanation

In the study mode, the AC data is fixed at 100% and the SL data is fixed at 200%.

Fixes the AC data at 100% and the SL data at 200% while study mode is ON.

 AC data = (Max. spindle actual load current × 1.00) SL data = (Max. spindle actual load current × 2.00)

M51

 Au to Rejec t Mode ON (M52 Mod e Cancel)

Explanation

Turns on the automatic workpiece reject mode.

If a tool monitor alarm occurs during random operation, the automatic workpiece rejection function interrupts machining and starts machining on next pallet or next ready face.

M52

 Au to Rejec t Mo de OFF (Reject Inh ib it for Al arm ) (D)

Explanation

(28)

 S    p  e  c  i      f     i       c   a  t    i       o n

M54

Tool Offset Data Negative Regist er Mode

Program

M448 S____; <---M Code for Tool Registration T___;

M54; <---Indicated that following data is negative S___T___;

M448;

Explanation

Specifies that next data is minus.

Specify M54 in previous block or the same block of data. M54 is effective only for the next data.

Program Example

M448 S103; <---Tool length (Geometry) register mode ON. M54; <---Indicates that following data is negative. S1T1234; <---Tool length offset (Geometry) for pot 1.

-0.1234(mm) (-0.01234 inch)

S2 M54 T345; <---Tool length offset (Geometry) for pot 2. -0.0345(mm) (-0.00345 inch)

S3 T345; <---Tool length offset (Geometry) for pot 3. 0.0345(mm) (0.00345 inch)

M30 %

(29)

 S    p  e  c  i      f     i       c   a  t    i       o n

M56

Tool Offs et Data Transfer Command

Program

HOffset No. DOffset No.; M56;

Explanation

Transfers tool length and radius offset data for spindle tool (registered on Tool Detail screen) to the current offset numbers.

If the offset number is 0, the data is not sent to that offset.

E.g., H1 D0 causes the tool length data to be sent to H1 but the radius data is not sent.

Data is sent as follows according to type of tool compensation memory.

[Tool compensation memory B, C] H > 0

Length (Geometry(H)) ---> Geometry of H number Length (Wear(H)) ---> Wear of H number D > 0

Radius (Geometry(D)) ---> Geometry of D number Radius (Wear(D)) ---> Wear of D number

[Tool compensation memory A] H > 0

Length (Geometry(H)) + Length(Wear(H)) ---> compensation of H D > 0

(30)

 S    p  e  c  i      f     i       c   a  t    i       o n □Program Example O1234; T1; M6; H1 D2;

M56; <----Tool length data is sent to offset No.1, and tool radius data is sent to offset No.2.

:

Machining Program :

M451 S2;

M56; <----Tool length data of cutter No.2 is sent to offset No.1, and tool radius data of cutter No.2 is sent to offset No.2.

: Machining Program : T2; M6; H3 D0;

M56; <----Tool length data of cutter No.1 is sent to offset No.3, but tool radius data is not sent.

:

Machining Program :

M30;

If M56 is specified in the same block as H or D, the data is transferred to the previous H or D. Specify it in a block by itself.

(31)

 S    p  e  c  i      f     i       c   a  t    i       o n

M57

Tool No. Register Mode

Program [Sequential Method] M57; TTool No.; : TTool No.; M37(M30); [Random Method] M57;

SPot No. TTool No.; :

SPot No. TTool No.; M37(M30);

Explanation

Turns on the tool registration mode.

Two types of registration methods are provided; a sequential method and random method.

In sequential method, order of data is considered as a pot number. And, in random method, pot number is specified for each tool.

Magazine number is set according to M450 S__ Specify. If M450 has not been specified ever, magazine number is set to 1.

M57 is the same as M448 S4.

[Sequential method]

 After the M57, specify tool numbers with T, from pot 1 sequentially.

Max pot number to be able to register is up to the maximum pot number of the tool magazine.

It is not necessary to specify all the pot, but pot number have to be specified sequentially.

[Random method]

 After an M57, specify the pot number with S and the tool number with T only for necessary pots, in optional order.

(32)

 S    p  e  c  i      f     i       c   a  t    i       o n □Program Example [Sequential Type] O1234;

M450 S0; <----Magazine No. is set to 0. M57;

T1; <----Tool number of pot 1 of magazine 0 (external tool) is set to 1. T2; <----Tool number of pot 2 of magazine 0 (external tool) is set to 2. M37; <----Tool data registration mode OFF.

M450; <----Magazine number is set to 1.

T12; <----Tool number of pot 1 of magazine 1 is set to 12. T345; <----Tool number of pot 1 of magazine 1 is set to 345. M30; <----Tool data registration mode OFF.

%

[Random Type] O1234;

M57;

S1 T1010; <----Tool number of pot 1 of magazine 1 is set to 1010. S10 T1100; <----Tool number of pot 10 of magazine 1 is set to 1100. S5 T1005; <----Tool number of pot 5 of magazine 1 is set to 1005. M30; %

M58

M59 Mode Cancel (D)

Program G01 X___ Y___ F___; M58; G01 X___ Y___ F___; □Explanation

(33)

 S    p  e  c  i      f     i       c   a  t    i       o n

M59

Spindl e Speed Override Cancel

Program

S800 M3; M59;

G01 X___ Y___ F___;

Explanation

Disables [Spindle Speed Override] switch and fixes the spindle speed override at 100% until M58 is executed.

M60

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M61

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M62

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M63

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M64

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

(34)

 S    p  e  c  i      f     i       c   a  t    i       o n

M65

Pallet Change (D)

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M69

Pallet Ready Not Check ed at M60

Explanation

Used when a pallet change (M60) is required even if the ready status of the pallet on stocker is OFF.

With this M code, ready uncheck mode is turned on. Once an M60 is executed, this mode is turned off. This M code cannot be used in the random operation.

Program Example

M69;

M60; <----Exchanges pallet even if a next pallet is not ready. :

Machining Program :

M60; <----Exchanges pallet only if a next pallet is ready.

M77

Through Spindle Air ON

Explanation

Turns on through spindle air.

M78

Signal Lamp 1 ON with No Ready Pallet

Program

M98 P9810; M78;

(35)

 S    p  e  c  i      f     i       c   a  t    i       o n

M79

Signal Lamp 2 ON wit h No Ready Pallet

Program

M98 P9810; M79;

Explanation

Turns on signal light 2 (yellow) if the pallet on stocker is not ready. Signal light turned on by this M code will be turned off by changing the pallet to ready.

M80

Pallet Change

Explanation

This M code is used in the pallet loading and unloading programs (O9810, O9820).

Cannot be used by itself.

M84

Pallet 1 Load Check

Explanation

Checks whether or not the pallet number on the table is 1 if a pallet has been loaded.

If it is No. 2, a machine alarm occurs.

Checks whether or not the pallet on the stocker is ready or not if pallet has not been loaded on the table. When it is not ready, an alarm occurs.

M85

 Au to Measuri ng Ap pr oac h Mo de

Explanation

This M code is used in the automatic measuring macro program (workpiece/tool length) when the sensor approaches the target-point.

M86

 Au to Measuri ng Rapi d Mo de

Explanation

This M code is used in the automatic measuring macro program (workpiece/tool length) when the sensor is fed at rapid traverse.

M88

 APC Sh ut ter Op en

Explanation

(36)

 S    p  e  c  i      f     i       c   a  t    i       o n

M89

 APC Sh ut ter Clo se

Explanation

Closes APC shutter.

M94

Tool Data Delete Mode ON

Program M94; SPot No.; : SPot No.; M37(M30); □Explanation

Deletes all tool data including tool number of the pot specified with S. Magazine number is set according to M450 S__ command.

If M450 has not ever been specified, the magazine number is set to 1. However, tool data of tool No. 0 is not deleted.

Program Example

O1234;

M450 S2; <----Magazine No. is set to 2. M94; <----Tool data delete mode ON.

S1; <----All the data of the pot of tool No.1 of magazine No.2 are deleted.

S2; <---- All the data of the pot of tool No.2 of magazine No.2 are deleted.

M37; <----Tool data delete mode OFF. M450; <----Magazine No. is set to 1.

S1; <----All the data of the pot of tool No.1 of magazine No.1 are

  deleted.

S2; <----All the data of the pot of tool No.2 of magazine No.1 are

(37)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M95

M95

Pallet 2 Load Check

Pallet 2 Load Check

ExplanationExplanation

Checks whether or not the pallet number on the table is 2 if a

Checks whether or not the pallet number on the table is 2 if a pallet haspallet has been loaded.

been loaded. If it is

If it is No. 1, a machine alarm occurs.No. 1, a machine alarm occurs.

Checks whether or not the pallet on the stocker is ready if a

Checks whether or not the pallet on the stocker is ready if a pallet has notpallet has not been loaded on the table.

been loaded on the table.

When it is not ready, an alarm occurs. When it is not ready, an alarm occurs.

M97

M97

Overhea

Overhead

d Shower

Shower Coolant

Coolant ON

ON

ExplanationExplanation

Turns on the high

Turns on the high power (ceiling) coolant.power (ceiling) coolant.

M98

M98

Sub Program Call

Sub Program Call

□ □ProgramProgram M98 P___ ; M98 P___ ; □ □ExplanationExplanation

Calls the subprogram specified with P. Calls the subprogram specified with P.

M99

M99

Re

Retur

tur n to Main P

n to Main Prog

rog ram

ram

□ □ProgramProgram M99; M99; □ □ExplanationExplanation

Returns to the main program from

Returns to the main program from subprogram.subprogram.

M100

M100

Cle

Cleaning Air

aning Air Off

Off

ExplanationExplanation

This M code is used in tool measurement macro program. This M code is used in tool measurement macro program.

M101

M101

Cleaning Air On

Cleaning Air On

ExplanationExplanation

This M code is used in tool measurement macro program. This M code is used in tool measurement macro program.

M105

M105

Direct Spare Tool

Direct Spare Tool Change

Change

ExplanationExplanation

Exchanges the spindle tool with a spare tool if

Exchanges the spindle tool with a spare tool if a tool life alarm has a tool life alarm has occurredoccurred for the spindle tool.

(38)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M106

M106

Direct Spare Tool Change I

Direct Spare Tool Change Inhi

nhi bit

bit Mode

Mode

ExplanationExplanation

Turns on the direct spare t

Turns on the direct spare tool change inhibit mode when M107 mode is ON.ool change inhibit mode when M107 mode is ON.

M107

M107

Direct Spare Tool Change Pe

Direct Spare Tool Change Permi

rmi t Mode

t Mode

ExplanationExplanation

Turns on the direct

Turns on the direct spare tool change mode.spare tool change mode.

In this mode, whether or not an alarm has occurred for the spindle tool is In this mode, whether or not an alarm has occurred for the spindle tool is checked periodical

checked periodically, and the ly, and the spindle tool is exchanged with a spindle tool is exchanged with a spare tool ifspare tool if an alarm has occurred for

an alarm has occurred for the spindle tool.the spindle tool.

M110

M110

6th Axis

6th Axis Cla

Clamp

mp

ExplanationExplanation

6th Axis Clamp. 6th Axis Clamp.

Program ExampleProgram Example

M111; M111;

G91 G01 B___ F___ M110; G91 G01 B___ F___ M110;

M111

M111

6th Axis Unclamp

6th Axis Unclamp

ExplanationExplanation

6th Axis Unclamp. 6th Axis Unclamp.

Program ExampleProgram Example

M111; M111;

G91 G01 B___ F___ M110; G91 G01 B___ F___ M110;

(39)

 S   S    p   p  e  e  c   c  i      i      f     f     i      i       c   c   a  a  t      t    i     i       o  o n n

M132

M132

Override 100% or Less

Override 100% or Less

ExplanationExplanation

Sets upper limit of cutting

Sets upper limit of cutting feed rate.feed rate.

[M132;] [M132;]

Limits the cutting feedrate override to 100%

Limits the cutting feedrate override to 100% or less.or less. This mode is called M132 mode.

This mode is called M132 mode.

In M132 mode, the area over 100% of the [Feed Rate Override] switch is In M132 mode, the area over 100% of the [Feed Rate Override] switch is disabled.

disabled.

M132 mode is turned off by M48. M132 mode is turned off by M48.

[M132 S__;] [M132 S__;]

Used in automatic measuring macro program. Used in automatic measuring macro program.

In this mode, the upper limit of the cutting feedrate override is set to the In this mode, the upper limit of the cutting feedrate override is set to the percentage specified by S.

percentage specified by S.

The mode is turned off if M2/M30 is specified or NC reset is

The mode is turned off if M2/M30 is specified or NC reset is turned on.turned on. M132 S__ is enabled only when machine parameter No. 1029 is set to "1". 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 Default upper limit of the cutting feedrate override in automatic measuring mode is set by machine parameter No. 0068.

mode is set by machine parameter No. 0068.

M135

M135

Rigi

Rigi d Tap Mode ON

d Tap Mode ON

□ □ProgramProgram S___; S___; M135 S___; M135 S___; G84 Z___ R___ F___; G84 Z___ R___ F___; G80; G80; M30; M30; □ □ExplanationExplanation

Turns on the rigid tap mode. Turns on the rigid tap mode.

Specify the same S code as that in

Specify the same S code as that in the M135 block before the M135 block.the M135 block before the M135 block.

M138

M138

5th Axi

5th Axi s Mirr

s Mirr or Image ON

or Image ON

□ □ProgramProgram G28 X___ Y___ A__; G28 X___ Y___ A__; M138; M138; G01 X___ Y___ A__ F___; G01 X___ Y___ A__ F___; □ □ExplanationExplanation

(40)

 S    p  e  c  i      f     i       c   a  t    i       o n

M139

6th Axis Mirro r Image ON

Program

G28 X___ Y___ A__; M139;

G01 X___ Y___ A__ F___;

Explanation

Turns on the mirror image of 6th axis. Specify it in a block by itself.

M140

First Block Skip ON

Explanation

This M code is used in the macro program for automatic measuring. It stores the status of block skip 1, and turns it on.

M141

First Bl ock Skip OFF

Explanation

This M code is used in the macro program for automatic measuring. It stores the status of the block skip 1, and turns it off.

M142

First Block Skip Return

Explanation

This M code is used in the macro program for automatic measuring. It recovers the status of block skip 1 to the status previously stored by M140/M141.

M150

Blo ck Skip 2 to 9 OFF

Explanation

Turns block skip 2 to 9 off.

M152

Blo ck Skip 2 ON

Explanation

(41)

 S    p  e  c  i      f     i       c   a  t    i       o n

M155

Bloc k Skip 5 ON

Explanation

Turns on block skip 5.

M156

Bloc k Skip 6 ON

Explanation

Turns on block skip 6.

M157

Bloc k Skip 7 ON

Explanation

Turns on block skip 7.

M158

Bloc k Skip 8 ON

Explanation

Turns on block skip 8.

M159

Bloc k Skip 9 ON

Explanation

Turns on block skip 9.

M172

Rapid Feed Speed Limi tation Mode Setting

Explanation

Rapid feed speed limitation mode is set.

Program Example

M172 S0; (Rapid Feed Speed Limitation Disable) M172 S1; (Rapid Feed Speed Limitation Enable) M172; (Rapid Feed Speed Limitation Enable)

M186

Count Sum of Machin ed Parts

Explanation

 Adds value to product counter specified by M186.

Number to be added to the counter is specified by T, and the group of counters to which the value is added is specified by S.

If T has not been specified, it is regarded as T1 has been specified.

If S has not been specified, all the product counter specified to be added by M186 are added.

(42)

 S    p  e  c  i      f     i       c   a  t    i       o n

M187

Dry Run ON

Explanation

Turns on the dry run mode.

M188

Dry Run OFF

Explanation

Turns off the dry run mode.

M198

Subpro gram Call to an External I/O Devic e.

Program

M198 P___ ;

Explanation

Calls a subprogram specified by P from a file in an external I/O device.

M235

TL Mode OFF

Explanation

Turns off the TL mode.

M236

TL Mode ON

Explanation

Turns on the TL mode.

M237

SL Mode OFF

Explanation

Turns off the SL mode.

M238

SL Mode ON

Explanation

Turns on the SL mode.

M246

Tool Measuring Sensor Y-Axis Direction

Explanation

(43)

 S    p  e  c  i      f     i       c   a  t    i       o n

M250

GI/Super-GI High Accuracy Mode

Explanation

Switches GI/Super-GI to the high accuracy mode.

M251

GI/Super-GI High Performance Mode

Explanation

Switches GI/Super-GI to the high performance mode.

M252

GI/Super-GI Ultr a High Accu racy Mode

Explanation

Switches GI/Super-GI to the ultra high accuracy mode.

M253

GI/Super-GI Additional Axis Contouring Mode

Explanation

Switches GI/Super-GI to the additional axis contouring mode.

M254

GI/Super-GI Special Mod e

Explanation

Switches GI/Super-GI to the M254 mode.

M255

GI/Super-GI Radical Mo de

Explanation

Switches GI/Super-GI to the radical mode.

M257

GI/Super-GI High Performance Mode for Contou rin g wit h Rotary

 Ax es

Explanation

Switches GI/Super-GI to the high performance mode for contouring with rotary axes. (This M code is effective for FS300is/FS310is CNC)

M258

GI/Super-GI Ultra High Perfo rmance Mode for Contou rin g wit h

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 Init ial Mode

Explanation

(44)

 S    p  e  c  i      f     i       c   a  t    i       o n

M270

Non Contact Type Spind le Measurement

Explanation

This M code is used in tool measurement macro program.

M276

Extend Stroke Change Signal OFF

Explanation

Turns off the stroke-change signal that has been turned on by M277. This M code is used in the ATC macro program.

M277

Extend Stro ke Change Signal ON

Explanation

Turns on the stroke-change signal.

This M code is used in ATC macro program.

M283

SL Lower Li mit Mode OFF

Explanation

Turns off the SL lower limit mode.

M284

SL Lower Lim it Mode ON

Explanation

Turns on the SL lower limit mode.

M291

Floating M Code Exchange Proh ibi tio n Mode OFF

Explanation

Turns off the floating M code exchange prohibition mode.

The floating M code exchange prohibition mode is turned off if NC reset is turned on.

M292

Floating M Code Exchange Proh ibi tio n Mode ON

Explanation

Turns on the floating M code exchange prohibition mode.

The floating M code exchange does not function after this M code is specified.

(45)

 S    p  e  c  i      f     i       c   a  t    i       o n

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.

If M303 or M304 has not been specified yet, M302 finishes immediately.

M303

Spindl e CW Withou t DEN-Waiti ng

Program

S2000 M303;

G00 G90 Y___ Z___ M302; G01 Z___;

Explanation

Starts the spindle in clockwise direction without waiting for DEN and returns FIN immediately.

Use M303 and M302 in a pair always.

M304

Spindl e CCW Withou t DEN-Waiti ng

Program

S2000 M304;

G00 G90 Y___ Z___ M302; G01 Z___;

Explanation

Starts the spindle in counterclockwise direction without waiting for DEN and returns FIN immediately.

(46)

 S    p  e  c  i      f     i       c   a  t    i       o n

M307

Coolant/Spindle Sto p & Release

Program M307; G91 G28 Y0 Z0; M6; G91 Y___; M308; □Explanation

Stores status of the spindle and the coolant, and stops them.

Typically in case of oil-pan type machine, inserting the M307 and M308 before and after M6 prevents coolant splash on the floor.

M308

Coolant/Spindle Resume

Program M307; G91 G28 Y0 Z0; M6; G91 Y___; M308; □Explanation

Resumes the spindle and the coolant stopped by M307.

Typically, in case of oil-pan type machine, inserting M307 and M308 before and after M6 prevents coolant from splashing on the floor.

M310

Spindl e Status Reserve & Stop

Program

M310;

G91 G28 Z0; G28 X0 Y0; M6;

(47)

 S    p  e  c  i      f     i       c   a  t    i       o n

M311

Spindle Resume

Program M310; G91 G28 Z0; G28 X0 Y0; M6; G29 X0 Y0; G29 Z0; M311; □Explanation

Resumes spindle rotation stopped by M310.

Use M310 and M311 in a pair always.

M312

Coolant Stop & Reserve

Program M312; G91 G28 Z0; G28 Y0; M6; G29 Y0; G29 Z0; M313; □Explanation

Stores status of the coolant and stops the coolant.

(48)

 S    p  e  c  i      f     i       c   a  t    i       o n

M313

Coolant Resume

Program M312; G91 G28 Z0; G28 Y0; M6; G29 Y0; G29 Z0; M313; □Explanation

Resumes coolant operation stopped by M312.

Use M312 and M313 in a pair always.

M314

Spindle Rotation Before Measuring

Explanation

This M code is used in the automatic measuring macro program.

Rotates to clockwise the spindle at a specified speed during specified time by machine parameters.

 After that, orientates and stops the spindle.

M315

Oil Contro ller OFF

Explanation

Cancels the status of the spindle oil controller that has been turned on by M316.

This M code can only be specified if the spindle has been stopped.

M316

Oil Controller ON

Explanation

(49)

 S    p  e  c  i      f     i       c   a  t    i       o n

M318

Spindl e Optional Angl e Orient Externally (D)

Program

#100=Orient Angle; M466;

M318;

Explanation

Orients the spindle to the angle specified by macro variable #100. Specify M466 before M318 to read the value of macro variable #100. The minimum unit of the angle that can be set for macro variable #100 is 0.1 [deg].

The angle range is 0.0 [deg] to 360.0 [deg].

Program Example O1234; #100=45.; M466; M318; M30; %

M319

Pre-Orientation

Program M319; G91 G28 Z0; G28 Y0; M06; □Explanation

Coolant is stopped and control advances to the next block without waiting for completion of spindle orientation.

Stop check of oriented position is performed by M6.

M322

Spindle Rotation for Measuring

Explanation

Rotates spindle to measure tool length.

(50)

 S    p  e  c  i      f     i       c   a  t    i       o n

M325

Cs Axis Cont ouri ng Mode OFF

Program M326; G91 G28 C0; : M325; S800 M3; □Explanation

Turns off the Cs axis contouring mode.

The spindle functions as a normal spindle (S, M codes are accepted) until M326 is specified.

Specify it in a block by itself.

M326

Cs Axis Conto uri ng Mode ON

Program M326; G91 G28 C0; : M325; S800 M3; □Explanation

Turns on the Cs axis contouring mode.

The spindle functions as an NC axis (Cs axis) until M325 is specified. Specify it in a block by itself.

M327

Spindle Unlock

Explanation

Unlocks the spindle for measuring.

(51)

 S    p  e  c  i      f     i       c   a  t    i       o n

M331

Draw Bar Probe Retract

Explanation

Retract draw bar probe.

M332

Draw Bar Probe Advance

Explanation

 Advance draw bar probe.

M340

 At tac hm ent Change St art

Explanation

This M code is used in the macro program for changing attachments.

M341

 AA C Spl ash gu ard Open & AA C Ad vance

Explanation

Used for semi-automatic attachment changer on MCC.

Splashguard for attachment changer is opened, and then attachment changer is advanced.

M344

 AA C Retr act & A AC Sp las hg uar d Cl os e

Explanation

This M code is used for the semi-automatic attachment changer on MCCC. The attachment changer is retracted, and then the splashguard for the attachment changer is closed.

M346

Spindle Attachment Mount Check

Explanation

This M code is used for attachment changer on MCC.

It requests the operator to check that the spindle attachment is mounted.

M347

Spindle Attachment Dismount Check

Explanation

This M code is used for attachment changer on MCC.

It requests operator to check that spindle attachment is dismounted.

M359

Work information output

Explanation

In case of robot interface type A, output program number specified via EXPNO01-EXPNO32 signals.

(52)

 S    p  e  c  i      f     i       c   a  t    i       o n

M372

Pre-Unclamp (NC Index)

Program M372; : B___; : M373; □Explanation

This M cod is for shortening machining times.

Returns FIN to NC rapidly. Table is clamped and B axis servo ON is activated. □Program Example G91 G30 X0. Y0. M372; B90.; G91 G00 Z-100.; M373;

 Always use M372 in combination with M373, and enter the B___ in between. Do not command M372/M373 in the same block of B___.

(53)

 S    p  e  c  i      f     i       c   a  t    i       o n

M373

Clamp Confir mation (NC Index)

Program M372; : B___; : M373; □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. Y0. M372; B90.;

G91 G00 Z-100.; M373;

 Always use M372 in combination with M373, and enter the B___ in between. Do not command M372/M373 in the same block of 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.

M378

Tool Measuri ng L aser ON

Explanation

Turns on the laser (shutter is opened and laser clearance is turned on) if the machine has a rotary tool measuring system.

M381

 An gl e Head Supp or t Ret rac t

Explanation

 Angle head support retract.

M382

 An gl e Head Supp or t A dv anc e

Explanation

(54)

 S    p  e  c  i      f     i       c   a  t    i       o n

M387

Vacuum Suctio n ON

Explanation

Turns on vacuum suction.

M388

Vacuum Suctio n OFF

Explanation

Turns off vacuum suction.

M389

Tails tock Pressure Change

Explanation

Selects clamp pressure of tailstock.

M390

Spindle Tool Clamp

Explanation

Clamps the tool in the spindle.

M390, M391, and M392 are only for special type machine. Be careful because if these are used unexpectedly, the tool will be dropped.

M391

Spindle Tool Unclamp

Program

M392; M391;

Explanation

Unclamps the tool in the spindle.

When unclamping, M392 must be specified before M391.

M390, M391, and M392 are only for special type machine. Be careful because if these are used unexpectedly, the tool will be dropped.

(55)

 S    p  e  c  i      f     i       c   a  t    i       o n

M392

Spindl e Tool Unclamp Ready

Program

M392; M391;

Explanation

This M code is used to enable unclamping of the spindle tool before M391.

M390, M391, and M392 are only for special type machine. Be careful because if these are used unexpectedly, the tool will be dropped.

M394

 At tac hm ent Chan ge End

Explanation

This M code is used in the attachment change macro program.

M398

Through Spindle Mist ON

Explanation

Turns on through spindle mist.

M399

Mist Blow ON

Explanation

Turns on mist blowing.

M417

Machine Table Pallet 1 Check

Program

M417;

G53; <---- Dummy block for preventing pre-reading /___ ;

: M418;

G53; <---- Dummy block for preventing pre-reading /___ ;

: M419;

(56)

 S    p  e  c  i      f     i       c   a  t    i       o n □Explanation

When pallet No. 1 has been loaded onto the machine table, block skip 1 is turned off.

If pallet No. 2 is on the table, block skip 1 is turned on.

If neither pallet No. 1 nor No. 2 is on the table, the machine is stopped by an alarm.

 A dummy block for preventing pre-reading such as G53 is necessary after M417/M418.

[M417/M418 and block skip 1 ON/OFF]

Pallet on machi ne table M417 M418

1 OFF ON 2 ON OFF □Program Example O1234; M98 P9810; M417; G53;

/M98 P1; <----Pallet 1, work offset setting, etc. /M98 P10; <----Pallet 1, tool prior-check

M418; G53;

/M98 P2; <----Pallet 2, work offset setting, etc. /M98 P20; <----Pallet 2, tool prior-check

M419; G53;

:

Common program for pallet 1 and pallet 2. :

M98 P9820; M30;

(57)

 S    p  e  c  i      f     i       c   a  t    i       o n

M418

Machine Table Pallet 2 Check

Program

M417;

G53; <---- Dummy block for preventing pre-reading /___ ;

: /___ ; M418;

G53; <---- Dummy block for preventing pre-reading /___ ;

: /___ ; M419;

Explanation

When pallet No. 1 has been loaded onto the machine table, block skip 1 is turned on.

If pallet No. 2 is on the table, block skip 1 is turned off.

If neither pallet No. 1 nor No. 2 is on the table, the machine is stopped by an alarm.

 A dummy block for preventing pre-reading such as G53 is necessary after M417/M418.

[M417/M418 and block skip 1 ON/OFF]

Pallet on machi ne table M417 M418

1 OFF ON

(58)

 S    p  e  c  i      f     i       c   a  t    i       o n □Program Example O1234; M98 P9810; M417; G53;

/M98 P1; <----Pallet 1, work offset setting, etc. /M98 P10; <----Pallet 1, tool prior-check

M418; G53;

/M98 P2; <----Pallet 2, work offset setting, etc. /M98 P20; <----Pallet 2, tool prior-check

M419; G53;

:

Common program for pallet 1 and pallet 2. :

M98 P9820; M30;

%

M419

Machine Table Pallet Check End

Program

M417;

G53; <---- Dummy block for preventing pre-reading. /___ ;

: /___ ; M418;

G53; <---- Dummy block for preventing pre-reading. /___ ;

: /___ ; M419;

(59)

 S    p  e  c  i      f     i       c   a  t    i       o n

M430

Pallet Contact Check

Explanation

This M code is used to adjust the pallet seating check function.

M430 checks the seating condition of the pallet on the machine table. If seating is not proper, a machine alarm occurs.

Normally seating is checked during the APC sequence, and there is no need to specify this code in the program.

M434

BTS LS300 OFF Check

Program

M434 TTool No.(A tool number whose tool break or abnormality must be checked.);

Explanation

This M code is used when the machine must be stopped before the next machining process if the previous machining process was abnormally terminated after M6.

If there is no need to have the BTS check stop the machine, I.e. to generate an alarm when the next T command is sent, this code is not necessary.

Program Example

M6 T1; <----T1(tool break check is necessary). The tool length is measured after searching.

:

Machining Program :

M6 T2; <----Tool change end completes M6 and control advances to next blocks.

The T1 (tool break check is necessary) will be measured the length after searching.

:

Machining Program :

M6 T3; <----If T1 is alarm, machine stops. :

Machining Program :

(60)

 S    p  e  c  i      f     i       c   a  t    i       o n

M435

Tool Br oken Status (BT/B2)

Explanation

This M code is used by the ATC-side BTS to measure the tool length after tool vibration stops.

For this function, place M435 before M6.

This mode will be canceled when M6 is executed.

In this mode, the tool is touched once by the BTS arm to stop vibration, and then the length is measured.

Program Example

M6; <----Immediately after M6, tool length is measured. :

M435;

M6; <----By tool measuring command, the tool is touched once to the contactor to stop vibration and then tool length is measured. :

M6; <----By tool measuring command, the tool length is measured immediately.

M436

Signal Li ght 1 Unconditional ON

Explanation

Signal light 1 is turned on unconditionally. Press [Light Off] switch to turn off this lamp.

M437

Signal Li ght 2 Unconditional ON

Explanation

Signal light 2 is turned on unconditionally. Press [Light Off] switch to turn off this lamp.

M441

Message Output Function

Explanation

(61)

 S    p  e  c  i      f     i       c   a  t    i       o n

M448

Tool Data Regist er Mode (Type1)

Program

M448 STool Data Register Mode Data TCutter No.; SPot No. TSetting Data;

:

SPot No. TSetting Data; M448(M37,M30);

Explanation

Registers the desired tool data.

The magazine number is specified by M450 S__.

If M450 has not ever been specified, the magazine number is considered to be 1.

M448 S4 has the same function as M57.

Specify the tool data registration mode with S in the same block as where M448 is specified.

If M448 S0 is specified, or M448 is specified without S, the t ool data registration mode is turned off.

Specify the cutter number with T in the same block as where M448 is specified.

If M448 is specified without T, the cutter number is considered to be 1.  After the tool registration mode is turned on, the pot number is specified

with S, and the tool number is specified with T.

 Kind and Setting Value Table for the Tool Data Tool Data Register

Mode Data (M448 S___)

Kind of Tool Dat a Set ting Data [ unit ]

3 Kind of Pot 0:BT

1:HSK 2:Adapter

4 Tool No.(PTN) (4 Digit PTN)1 to 9999 (8 Digit PTN)1 to 99999999 5 FTN (4 Digit FTN)1 to 9999

(62)

 S    p  e  c  i      f     i       c   a  t    i       o n

Tool Data Register Mode Data (M448 S___)

K ind of Tool Dat a Set ting Dat a [ uni t]

7 Priority 0 to 65535

9 TS Coolant 0:Disable/1:Enable 10 Through Spindle

Coolant Time

0 to 99999[ms]

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 (Geometry(H)) -9999999 to 9999999 [0.0001mm/0.00001inch] 104 Tool Length (Wear(H)) -9999999 to 9999999 [0.0001mm/0.00001inch] 105 Tool Radius (Geometry(D)) -9999999 to 9999999 [0.0001mm/0.00001inch]

References

Related documents

This study evaluates an adaptive surrogate modeling based optimization (ASMO) method on two benchmark problems: the Hartman function and calibration of the SAC-SMA hydrologic model.

The combination of Pomalyst and dex was approved in 2013 by the FDA for patients with multiple myeloma who have received at least two prior therapies that included both Velcade

Wounded Warrior Resource Call Center (WWRCC): The Department of Defense’s WWRCC was created in September 2008 to provide Service members who have become wounded, ill, or injured,

Sarah Thompson, University of Colorado (Chair); Catherine Hill, Texas Health Physicians Group; Shannon Reedy Idzik, University of Maryland; Marie Napolitano, University of

[r]

mirroring those used in the ICCPR, states, “in accordance with the Universal Declaration, the ideal of free human beings enjoying freedom from fear and want can only be achieved

Using life expectancy at birth as an overall measure of population health, this study projects recent trends in life expectancy to the year 2010 to predict the health status of