IHMI Cycle Programming For Milling Exercises

Download as pdf or txt
Download as pdf or txt
You are on page 1of 83

iHMI Cycle Programming

for Milling
Exercises
Version 3.0

MBR-03576-EN 1
0. Table of Contents

0. Table of Contents .......................................................................................................... 2


1. Preface .......................................................................................................................... 3
2. Example 1 ..................................................................................................................... 4
2.1. New Program ...........................................................................................................................6
2.2. Select Program to be edited ......................................................................................................7
2.3.Link Image to a program ............................................................................................................8
2.4. Generating Blank Definition ......................................................................................................9
2.5. Fixed Sentences ...................................................................................................................... 10
2.6. Necessary Tools ...................................................................................................................... 11
2.7. Cycle selection........................................................................................................................ 12
2.8. Geometry ............................................................................................................................... 14
3. Example 2 ................................................................................................................... 24
4. Example 3 ................................................................................................................... 39
5. Example 4 ................................................................................................................... 57
6. Example 5 ................................................................................................................... 70

MBR-03576-EN 2
1. Preface

The following 5 Examples of milling programs, using iHMI NC Operation programming (CNCOpera), can be exercised
beside real CNC also on attached CNC Guide project having the following features:

Designation of Machine control type S838#M


(Machining center system)
BACKGROUND EDITING J956
CANNED CYCLES J890
CHAMFERING/CORNER R J875
ONTROLLABLE AXES EXPANSION J801
CUSTOM MACRO J873
CUSTOMER SOFTWARE SIZE 512KB J738#512K
GRAPHIC DISPLAY J972
iHMI BASIC FUNCTION R901
iHMI Machining Cycle (for 1 path system) R911
MACRO EXECUTOR J888
PART PROGRAM STORAGE 8MB J959
SIMULTANEOUSLY CONTROLLED AXES EXPENSION J803
SPINDLE SERIAL OUTPUT J850
TOOL GEOMETRY/WEAR COMPENSATION J931
TOOL OFFSET MEMORY C J937
TOOL OFFSET PAIRS 400-PAIRS J928
TOOL RADIUS – TOOL NOSE RADIUS COMPENSATION J930

For CNC Guide (A08B-9010-J770 – J773), Version 15.5 usage please refer to CNC Guide Operator’s manual (available as
SPEC19/018_GFXE-19060-EN/01)

MBR-03576-EN 3
2. Example 1

In this first example, a workpiece, for which all the geometrical elements are known or have been measured, is
programmed using iHMI cycles for Milling. The geometrical shapes that are used are simple contours that can be reduced to
basic figures such as rectangles, circles or ellipses. Therefore, in this example, only predefined figures are used. In
Examples 2, 3 and 4 stated later in this handbook, freely programmable shapes are explained in detail. These make it possible to
machine complex workpieces.

In Example 1, the following machining cycles and tools will be applied:

End face milling (predefined rectangle)

Mill Ø40 mm
T7

Contour milling (predefined circular figure)

Mill Ø40 mm
T7

Pocketing (predefined rectangle)

Mill Ø10 mm
T8

MBR-03576-EN 4
Centre drilling (square hole pattern)

Centre drill Ø12 mm


T9

Drilling (square hole pattern)

Drill Ø10 mm
T10

Image of finished part

MBR-03576-EN 5
2.1 New Program

Select „EDIT“Mode. In „Home Screen“ select “NC


OPERATION”.

Click on “Create New”

New program

The new program will be created in the current


folder.

Enter the program number (Oxxxx) or program name


“EXAMPLE” using the keyboard

Confirm the program input by pressing the soft key


“OK”

MBR-03576-EN 6
2.2. Select Program to be edited

On the “NC OPERATION” screen click on the arrow to


open the side bar.

Click on Folder icon

Here you can change folder or select a program just


by clicking with the mouse.

With “Open” you can open the selected program


in Forder Ground for editing.
You can select multiple programs for output by

“Select…” .
You can Export or Import files by

You also can create a new program or folder here.

Click “Create New”

MBR-03576-EN 7
2.3. Link Image to a program

On the next horizontal bar you can:

Link an image from a list to each program.

lock and protect from editing

edit comments

You can delete one program.

You can rename or copy

to other folders or peripherals

On the 3rd horizontal bar you can:


Mount or Unmount peripherals by

or check memory capacity

MBR-03576-EN 8
2.4. Generating Blank Definition

Select a Blank Workpiece form using “Drawing


Command”.

