You are on page 1of 55

# Multi-Pocket Machining

CATIA V5 Training

Student Notes:

Foils

Multi-Pocket
Machining

Version 5 Release 18
September 2007
EDU_CAT_EN_MPG_FF_V5R18

Multi-Pocket Machining

Student Notes:

## Objectives of the course

Upon completion of this course you will be able to define Power
Machining operation.

Targeted audience
NC programmer knowing how to work with CATIA V5 Parts and

Prerequisites

## Students attending this course must have knowledge of CATIA V5

Fundamentals and Numerical Control Infrastructure

0.5 day

Multi-Pocket Machining
Student Notes:

Introduction to Multi-Pockets Machining
What is Power Machining Operation?
How to Access the Power Machining Operation
Creating a Power Machining: General Process

## Power Machining: Geometry

Presentation
Geometry Parameters
Planes
Start Point and Zone Order

## Power Machining: Strategy

Presentation
Machining Strategy Type
General Parameters
Center Parameters: Machining tab
Center Parameters: Axial tab
Center Parameters: HSM tab
Center Parameters: Zone tab

5
6
7
8

9
10
12
21
25

27
28
29
30
35
42
43
44
45

Multi-Pocket Machining
Student Notes:

Side Parameters

Managing Offsets

47
48
49
50
51
52
53
54

## Case 1: Part Offset

Case 2: Minimum thickness on horizontal areas
Case 3: Machine horizontal Areas until minimum thickness
Case 4: Bottom Plane
Case 5: Imposed Plane
Case 6: Top Plane
Case 7: Mix Case

46

Multi-Pocket Machining

Student Notes:

## You will become familiar with the Power Machining principles.

Multi-Pocket Machining

Student Notes:

## This operation provides you highly productive

global rough to finish machining strategies.
MPG delivers a process focused solution
to machine multi-cavity parts such as
structural prismatic parts or aerospace
structural parts.
This breakthrough solution delivers to NC
programmers the possibility to machine
multi-cavity parts with a mix of roughing
and finishing tool paths.

## This power machining operation enables to

machine the part in a global and automatic
way that drastically reduces the
programming time.

Multi-Pocket Machining
Student Notes:

1

## Menu > Start > Machining >PMG/ SMG/ AMG

MPG is an add-on product to all
milling products (PMG, SMG, AMG)
or configuration.

## Select Power Machining Icon in Multi-Pocket

Toolbar

2
3

Multi-Pocket Machining
Student Notes:

1

## Type the Name of the Operation.

(Optional because a default name is given
by the system Type_Of_Operation.X)

1
3

## Strategy tab page

Geometry tab page
Tool tab page
Feeds & Speeds tab page
Macros tab page
Replay and/or Simulate the operation tool path

Multi-Pocket Machining

## Power Machining: Geometry

Student Notes:

You will see the options in the Geometry tab of Power Machining.

Multi-Pocket Machining
Student Notes:

Presentation (1/2)
This Tab Page includes a sensitive Icon
dialog box that allows the selection of:
A and B : Rough stock and Part
Multi-pocket operation will remove all
stock material in order to obtain final
part. Offset can be applied on part.

C : Check (optional)
Elements to avoid during machining.
Offset can be applied on check.
D and E : Top and Bottom planes
Define them to limit height machining

10

Multi-Pocket Machining
Student Notes:

Presentation (2/2)
This Tab Page includes a sensitive Icon
dialog box that allows the selection of:
F : Imposed planes (two groups)
Force cutter to machine in this plane
(global offset can be applied on each
group)

G : Limiting contour
Re-limit machining area after stock and
part definition
H : Center zone order

## I : Start Point (optional)

Impose start point in open area (not in
pocket)

11

Multi-Pocket Machining

Student Notes:

## Rough Stock and Part definition example:

ROUGH STOCK

FINAL PART

12

Multi-Pocket Machining

## Geometry Parameters (2/9): Rework Capability

Student Notes:

Rework definition:
Stock definition can be either at Part Operation level or Operation level. To benefit
from rework capability, dont define stock at operation level.
Therefore algorithm will compute actual stock taking care all previous operation
defined (even non- Cavities Roughing operation)
Do not forget to select Force Replay button to update this actual stock if needed.
It is recommended to use helical strategy for rework computation in order to have
an optimized toolpath.

