IHMI Cycle Programming For Milling Exercises
IHMI Cycle Programming For Milling Exercises
IHMI Cycle Programming For Milling Exercises
for Milling
Exercises
Version 3.0
MBR-03576-EN 1
0. Table of Contents
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:
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.
Mill Ø40 mm
T7
Mill Ø40 mm
T7
Mill Ø10 mm
T8
MBR-03576-EN 4
Centre drilling (square hole pattern)
Drill Ø10 mm
T10
MBR-03576-EN 5
2.1 New Program
New program
MBR-03576-EN 6
2.2. Select Program to be edited
“Select…” .
You can Export or Import files by
MBR-03576-EN 7
2.3. Link Image to a program
edit comments
MBR-03576-EN 8
2.4. Generating Blank Definition
Choose “Rectangular”.
Blank form is mainly necessary for Graphic, but data
entered here are used also for determining
Coordinate System when describing geometry.
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.
MBR-03576-EN 9
2.5. Fixed Sentences
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“.
MBR-03576-EN 10
2.6. Necessary Tools
MBR-03576-EN 11
Data are reflected to , and
Exercise: Please complete setting up all necessary tools (T4, T7, T8, T9 and T10, as described above).
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.
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
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.
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.
MBR-03576-EN 14
Confirm pressing the soft key “OK”
MBR-03576-EN 15
Complete parameter
After the data for “E” are entered, “Detail” tab opens
automatically.
Complete parameters.
Confirm by “OK”.
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”.
Confirm by “OK”.
MBR-03576-EN 17
Complete the parameter.
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”.
MBR-03576-EN 19
Complete the parameter.
Confirm by “OK”.
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.
Complete parameter.
Confirm by “OK”.
MBR-03576-EN 21
The geometry screen for hole position opens automatically.
Select “Square Point” and confirm by “OK”.
Confirm by “OK”.
MBR-03576-EN 22
End of program.
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.
MBR-03576-EN 24
Go to First screen in EDIT mode.
Confirm by “OK”.
1Using the arrow, open the vertical bar (only for 10.4” display).
MBR-03576-EN 25
Key in Comment and confirm by „OK“.
MBR-03576-EN 26
Select “Rectangular” and confirm with “OK”.
MBR-03576-EN 27
Complete parameters.
MBR-03576-EN 28
Prepare for new process.
Insert “Fixed Sentence” for Tool Change, edit manually for Too Nr. 8.
Complete parameter.
After the last line is completed with “Input” tab “Detail” opens
automatically.
MBR-03576-EN 29
Complete parameters.
Define the Start Point of the Free Figure for pocket machining.
MBR-03576-EN 30
Press “Left” and leave X free. The line is determined by the point and
direction along the X-axis.
Insert Corner Radius “CR” which will tangent the current and next
lines.
Confirm by „OK“.
Confirm by “OK”.
MBR-03576-EN 31
CNC calculates and shows the first 3 elements.
Confirm by “OK”.
Press “Line”.
MBR-03576-EN 32
Press “CR”.
Select “Line”.
MBR-03576-EN 33
Press “CR”.
Enter R10.
Confirm by “OK”.
Press “Line”.
MBR-03576-EN 34
Press “CR”.
Select “Line”.
MBR-03576-EN 35
Press “CR”.
Enter R10.
Confirm by “OK”.
Press “Line”.
MBR-03576-EN 36
Note: The geometry of the pocket must always be exactly closed. The
start point must correspond with the finish point.
The folder to locate the Subprogram is the Current folder of the main
program.
Confirm by “OK”.
Confirm by „OK“.
MBR-03576-EN 37
Interference Check by simulation
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”.
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:
Mill Ø 10 mm
T8
MBR-03576-EN 40
New program
Select EDIT mode and Edit screen. Open Vertical bar and select
Program Management.
Confirm by “OK”.
MBR-03576-EN 41
Type in your comment. You can use 48 characters.
Confirm by “OK”.
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.
Confirm by “OK”.
MBR-03576-EN 43
“Machining Cycle” is located on the 4th horizontal bar..
Confirm by “OK”.
Complete parameter.
Complete parameter.
Confirm by „OK“.
MBR-03576-EN 44
Select corresponding to “Pocketing” “Free Concave” figure on the
“XY” plane.
Confirm by “OK”.
Press “Line”.
MBR-03576-EN 45
Select the element to be “Blank” and confirm by “OK”.
Complete parameter.
Confirm by “OK”.
MBR-03576-EN 46
Complete the parameter.
Confirm by “OK”.
Complete parameter.
Confirm by “OK”.
MBR-03576-EN 47
Select to save the Blank Contour in a separate subprogram in the
“Current Folder” of the main program.
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.
Click on “Create”.
MBR-03576-EN 48
New geometry can be specified for the “Emboss” part.
Confirm by “OK”.
Complete parameter.
Confirm by “OK”.
MBR-03576-EN 49
The endpoint of next element is not on the drawing, but the Arc is
tangent to this line.
Fill in known data and choose the shorter part of the arc.
Confirm by “OK”.7
MBR-03576-EN 50
Note:
The definition for the line by endpoint in X and angle is not complete.
Confirm by “OK”.
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”.
MBR-03576-EN 52
Select “Line” and “Left”.
Pay attention, when embedding chamfer corner “CC” select the End
point of line without chamfer.
MBR-03576-EN 53
Select “Line” and “Down”.
Confirm by “OK”.
MBR-03576-EN 54
Go to “Fixed Sentence”.
Program is completed.
Simulation
MBR-03576-EN 55
The second screen opens.
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
MBR-03576-EN 57
New Program
Confirm by “OK”.
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.
MBR-03576-EN 58
Key in comment and confirm by “OK”.
MBR-03576-EN 59
Select “Drawing Command” on the third 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.
Tab “Detail” will open automatically, after the last line of tab “Cut.
Cond” is confirmed by “Input”.
Confirm by “OK”.
MBR-03576-EN 61
Enter the data and press “OK”.
Leave X free.
MBR-03576-EN 62
Select “CR” Corner Radius.
MBR-03576-EN 63
On the next screen you are requested to check and choose the
crossing point you need.
MBR-03576-EN 64
On the second horizontal soft key bar you can find “Copy”.
Select “Mirror”.
MBR-03576-EN 65
Go “Back”.
Push “Create”.
MBR-03576-EN 66
Go to “Create” again and select “Add Emboss”.
Confirm by “OK”.
MBR-03576-EN 67
Push “Create” and insert in the current, contour program.
Confirm by “OK”.
Confirm by “OK”.
MBR-03576-EN 68
The program is completed
Simulation
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.
MBR-03576-EN 70
New Program
Confirm by “OK”.
Show vertical keys by arrow and press icon for Program Manager
Menu
MBR-03576-EN 71
Go to “Fixed Sentence” and insert the “Start Tool” block by “OK”.
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.
Confirm by “OK”.
Confirm by “OK”.
MBR-03576-EN 73
Geometry screen for Embossing opens automatically.
Complete parameters.
Confirm by “OK”.
Set X100.
Confirm by “OK”.
MBR-03576-EN 74
Select “Line” and “Up”.
Set Y100.
Confirm by “OK”.
Note 1: Remember? Blank zero point was on the bottom left side.
MBR-03576-EN 75
Select “Line” and “Down”.
Select “Create”.
MBR-03576-EN 76
Key in Subprogram Name and Figure Name and confirm.
Select “Create”.
MBR-03576-EN 77
Enter Start Point data and confirm by “OK”.
MBR-03576-EN 78
Save the Emboss contour into the current subprogram.
Confirm by “OK”.
MBR-03576-EN 79
Select the Tool change blocks from “Fixed Sentence” and set T4 as
next, engraving tool.
Confirm by “OK”.
Complete parameter.
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”.
Program is completed.
MBR-03576-EN 81
Simulation
You can change the drawing to tool path to see the function of
Embossing and Engraving.
MBR-03576-EN 82
One common servo and control platform –
Infinite opportunities
THAT‘s FANUC!
WWW.FANUC.EU
Technical information subject to change without prior notice. All rights reserved. © 2020 FANUC Europe Corporation MBR-03576-EN