Choose “Rectangular”.
Blank form is mainly necessary for Graphic, but data
entered here are used also for determining
Coordinate System when describing geometry.

Enter the following values on the keyboard (see


drawing):

B: 100
D: 100
H: 30
I: 0
J: 0
K: 1
NOTE:
I and K are 0, it means coordinate 0 for the Blank is
placed at the edge of part. Consider when you specify
0-point for Geometry.

Confirm data input by pressing the soft key “OK”.

MBR-03576-EN 9
2.5. Fixed Sentences

Using “Fixed Sentence”, you can insert by 1 click several


ISO lines (Group of Commands), prepared by programmer
according to machine specific features, into the program.

By “New” is possible to prepare new group, defined by


name, like: 1. Start Tool, 2. Head of program, 3. End of
program, etc.
By “Change”, you can edit existing group of commands.
You can “Delete” a group.

Question marks (?) are space holder in the program for the
real data.
• Program cannot run with (?) – syntax error
• After program is completed, following (?) can be
searched/jumped by 1 click.
Confirm by „OK“.

Pushing the Arrow Vertical bar opens.


Using Tool Offset screen already prepared tools can be
selected.

MBR-03576-EN 10
2.6. Necessary Tools

The necessary tools can be selected.

Here tools, already set up, can be selected by Tool


Number (T1; M06; selects Tool Number 1), referring Type
and Offset.

Generation of New tools is done in Tool Manager.

Tool Manager - gives the possibility to set up


New Tools.

To generate a New Tool, change to “Edit” mode, go by


cursor to free number and select “Individual Setting”.

With cursor on Tool Manager list number “7” you can


select the “T-Code” number. Tipping in “Tool Name” it is
reflected on the left side of screen.

With cursor on “Tool” and setting the “Tool Compensation


Number”, you can define the tool geometry and offsets.

Set “Tool Length (Geometry and Wear)” and “Tool Radius


(Geometry and Wear)

Select “Tool Type” from list. It takes a moment the list to


appear.

“Tool Setting Position” can be chosen, too.


Further geometry data, like Tool Nose Angle of Drilling
Tool can be specified.

MBR-03576-EN 11
Data are reflected to , and

Deleting a tool in Tool Manager, does not delete associated


tool geometry data in the CNC.

Exercise: Please complete setting up all necessary tools (T4, T7, T8, T9 and T10, as described above).

2.7. Cycle selection

Using „NC Operation Programming “the process is generally divided in 2 steps – first choose and set up machining cycle,
than – respective geometry. The geometry, belonging to the cycle appears automatically after inputting the cycle into the
program.

MBR-03576-EN 12
“Machining Cycle” soft key appears under “EDIT”
mode:
1. On the Edit screen (1st screen group)
2. And the 4th horizontal bar.

Select “Facing” “Rough” and confirm by “OK”.

Note1:
The values with *are not obligatory

Complete parameter
Next, click on “Detail” or use keyboard arrow – right.

Note2:
The feed rate is entered manually in mm/min, If G95 is
commanded in advance, mm/rev input is possible.

Complete parameter
PRM27030#0=0 to enable P and V value

Confirm pressing the soft key “OK”

MBR-03576-EN 13
2.8. Geometry

Describe geometry
Confirming the Cycle by “OK”, it is inserted into the program and respective graph (Facing) is offered automatically.

Select “Square” in “XY” plane.


Confirm by “OK”.

Complete parameter
Note:
0-point for geometry is in the middle of part. You have
chosen 0 for blank to be at bottom- left edge. Shift to
centre by H50 and V50.

Confirm by “OK”. First process is completed.

Process (G1020…) and geometry (G1220…) are inserted


into the program.

Next, the “Fixed Sentence” for tool change is inserted.

On first screen, first horizontal bar push and


select corresponding block.

MBR-03576-EN 14
Confirm pressing the soft key “OK”

The question marks (?) are altered by typing just numerals


and “Alter” key on MDI keyboard.

By searching (?) throughout the whole program, you can


jump from one to the other by 1 click.

Syntax check of CNC would not allow program to run with


(?) character.

For the next cycle set tool 8.

Select “Machining Cycle”

and „Outer Wall (Roughing)“ for


„Contouring“ cycle.

MBR-03576-EN 15
Complete parameter

!!!Play attention to values T and S


The wall thickness still to be machined must be specified
with T and S.
These values are not to be confused with K and H which
represent the finishing dimension.

After the data for “E” are entered, “Detail” tab opens
automatically.

Complete parameters.

Confirm by “OK”.

Graphic menu, corresponding to the cycle opens