## Minimum thickness to machine parameter:

When using rework capability one can use this parameter that specify the
minimum thickness taken into account for computation.

13

Multi-Pocket Machining

Student Notes:

## Outer part and pocket definition:

Pocket area: all area tool contouring
is touching the part.
Outer area: all area which is not
pocket area.

Pocket Area

Outer Area

## Depending on which z level plane the

area is analyzed
Outer part and pocket notes:

## It is not only a geometrical concept.

It is a function of: Part, Tool diameter
and Stock.
Part can be composed of
different elements depending of tool
diameter. A pocket can become an
outer part.

14

Multi-Pocket Machining
Student Notes:

## Geometry Parameters (4/9): Important Note

Tool diameter impact on outer and pocket area:
Part
Stock

## All area tool contouring is

touching the part. Hence it is
a pocket area.

Pocket area

## Same geometry but with a

smaller tool diameter, this
time all area tool contouring
is touching the part and the
stock, so its an outer area.

15

Multi-Pocket Machining

Student Notes:

Example:
Cut plane 1
Cut plane 2

Cut plane 1

Cut plane 2

## Outer part area

Pocket area

16

Multi-Pocket Machining
Student Notes:

## Geometry Parameters (6/9): Limiting Contour

Limiting contour is used to restrict machining area to
dedicated pockets. You must define a closed contour
with Edge selection wizard then specify Side to machine
(inside or outside) and Stop position.

Rough Stock
Line selection: This wizard allows to select
Offset = 0mm
out

on

in
in

on

Inside

out

Offset = 0mm

Final Part

Offset = - 5mm

Offset = 5mm
on

Side to machine:
outside

Outside

Side to machine:
Inside

out

Restricted Area

in

Offset +

Side to machine:
Inside

out

on

in

Offset -

## Positive Offset => offset to outside

Negative Offset => offset to inside

## Side to machine: Inside

17

Multi-Pocket Machining
Student Notes:

## Geometry Parameters (7/9): Mask Methodology

It is not advisable to use limiting contour to describe the part at the end of roughing.
Here the mask methodology is preferred:
Define a mask surface (describing the part at the end of roughing) and select it
as a part in the user interface.
Limiting Contour

Final Part

Final Part

Rough Stock

Negative points:
Limiting contour can be crossed by tool tip
Limiting contour impact on outer and part area
Need to manage offset
Offset is function of Tool diameter, thickness
on part.

Rough Stock

Positive points:
Part elements are not
necessarily connected.

18

Multi-Pocket Machining
Student Notes:

## Geometry Parameters (8/9): Important Note

Limiting Contour impact on outer and pocket area:
Part
Stock

Pocket area

Limiting Contour

## Blue zone is still an outer part

area, because tool contouring
cannot be performed only by
touching the part.

19

Multi-Pocket Machining
Student Notes:

## Geometry Parameters (9/9): Important Note

Mask impact on outer and pocket area:

Part
Stock

Pocket area

Stock

## In this case (Mask = Part);

tool contouring is performed
only by touching the part so
its a pocket area.
pocket is transformed in a
pocket area.

20

Multi-Pocket Machining

Student Notes:

## Top and Bottom Planes offer capability to restrict height of

machining area.
These planes are used in cut depth computation.
(see Strategy Tab section)

## Restricted machining area

21

Multi-Pocket Machining
Student Notes:

## Planes (2/4): Imposed Planes

Top and bottom planes with maximum depth of cut allow to define cutting planes.
Adding to them, it is possible to define Imposed cutting planes, manually or using auto
search on part. Imposed planes are the planes to which the cutter must positively reach.

TOP (Z=30)

Cut1 (Z=21.7)

8.3

Cut2 (Z=13.3)

8.3

Cut3 (Z=5)

8.3

## Initial step: top and bottom planes selected,

max. depth of cut = 10

BOTTOM (Z=5)

22

Multi-Pocket Machining
Student Notes:

## Planes (3/4): Imposed Planes

Adding imposed plane with search plane capability:
Select right mouse button on imposed plane sensitive picture then select Search/View
menu, the window as shown below will be displayed:

TOP (z=30)

Cut1 (z=22.7)

## Z= 8 imposed plane added

=> Cut plane 1 and 2 re-computed,

Cut2 (z=15.3)