automatically.

Select “XY” “Circle Convex”.

Confirm by “OK”

Complete parameters.

Note:
0-point for geometry is in the middle of part. You have
chosen 0 for blank to be at bottom- left edge. Shift to centre
by H50 and V50.

Confirm by “OK”

MBR-03576-EN 16
By entering “M30” you can test the program till the current
state at any time.

Go to “Change Screen”.

Arrange the view of blank using the second horizontal bar.

Go to “Rewind” on the first horizontal bar and “Start” the


simulation.

To edit your program go to “Change Screen”.

Tool change is not necessary. Pocket cutting will be done


by T8. We can any time enter blocks manually. Lift the
spindle properly and move to a place for the next process.

Go to “Machining Cycle” on the forth horizontal bar.

Select “Pocketing” – “Rough”.

Confirm by “OK”.

MBR-03576-EN 17
Complete the parameter.

Pay attention to T and S


-If the pocket is already machined, the wall thickness still to
be machined can be determined with the aid of T and S. Only
the specified thickness will be cut off – shorter cycle time.
-If the pocket is not yet machined, no values may be entered
for T and S.
-These values are not to be confused with K and H, which
represent the finishing dimension.

Pushing input on the last line, the tab “Detail” opens


automatically.

Safety distance always > 0

End by pressing the soft key “OK”.

The corresponding to the pocket cycle geometry screen


appears automatically.

We select “XY” plane and “Square Concave”.

MBR-03576-EN 18
Complete the parameter.

The coordinate zero point are on H50. and V50. Because the
Blank zeropoint was selected to be at the left below corner. All
geometry zero points are measured based on the blank zero.

Confirm by “OK”.

Check process and geometry.

Preparation for Center Drilling process. “Fixed Sentences”


Tool selection T9.
Checking Tool data

Open side bar and click on . Tool Offset screen appears.

Select tool Offset No. 9 before clicking on “Tool Manager”


: Individual Tool Settings of tool No.9 appear in the app Tool
Manager.
To come back to “Offset Table” and Editing screen, push Tool

Slide Softkey or keep pushed for 3 seconds the home

screen soft key . You will return to “Tool Offset”.

Pressing home screen for 3seconds will return always to


the previous used application.

Select “Hole Machining” and “Center Drilling”.


Confirm by “OK”.

MBR-03576-EN 19
Complete the parameter.

Pay special attention on “Ref.PT.Mode”. Tool should retract to


Initial Point over the Z0 for the Workpiece, otherwise the tool
would touch the Island.

Confirm by “OK”.

The geometry screen for “Hole Positions” opens automatically.


Select “XY” “Square Point”.

Complete parameter. By “Input” on the last line, tab “Skip”


opens automatically.

The parameter with “*” are not obligatory.

Confirm by “OK”.

MBR-03576-EN 20
You can check the process.

Prepare for next process – “Drilling” with tool Nr. 10. Insert
“Fixed Sentence” for tool change and modify manually.

Select machining cycle “Hole Machining” “Drilling” and


confirm by “OK”.

Complete parameter.

Pay special attention, like Center Drilling cycle, on


“Ref.PT.Mode”. Tool should retract to Initial Point over the Z0
for the Workpiece, otherwise the tool would touch the Island.

By “Input” on the last line, tab “Detail” opens automatically.

The parameter with “*” are not obligatory.

Confirm by “OK”.

MBR-03576-EN 21
The geometry screen for hole position opens automatically.
Select “Square Point” and confirm by “OK”.

Complete parameter. By “Input” on the last line, tab “Skip”


opens automatically.

Pay attention: The base position for drilling is 15 mm under the


Blank zero point.

The parameter with “*” are not obligatory.

Confirm by “OK”.

For End of Program you may have a separate “Fixed Sentence”.


The setup of “Fixed Sentence” is free to be entered or changed
any time.
Confirm by “OK”.

MBR-03576-EN 22
End of program.

Program has been completed.

Program check by Simulation.

Simulation can be executed in AUTO mode, in Back Ground


(active Fore Ground program cannot be simulated) or in EDIT
mode, right after completion of programming.
Go to “Change Screen” on the first horizontal bar.

The simulation screen is opened.


Press “Rewind” to come to the beginning of program, then –
“Start”.

Check by Simulation finished.

MBR-03576-EN 23
3. Example 2

In this example, a pocket is machined out of a workpiece with the aid of iHMI NC Operation screen Cycles.
The pocket geometry, which is known completely or has been measured, is entered as a free programmable contour and
registered as a subprogram. Storing a contour as a subprogram makes it possible to re-use these for further cycles, for example
for finishing or residual cutting. Since it is a pocket, a concave contour is selected.

The following machining cycles will be applied:

End face milling (predefined rectangle)


Mill Ø 40 mm
T7

Pocketing (freely programmable concave contour,


registered as a subprogram)
Mill Ø 10 mm
T8

Image of finished part

MBR-03576-EN 24
Go to First screen in EDIT mode.

Select “Create New”

New name is “Example2”. The folder of the program is automatically


selected. You can freely change the folder after program is done.

Confirm by “OK”.

1Using the arrow, open the vertical bar (only for 10.4” display).

Click on Program Manager and select, on the


second horizontal bar, the “Edit Comment”.

MBR-03576-EN 25
Key in Comment and confirm by „OK“.

In order to enter the comment, the program should not be active


(opened). Otherwise the message “Protected” appears.

Alternatively, the comment can be keyed in the buffer within


parentheses “( )” and by “Input” inserted behind the cursor in the
main program.

Select the „Fixed Sentence“ for the head of program.

Confirm with “OK” and set up Tool Nr. 7 manually.

The “Blank” definition can be inserted before or after the Head of


program. It should be specified before the first cycle.

Select “Drawing Command” on the 3rd horizontal bar.

MBR-03576-EN 26
Select “Rectangular” and confirm with “OK”.

Note: The blank part dimensions entered


There are only used for the graphic simulation and have no influence
on the tool path.
Enter the following values on the keyboard:
B: 160
D: 90
H: 30
I: 5
J: 5
K: 1
Pay attention, the zero point of blank is 5mm in X and 5mm in Y from
the Blank edge.

First process is selected by “Machining Cycle” on Programming (first)


screen group.

from the 4th horizontal bar.

Select “Facing” and “Rough” and confirm with “OK”.

MBR-03576-EN 27
Complete parameters.

Note: The values marked with * are not obligatory.

The feed rate is entered here in mm/min. Possible in G95


(mm/revolutions) if this was programmed before the cycle.

After the last line is entered, tab “Detail” automatically opens.

Complete parameter and confirm by “OK”.

Geometry menu for facing opens automatically.

Select the „XY“, “Facing” and “Square”.

Confirm with “OK”.

Complete parameter and confirm by “OK”.

MBR-03576-EN 28
Prepare for new process.
Insert “Fixed Sentence” for Tool Change, edit manually for Too Nr. 8.

“Fixed Sentence” are on the first horizontal bar of editing screen.

“Fixed Sentence” is inserted and edited.

Note: The tool diameter is automatically compensated by the


machining cycle. Therefore merely the tool length must be activated
with G43. Address D is obligatory. The cycle must be executed in
G40 (G41/G42 are not allowed before cycle).

Proceed to “Machining Cycle”.

Select “Pocketing” and “Rough”.

Confirm with “OK”.

Complete parameter.

Pay attention to values T and S


If the pocket is already machined, the wall thickness still to be
machined can be determined with the aid of T and S.
If the pocket is not yet machined, no values may be entered for
T and S.
These values are not to be confused with K and H, which represent
the finishing dimension.

After the last line is completed with “Input” tab “Detail” opens
automatically.

MBR-03576-EN 29
Complete parameters.

Confirm with “OK”.

Geometry screen for Pocketing opens automatically.

Select “XY” and “Free Concave”

Define the Start Point of the Free Figure for pocket machining.

Confirm with “OK”.

Press soft key “Line”.

MBR-03576-EN 30
Press “Left” and leave X free. The line is determined by the point and
direction along the X-axis.

Confirm with “OK”.

Insert Corner Radius “CR” which will tangent the current and next
lines.

Corner Radius is 8 mm.

Confirm by „OK“.

Next line “Up” should be determined by endpoint X and Y.


Although the next Corner Radius is starting before the Endpoint of
line, specify the Endpoint (X0;Y30.).

Confirm by “OK”.

MBR-03576-EN 31
CNC calculates and shows the first 3 elements.

Select Corner Radius “CR” again.

Corner Radius is 18 mm.

Confirm by “OK”.

Press “Line”.

Set parameter and confirm by “OK”.

MBR-03576-EN 32
Press “CR”.

Set parameter and confirm with “OK”.

Select “Line”.

Set parameter and confirm by “OK”.

MBR-03576-EN 33
Press “CR”.

Enter R10.

Confirm by “OK”.

Press “Line”.

Set parameter and confirm by “OK”.