7.3
7.3
7.3

## Extra Cut3 (z=8)

Cut4 (z=5)

Bottom (z=5)

23

Multi-Pocket Machining

## Planes (4/4): Notes

Student Notes:

Offset:
All planes (top, bottom, imposed) can be modified using offset capability.
Cutting plane will always strictly respect the offset plane.
Two groups of imposed planes are existing in sensitive picture thus allowing to define two
different offsets on imposed planes.
Adding Imposed Plane with Search/View capability:
Scanning is performed on all planar surfaces of the part or only the planes that can be
reached by the tool you are using (small pockets and counter-draft area are skipped)
Be careful, offset on imposed planes has to be greater than the global offset on part,
otherwise it will not be respected.
Any plane can be selected (physical part plane, plane created in WFS workbench etc)

Selection:
System automatically check if selected plane is normal with tool axis (e.g. if plane selection
is refused, check operation tool axis)

24

Multi-Pocket Machining

Student Notes:

## Start Point restrictions:

Only for outer part area (no pocket).
Only helical mode.
Defined point must not be in collision with
Part or Stock.

Start point

25

Multi-Pocket Machining
Student Notes:

## Start Point and Zone Order (2/2)

Zone order definition:
It is a capability to define pocket order machining
(either outer part or pocket).
It is used to manage stress on part for example.
Pocket

## Zones will be machined in the selected order.

It is possible to machine only selected zones.
(Right-click on zone order)

Outer Part

Zone Ordering

26

Multi-Pocket Machining

## Power Machining: Strategy

Student Notes:

You will learn the options in the Strategy tab of Power Machining.

27

Multi-Pocket Machining

Presentation

Student Notes:

## This Tab Page allows to define

General parameters (which are common to
Center and Side)
Thickness, Machining tolerance and Mode

## The two separate tabs allow to define

dedicated Center and Side parameters:

28

Multi-Pocket Machining
Student Notes:

## Machining Strategy Type

Power machining operation allows to define Center and Side tool path in a single operation,
but it is possible to define only Center tool path.

## Center only strategy selected. You need to define

only Center parameters.

## Center and Side strategy selected. You need to

define both Center and Side parameters.

29

Multi-Pocket Machining
Student Notes:

## General Parameters (1/5)

Power Machining is roughing the part by
leaving thicknesses on sides and
horizontal areas.

## You can define:

A. Remaining thickness
for sides.

B. Minimum thickness
on horizontal areas

## In Back and Forth strategy, machining

direction can be set manually using axis
definition dialog box. It can be set
automatically using optimize option (right

OR

30

Multi-Pocket Machining

Student Notes:

option:

## Depending on cutting plane computed, horizontal area may

have till one cut depth remaining material. This cut depth
can be machined by using Machine horizontal areas until
minimum thickness.

## If this option is activated, it will force

to have one extra path on this
horizontal area to respect minimum
thickness.

31

Multi-Pocket Machining
Student Notes:

## General Parameters (3/5)

Machine horizontal areas until minimum
thickness example:

2 mm

## Bottom plane = bottom

of pocket + 2mm offset

10 mm
2 mm

## Machine horizontal areas until

minimum thickness - Not activated

2 mm

2 mm

2 mm

## Machine horizontal areas until

minimum thickness - Activated

32

Multi-Pocket Machining
Student Notes:

## General Parameters (4/5)

Global offset on part vs. imposed plane vs. automatic detection of horizontal area
Imposed plane with
0.2mm offset

## Global offset on part: This parameter is virtually

creating a new part including this offset.
Case 1 : If an imposed plane is defined on top of
stiffener with 0.2mm offset

## There will not have any tool path on top of

stiffener (imposed plane is not visible)
There will have a machining at this height
while it is not in collision with the part
Case 2 : If automatic detection is used with the
option machining until thickness (still 0.2mm)

## There will have a machining path at 1.2mm

height

Case 1

Case 2

33

Multi-Pocket Machining
Student Notes:

## General Parameters (5/5)

Machining tolerance
Value of the maximum allowable
distance between theoretical
tool path and the computed tool path.
Direction of cut definition:
Climb: The front of the advancing tool
cuts into the material first.

## Conventional: The back of the

advancing tool cuts into material first.

## Machining mode (refer to outer part and pocket area

definition):
This option allows to select geometry machining between
Outer part and pocket,
Pockets only and
Outer part

Sequencing:
By plane or
By area

34

Multi-Pocket Machining

## Center Parameters: Machining tab

Student Notes:

The Fully engaged tool management option is detailed in the SMG / Roughing training. This option is
used to optimize the management of tool overload in roughing. Based on automatic detection of full
diameter engagement situation, the user has the ability to manage the tool overload by: Feed rate
reduction, Extra machining planes or Addition of trochoidal paths.
The main target is the reduction of the machining time and tool life improvement for hard material
machining.

35

Multi-Pocket Machining
Student Notes:

## Center Parameters: Back and Forth

Back and forth strategy definition:
Tool is moving following selected direction.
The machining direction is reversed from one path to the next.

## Optimize option let the algorithm

choosing direction in order to minimize
change of direction in tool path.

## The contouring passes can be applied Prior or After the back

and forth passes.

Back and forth

## In Prior mode it is possible to define a multi level

36

Multi-Pocket Machining
Student Notes:

## Center Parameters: Helical (1/4)

Helical strategy definition:
Tool moves in successive concentric passes from
the boundary of the area to machine towards the
interior or from the interior to the boundary.
Helical Movement:
Inward:
Tools start from a point on
zone boundary and follow
concentric passes parallel to
boundaries towards interior.
Tool path with
Helical

Outward:
Tool starts from a point inside
passes parallel to boundaries.

37

Multi-Pocket Machining
Student Notes:

## Center Parameters: Helical (2/4)

Both:
For pockets, the tool starts from a point
inside the pocket and follows outward paths
parallel to the boundary.
for external zones, the tool starts from a
point on the rough stock boundary and
follows inward paths parallel to the
boundary.

Pocket

Outer part

Outward

Inward

38

Multi-Pocket Machining

Student Notes:

## Forced cutting mode on part contour:

With Forced cutting mode on part contour is
deactivated, outer part in helical inward style,
contouring pass is in Conventional cutting
condition even if Climb cutting mode is
selected.
Option OFF:
Inward
contouring pass is not
respecting climb

## With Forced cutting mode on contour is

activated, contouring pass is now in
climb cutting condition. The tool goes
round the outside contour of the part
before continuing.
Option ON:
Inward
contouring pass now in climb

39

Multi-Pocket Machining
Student Notes:

## Center Parameters: Helical (4/4)

Always Stay on bottom:
It is possible when there is no collision and with
tool staying in the machining plane.
The tool to remain in contact with the bottom of the
pocket when moving from one domain to another.

Option OFF:
Approach macro
Retract macro

Option ON:

Approach macro
Retract macro

40

Multi-Pocket Machining

Student Notes:

## Concentric strategy definition:

Tool is moving following concentric passes.
Tool removes the most constant amount of
material possible at each concentric pass.
Tool is never fully engaged in material.
Tool path is always respecting given cutting
mode.

## Approach macro is only helix one.

41

Multi-Pocket Machining
Student Notes:

There are four different ways to define distance
between passes:
Overlap ratio
Overlap length
Step over ratio
Step over length

Overlapping
Overlap ratio:
It is the overlap between two
passes, given as a percentage
of the tool diameter.

Overlap length:
It is the distance between two
passes with respect to a tool
diameter ratio recovery.

Stepover
Stepover ratio:
It is the stepover between two
passes, given as a percentage
of the tool diameter.

Stepover length:
It is the maximum distance
between two passes.

42

Multi-Pocket Machining

Student Notes:

## Maximum cut depth:

It defines the maximum depth of cut per axial level.
This value will be respected for each axial level
from top to bottom plane.

## Variable cut depths:

It allows to define different values of
maximum depth of cut depending on
axial levels.

43

Multi-Pocket Machining
Student Notes:

## Center Parameters: HSM tab

High Speed Milling technological parameter:
In order to be compliant with machine technology, this
parameter allows to avoid corners in toolpath, by
defining the minimum radius of tool path.
It is possible to have a different cornerization on
part contouring (most of the time a smaller one to
reduce rework).
Center cornerization is linked with Step over distance.

## A warning message as shown during Tool path

computation is raised in case of incompatibility and if the
value is set at maximum.