MBR-03576-EN 34
Press “CR”.

Set parameter and confirm with “OK”.

Select “Line”.

Set parameter and confirm by “OK”.

MBR-03576-EN 35
Press “CR”.

Enter R10.

Confirm by “OK”.

Press “Line”.

Set parameter and confirm by “OK”.

MBR-03576-EN 36
Note: The geometry of the pocket must always be exactly closed. The
start point must correspond with the finish point.

Press soft key “Create”.

Note: The developed form can be saved as a profile in a subprogram.

Enter the following data by key board:


Subprogram Name: 101, Figure Name: POCKET01

The folder to locate the Subprogram is the Current folder of the main
program.

Confirm by “OK”.

The pocketing process is completed.

End the program by selecting proper “Fixed Sentence” or by ISO


commands.

Confirm by „OK“.

MBR-03576-EN 37
Interference Check by simulation

Press “Change Screen” on the first horizontal soft key bar.

Push “Rewind” and “Start” simulation.

Simulation is used to check the correct program.


Possibilities to check carefully – “Interference ON/OFF” or Tool path
graph under different perspectives.

Pushing “Interference ON/OFF” the graphical interference check is


activated/deactivated. Using “Interference Stop/Contin” is possible to
stop the simulation in the cycle of interference.
If “…Con” is chosen, simulation processes continues, but a mark
remain at colision place.

Analysing the issue:


Above picture shows, that in movement from Z-1 to the start point of
Facing Cycle the tool touches the workpiece during G00 (rapid
traverse).

Exercise:
Change Z-1. in the program to Z10. and simulate again. Use “Search
Up/Down” to find Z-1.. Check by “Interference Stop” and “…Contin”.
After Stop push “Single”.

Issue is fixed, simulation successfully completed.

MBR-03576-EN 38
4. Example 3

In this example, an island is machined out of a workpiece with the aid of iHMI NC Operation.

The island geometry includes several unknown geometrical elements. For the machining of the island, a combination of two
freely programmable contour figures is selected - a freely programmable pocket and a freely programmable island. The
rectangular blank part is entered as a freely programmable pocket contour (concave), whereby the contour elements are of type
“Blank”. The island in the centre is entered as a freely programmable island contour (convex); the contour elements are of type
“Part”. This pocket- island combination results in the most efficient tool path for machining an island out of a workpiece.
Alternatively, a contour milling cycle could be entered (as indicated in Example 1); but in this case, the cycle time would be
increased.

Pocket-island combinations can only be entered when using freely programmable contours. Here, G1990 marks the beginning and
G1991 marks the end of the combined figures in the part program. Both G codes are inserted automatically by iHMI NC Operation
into the part program and may not be deleted manually. Predefined figures (e.g. rectangles or circles) cannot be added to a pocket-
island combination.

The difference between contour elements of the type “Blank” and type “Part” is that the milling tool may cross a contour
element of type “Blank”, and may even be required to do so, in order not to leave a burr on the workpiece, whereas in the case of
contour elements of type “Part”, the tool may not breach the contour.

MBR-03576-EN 39
In this example, the following machining cycle is applied:

Pocketing (combination of a freely programmable pocket of type “Blank”


type and a freely programmable island of type “Part”; combination
registered as a subprogram)

Mill Ø 10 mm
T8

Image of finished part

MBR-03576-EN 40
New program

Select EDIT mode and Edit screen. Open Vertical bar and select
Program Management.

Select “Create New” on the first horizontal bar.

Type in the new program name.

Confirm by “OK”.

Select “Edit Comment” on the second horizontal bar.

MBR-03576-EN 41
Type in your comment. You can use 48 characters.

Confirm by “OK”.

Open the program using “Open” on the first horizontal bar.

Blank part definition

Select “Drawing Command” on the 3rd horizontal bar.

Select “Rectangular”.

Confirm by „OK“.

MBR-03576-EN 42
Enter the following values on the keyboard:
B: 120
D: 110
H: 20
I: 15
J: 15
K: 0

Pay special attention: Zero point for geometry will be on X15. and Y15.
mm from edge and Z0 (on the surface) of blank workpiece.

Soft key “Fixed Sentence” is on the 1st horizontal bar.

Confirm by “OK”.

Selected tool is T8.

MBR-03576-EN 43
“Machining Cycle” is located on the 4th horizontal bar..

Select “Pocketing” and “Rough”.

Confirm by “OK”.

Note 1: The values marked with * are not obligatory.

Complete parameter.

After “Input” of last line, tab automatically changes to “Detail”.