It defines the radius of the
rounded ends of passes. The
ends are rounded to give a
smoother path that is
machined much faster. The
to the finish path.
It specifies the radius used for rounding
the corners along the Part contouring
pass of a HSM operation. This radius
must be smaller than Corner radius value.

44

Multi-Pocket Machining

## Center Parameters: Zone tab

Student Notes:

Zone definition:
This parameter is acting like a pocket filter,
which means small pockets will be removed.
To be activated you must define a noncutting diameter (Dnc) parameter in tool
description.

## Based on this value the following formula is

applied to define the smallest machinable pocket
length:
XX(mm) = Dnc+D+2 x (machining tolerance)
There will not be machining path in pockets
where tool cant plunge without respecting
maximum plunge angle.

45

Multi-Pocket Machining

Side Parameters

Student Notes:

Machining tab:
Bottom finish thickness: Define the
thickness value left on bottom of part
during last level of side finish tool path

## Compensation output: Automatic insertion

of CUTCOM instruction in tool path to
manage tool compensation

Axial tab:
Maximum cut depth

46

Multi-Pocket Machining

Managing Offsets

Student Notes:

## You will learn the offset management in detail.

47

Multi-Pocket Machining
Student Notes:

## Case 1: Part Offset

forbidden to go under this value

Z=25

Z=20
Z=15

Offset=2mm

Z=10
Z=05

Z=00

Offset=2mm

Offset=3mm

part offset

2mm

13x3mm

Z=30

8x3mm

Z=35

2mm

6x3mm

Z=40

11x3mm

Z=45

9x3mm

Condition to be respected:
Offset on each horizontal area

Computed planes
Each 3mm

Parameters:
Part offset =1mm (blue)
Max depth of cut = 3mm

Offset=1mm

Offset=1mm

## Compute of the remaining material depth on horizontal areas =

H-D*N Part offset + Min thickness on horizontal areas
H : depth to remove
D : max depth of cut
N : number of level

48

Multi-Pocket Machining
Student Notes:

## Case 2: Minimum thickness on horizontal areas

forbidden to go under this value
Computed planes
Each 3mm

Parameters:
Part offset =1mm (blue)
Max depth of cut = 3mm

Z=25

Z=20
Z=15

Offset=2mm

Z=10
Z=05

Z=00

Offset=2mm

2mm

12x3mm

Z=30

7x3mm

Z=35

2mm

6x3mm

Z=40

11x3mm

Z=45

9x3mm

Condition to be respected:
Offset on each horizontal area part offset +
Min thickness on horizontal areas (1.5mm)

Offset= 4mm
Offset=3mm

Offset= 4mm

## Compute of the remaining material depth on horizontal areas =

H-D*N Part offset + Min thickness on horizontal areas
H : depth to remove
D : max depth of cut
N : number of level

49

Multi-Pocket Machining
Student Notes:

## Case 3: Machine horizontal Areas until minimum thickness

forbidden to go under this value
Computed planes
Each 3mm

Parameters:
Part offset =1mm (blue)
Max depth of cut = 3mm

Condition to be respected:
Offset on each horizontal area = part offset +
Min thickness on horizontal areas (1.5mm)

Z=45
Z=40
Z=35

1.5mm

1.5mm

Z=30

Offset=1.5mm

Z=25

Z=20
Z=15

Offset=1.5mm

Z=10
Z=05

Z=00

Offset= 1.5mm
Offset=1.5mm

1
Compute of the remaining material depth on horizontal areas =
Part offset + Min thickness on horizontal areas

Offset= 1.5mm

5
Added plane to reach 1.5 mm
On each horizontal area

H : depth to remove
D : max depth of cut
N : number of level

50

Multi-Pocket Machining
Student Notes:

## Case 4: Bottom Plane

Computed planes
Each 2.95 mm

Parameters:
Part offset =1mm (blue)
forbidden to go under this value
Max depth of cut = 3mm
Define bottom plane with 0.5mm offset
(Z=15.5)

Z=35

2.05mm

Z=30

2.3mm

7x2.95mm

Z=40

6x2.95mm

Z=45

9x2.95mm

Condition to be respected:
Offset on each horizontal area part offset +
Min thickness on horizontal areas (1.5mm)

Z=25
Z=20
Z=15

5.5mm

4.35mm

3.45mm

Z=10
Z=05

2.05mm

Z=00

## 1. Recomputed depth to have regular depth of cut: H( top-bottom)/N closest

than max depth of cut = 2.95 mm
2. Compute of the remaining material depth on horizontal areas part offset +
Min thickness on horizontal areas
H (top-bottom): depth to remove from top of the stock to bottom plane
N: number of level
The bottom path is done only in zones 1 & 5.

10.5mm

5
bottom plane (+ offset on
bottom)

51

Multi-Pocket Machining
Student Notes:

## Case 5: Imposed Plane

Computed planes
Each 2.72 mm

Parameters:
Part offset =1mm (blue)
forbidden to go under this value
Max depth of cut = 3mm
Define Imposed plane with 0.5mm offset
(Z=20.5)

Z=30

3.66mm

3.22mm

Z=25

Z=20
Z=15

1.71mm

Z=10
Z=05

Z=00

2.57mm

3.78mm

## 1. Recomputed depth to have regular depth of cut between imposed planes

until imposed plane: Recompute depth: H (top-imposed plane)/N closest than max depth of cut = 2.72 mm
after imposed plane: Recompute depth: H (imposed plane-last plane)/N closest than max depth of cut =
2.93 mm
2. Compute of the remaining material depth on horizontal areas part offset + Min thickness on horizontal
areas
N : number of level
The imposed plane path is done only in zones 1, 3 & 5.

Computed planes
Each 2.93mm

Z=35

2.28mm

8x2.72mm

2.28mm

Z=40

9x2.72mm

Z=45

6x2.72mm

Condition to be respected:
Offset on each horizontal area part offset +
Min thickness on horizontal areas (1.5mm)

52

Multi-Pocket Machining
Student Notes:

## Case 6: Top Plane

Computed planes
Each 2.92 mm

Parameters:
Part offset =1mm (blue)
forbidden to go under this value
Max depth of cut = 3mm
Define Imposed plane with 1mm offset
(Z=35)
Condition to be respected:
Offset on each horizontal area part offset +
Min thickness on horizontal areas (1.5mm)

Z=20
Z=15

2
1.64mm

Z=10
Z=05

Z=00

2.48mm

3.32mm

8x2.92mm

Z=25

4.16mm

8x2.92mm

Z=30

5x2.92mm

Z=35

5mm
2x2.92mm

Z=40

5mm

7x2.92mm

Z=45

3.72mm

1. Recomputed depth to have regular depth of cut between top and bottom planes (here = 2.92mm)
2. Compute of the remaining material depth on horizontal areas part offset + Min thickness on horizontal
areas.
N : number of level
The zone 6 is not machined because there are upper top plane.

53

Multi-Pocket Machining
Student Notes:

Condition to be respected:
Offset on each horizontal area = part offset +
Min thickness on horizontal areas (1.5mm)
Z=45
Z=40
Z=35

1.5mm

1.5mm

Z=30

1.5mm

Z=25

Z=20
Z=15

1.5mm

Z=10
Z=05

Z=00

reach 1.5 mm
On each
horizontal area

Parameters:
Part offset =1mm (blue)
forbidden to go under this value
Max depth of cut = 3mm
Define Imposed plane with 0.5mm offset
(Z=20.5)
Define bottom plane with 1 mm offset
(Z=11)

Computed planes
Each 2.72 mm

1.5mm
1.5mm

6mm

5
Computed planes
Each 2.83mm

## 1. Recomputed depth to have regular depth of cut between imposed planes

until imposed plane: Recompute depth: H (top-imposed plane)/N closest than max depth of cut = 2.72 mm
after imposed plane: Recompute depth: H (imposed plane-bottom plane)/N closest than max depth of cut = 2.83 mm
2. Compute of the remaining material depth on horizontal areas = part offset + Min thickness on horizontal areas
The imposed plane path is done only in zones 1, 3 & 5. Bottom plane is done only in zone 5.
Machine horizontal area
4 paths are done in different zones (1st: zone1, 2nd: zone2, 3rd: zone3, 4th: zone4, 5th: zone6)

54

Multi-Pocket Machining

To Sum Up

Student Notes:

## In this course you have seen:

Necessary geometrical elements to define Power Machining operation
Part (can be composed of different elements)
Stock
Planes (top, bottom, imposed)
General parameters
Center parameters
Machining strategies of Power Machining
Helical, Back and Forth, both with HSM option