Note 2: The feed rate is entered manually in mm/min. Possible in G95


(mm/revolu- tions) if this was programmed before the cycle.

Complete parameter.

Confirm by „OK“.

MBR-03576-EN 44
Select corresponding to “Pocketing” “Free Concave” figure on the
“XY” plane.

Confirm by “OK”.

Blank Part Definition

Start Point – confirm by “OK”.

Press “Line”.

After inputting the last line, “Attribute” opens automatically.

MBR-03576-EN 45
Select the element to be “Blank” and confirm by “OK”.

Select “Line” and “Right”.

Note: The line type “Blank Part” remains automatically selected

Complete parameter.

Confirm by “OK”.

Press “Line” and “Down”.

MBR-03576-EN 46
Complete the parameter.

Confirm by “OK”.

Select “Line” and “Left”.

Complete parameter.

Confirm by “OK”.

Push “Create” to register the geometry to the cycle.

MBR-03576-EN 47
Select to save the Blank Contour in a separate subprogram in the
“Current Folder” of the main program.

The “Subprogram Name” is “EXAMPLE3OUTSIDE”. The comment is


“OUTSIDE CONTOUR”.

Confirm by “OK”.

Note 1:
This concludes the blank part definition.
Note 2:
The part to be machined is inserted as an island. The process is
defined as “Emboss”. Tool path is calculated between Blank and
Island to avoid empty cut and shorten cycle time.

Go with the cursor to M98 and push .

The contour is opened and ready to be edited. Every element can be


edited by selecting it and opened by “Input”.

Click on “Create”.

Press “Add Emboss”.

MBR-03576-EN 48
New geometry can be specified for the “Emboss” part.

Complete the parameter for “Start Point”.

Confirm by “OK”.

Select “Line” and “Right”.

Complete parameter.

Confirm by “OK”.

Select “Line” and “Right-up”.

MBR-03576-EN 49
The endpoint of next element is not on the drawing, but the Arc is
tangent to this line.

Select “Tangent” for “Next Connection”


Confirm by “OK”.

Select “Arc CW”.

Fill in known data and choose the shorter part of the arc.

Confirm by “OK”.7

Press “Line” and “Right-down”.

MBR-03576-EN 50
Note:
The definition for the line by endpoint in X and angle is not complete.

Specify “Tangent” to the “Last Connection”.

Confirm by “OK”.

Select “Line” and “Right-up”.

Using “St. P + I” or “St. P - I” you can get the current (end) position of
the last element (X75.) and add incremental data 15. from the
drawing for X axis. Currently please use the <CALC> MDI key for
calculation.

Use the same way to enter incremental drawing data for Y axis:
20.775011+10. before pressing <CALC> key

MBR-03576-EN 51
Select “Line” and “Up”.

Complete parameter and confirm by “OK”.

Select chamfer corner – “CC”.

Input C5 and confirm by “OK”.

MBR-03576-EN 52
Select “Line” and “Left”.

Pay attention, when embedding chamfer corner “CC” select the End
point of line without chamfer.

Input X0 and confirm by “OK”.

Select chamfer corner “CC”.

Input C10 and confirm by “OK”.

MBR-03576-EN 53
Select “Line” and “Down”.

Close the contour by inputting Y0 and confirm by “OK”.

Go to “Create”. Consider, the “Emboss” contour was prepared after


opening the subprogram “EXAMPLE3OUTSIDE”.

Import the “Emboss” contour in the same subprogram.

Confirm by “OK”.

MBR-03576-EN 54
Go to “Fixed Sentence”.

Select “END of Program” and confirm by “OK”.

Program is completed.

Simulation

Select Edit mode and push “Reset”.


Klick on “Change Screen” of the first horizontal soft key bar.

MBR-03576-EN 55
The second screen opens.

Push “Rewind” and “Start” on the first horizontal bar.

Simulation has passed successfully.

To check possible collision between Work piece and Tool during rapid
traverse select “Interference ON/OFF”. Depending on the choice
“Interference Stop or Cont” in the top symbol line, the corresponding
icon appears.

MBR-03576-EN 56
5. Example 4

In this example, a pocket is machined out of a workpiece with the aid of iHMI NC Operation Cycle programming, leaving an
island in the center.

The symmetrical pocket geometry includes several unknown geometrical elements and is generated by
“reflection/mirroring”. For machining the pocket with the island, a combination of two freely programmable figures is
selected. One is a freely programmable pocket (concave) of type “Part” and the other is a freely programmable island
contour (convex), also of type “Part”, since in this case, in contrast to Example 3, the tool may not infringe on either of the
two figures.

In this example, the following machining cycle is applied: Pocketing (combination of freely programmable
pocket of “Blank” type and freely programmable island of “Part” type; combination stored/filed as a
subprogram)

Mill Ø 10 mm
T8

Image of finished part

MBR-03576-EN 57
New Program

Select operation mode “EDIT”.


Click “Create New”.

Type in program name.

Confirm by “OK”.

Program is opened automatically.

Show vertical keys by arrow and press icon for Program Manager

If you want to enter comment, the New program should not be active.
Immediately after entering New program (without opening) you can
edit comment. Go with the cursor to the program you started to write
and click on “Edit Comment”. On the second horizontal bar.

The comment will be added to the program where the cursor is


positioned.

MBR-03576-EN 58
Key in comment and confirm by “OK”.

Open again the New program.

Go to “Fixed Sentence” and insert the “Start Tool” block by “OK”.

Select T8 and call length and diameter offset 8, amending the


question marks (?).

MBR-03576-EN 59
Select “Drawing Command” on the third horizontal bar.

Select “Rectangular” blank and confirm by “OK”.

Note: The blank part dimensions entered


here are only used for the graphic simulation and have no influence
on the tool path.

Enter the following values on the keyboard:


B: 100
D: 60
H: 20
I: 50
J: 0
K: 0

Remember, WP zero is on the below edge in the middle of part.

Select “Machining Cycles” on the forth horizontal bar.

MBR-03576-EN 60
Select “Pocketing” and “Rough”.

Note 1: The values marked with * are not obligatory. Leave the boxes
blank in the case of non premachined parts.

Note 2: Pay attention to values T and S


If the pocket is already machined, the wall thickness still to be
machined can be determined with the aid of T and S.
If the pocket is NOT pre-machined, DON’T enter any value for data
fields T and S.
-Do not mistake the data fields T and S with the finishing
dimensions K and H.

Note 3: The feed rate is entered manually in mm/min. Possible in


G95 (mm/revolutions) if this was programmed before the cycle.

Tab “Detail” will open automatically, after the last line of tab “Cut.
Cond” is confirmed by “Input”.

Confirm by “OK”.

The geometry definition screen for Pocketing is opened


automatically. Select “Free Concave” on the plane XY.

MBR-03576-EN 61
Enter the data and press “OK”.

Press “Line” and “Left”.

Leave X free.

Enter “Tangent” for the Next Connection.

Tab “Atribute” opens automatically after “Tangent” is input.

Select “Part” and confirm by “OK”.

MBR-03576-EN 62
Select “CR” Corner Radius.

Enter R10 and confirm by “OK”.

Press “Arc CW”.

Enter the data and press “OK”.

MBR-03576-EN 63
On the next screen you are requested to check and choose the
crossing point you need.

Selection is made by “Change Cross”. Use “Select” to go on.

Select “Arc CW” again.

Enter the data available on the drawing and confirm by “OK”.

Select the right crossing point by “Change Cross” and enter by


“Select”.

MBR-03576-EN 64
On the second horizontal soft key bar you can find “Copy”.

Select “Mirror”.

Set coordinates X0 Y0 and confirm by “OK”.

The pop-up screen gives the possibility to choose elements to be


mirrored. Use MDI key arrows. Using “Preview” you can see the
result of mirroring.

By “OK” you confirm your choice.

MBR-03576-EN 65
Go “Back”.

Push “Create”.

Save the contour as a separate subprogram.

Push “Input” key on MDI to open the program again.

MBR-03576-EN 66
Go to “Create” again and select “Add Emboss”.

Set the Start Point like the drawing requires.

Confirm by “OK”.

Select “Arc CW”.

Enter data and confirm by “OK”.

MBR-03576-EN 67
Push “Create” and insert in the current, contour program.

Confirm by “OK”.

Insert the fixed sentences for the program end.

Confirm by “OK”.

MBR-03576-EN 68
The program is completed

Simulation

Select EDIT mode. “Change Screen” to simulation screen.

Push “Rewind” and “Start”.

Simulation is successfully completed.

MBR-03576-EN 69
6. Example 5

In this example will be shown and explained how the functions ‘’Embossing” and “Engraving” are working in iHMI NC
Operation Cycle programming. The drawing used here is the one from Example 1.

The “Embossing” function optimizes the outer contouring motions, reducing the air-cut movements. The figures which can be used
with embossing cycle are( just free figure (no predefined pattern such as polygons, circle, rectangles can be used).
The “Engraving” is used to engrave alphanumeric texts.

In this example, the following machining cycle is applied:


EMBOSSING - Mill Ø 10 mm, T8
ENGRAVING – Drill Ø 1 mm, T4
The outer contouring will be replaced by embossing and on the top of it we will engrave, the rest of the
machining will be skipped because it was explained in Example 1.

Image of finished part

MBR-03576-EN 70
New Program

Select operation mode “EDIT”.


Click “Create New”.

Type in program name.

Confirm by “OK”.

Program is opened automatically.

Show vertical keys by arrow and press icon for Program Manager

Simplest method to Comment a program is: Input a key string in


parentheses (,) as shown left. Input “EOB” and insert.

The comment will be added to the program where the cursor is


positioned.
The Program List in the program manager show the comment in the
next step. Alternatively the Comment can be edited with the context

Menu

MBR-03576-EN 71
Go to “Fixed Sentence” and insert the “Start Tool” block by “OK”.

Select T8 and call length and diameter offset 8, amending the


question marks (?).

To specify blank workpiece select “Drawing Command”.

Select “Rectangular”.

Confirm by “OK”.

MBR-03576-EN 72
Note: The blank part dimensions entered here are only used for the
graphic simulation and have no influence on the tool path.

Enter the following values on the keyboard:


B: 100
D: 100
H: 30
I: 0
J: 0
K: 0

Confirm by “OK”.

Select “Machining Cycle”.

Select “Embossing” and “Rough”.

Confirm by “OK”.

Note 1: Remember, values marked with * are not


obligatory.

Complete parameter and confirm by “OK”.

MBR-03576-EN 73
Geometry screen for Embossing opens automatically.

Use XY plane, select “Free”.

Complete parameters.

Confirm by “OK”.

Select “Line” and “Right”.

Set X100.

Confirm by “OK”.

MBR-03576-EN 74
Select “Line” and “Up”.

Set Y100.

Confirm by “OK”.

Select “Line” and “Left”.

Note 1: Remember? Blank zero point was on the bottom left side.

Complete parameter and confirm by “OK”.

MBR-03576-EN 75
Select “Line” and “Down”.

Complete parameter and confirm by “OK”.

Select “Create”.

Note: If you go directly to “Add Emboss”, the first part of


geometry definition will be saved in the main program.

MBR-03576-EN 76
Key in Subprogram Name and Figure Name and confirm.

Complete geometry Group will be established in a Sub Program.

Now open the Subprogram by “Input” key on the MDI keyboard.

Select “Create”.

The next figure – “Add Emboss” will be inserted in the current


subprogram.

MBR-03576-EN 77
Enter Start Point data and confirm by “OK”.

Select a clockwise arc “Arc CW”.

Complete parameter and confirm by “OK”.

Press soft key “Create”.

MBR-03576-EN 78
Save the Emboss contour into the current subprogram.

Confirm by “OK”.

Both contours are saved in the subprogram <E5CONTOUR>.


If you want to see or edit them, push “Input” key on MDI keyboard and
select one of them.

MBR-03576-EN 79
Select the Tool change blocks from “Fixed Sentence” and set T4 as
next, engraving tool.

Under “Machining Cycle” select “Special” and “Engraving”.

Confirm by “OK”.

Complete parameter.

Select XY plane. Screen automatically change to Position tab.

You have the choice between Fullsize and Halfsize letters.

The angle, please chose by soft key. The tab String is automatically
opened after angle is selected.

MBR-03576-EN 80
Type in the string of characters you wish.

Confirm by “OK”.

Process and geometry are integrated in the main program.

Insert “Fixed Sentence” for the program end.

Program is completed.

MBR-03576-EN 81
Simulation

Change to Simulation Screen.

Press soft key “Rewind” and then “Start” .

You can change the drawing to tool path to see the function of
Embossing and Engraving.

Select “Change Drawing”.

Simulation is successfully completed.

MBR-03576-EN 82
One common servo and control platform –
Infinite opportunities
THAT‘s FANUC!

WWW.FANUC.EU

FA ROBOTS ROBOCUT ROBODRILL ROBOSHOT ROBONANO


CNCs, Industrial Robots, CNC Wire-Cut Compact Electric CNC Ultra Precision
Servo Motors Accessories Electric Discharge CNC Machining Injection Moulding Machine
and Lasers and Software Machines Centres Machines

Technical information subject to change without prior notice. All rights reserved. © 2020 FANUC Europe Corporation MBR-03576-EN

You might also like