0% found this document useful (0 votes)
109 views114 pages

808D - Programming and Operating Procedures - Milling - 0113 - en

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views114 pages

808D - Programming and Operating Procedures - Milling - 0113 - en

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 114

s

Training manual

Sinumerik 808D Programming and Operating


Procedures for Milling
Version 2013-01
s
Notes

Operating and Programming — Milling Page 2 808D


Basic knowledge of programming for milling is required,
before operating of a machine !
s

Contents
Switch On and Tool Setup
Preparation
Referencing
Pages 5~7 Pages 9~10 Pages 13~20
Workpiece
Setup
Pages 23~27

Create Part
Program
Part 1
Pages 29~36
Machine Test Simulate
Pieces Program Program
Pages 61~63 Pages 57~58 Pages 53~54 Create Part
Program Program
Restart Part 2
Pages 65~66 Pages 39~51

Additional
Information
Part 1

Pages 69~75
Sample
ISO Mode Appendix
Program
Additional Pages 87~94 Pages 97~106 Pages 109~112
Information
Part 2
End
Pages 77~85

808D Page 3 Operating and Programming — Milling


s
Index

Absolute incremental dimensioning 32 Manual tool change 15

Editing part program 31 MDA 77

Executing M function 20 Moving axis with handwheel 16

Calculator 85 Part programming 29

Changing time 74 Protection levels 7

Contour editor 46 Program execution 57

Creating and measuring tools 13 Block search 65

Creating zero offsets 24 Reference point 10

Cycles 40 RS232c and USB 69

Dry run 58 Saving data 74

Jogging spindle 20 Simulation 53

Tool wear 63 Subprograms 78

List of programming functions 109 Sample program 87

Manual face milling 72 Timers/counters 61

Manual start spindle 23 ISO mode 97

Operating and Programming — Milling Page 4 808D


Preparation s
Content Basic Theory

Unit Description PPU


Function of
This unit describes the 808D PPU and MCP functionality, the coordinate keyboard
system of a milling machine and how to enter passwords to access the
system.
The 808D panel pro-
cessing unit (PPU) is
used to input data to
the CNC and to navi-
Unit Content
gate to operating
areas of the system.

PPU
User
Function of
interface Menu navigation
keyboard Operating area
navigation

Machine
MCP mode MCP mode
coordinate
Changing Changing
system

MCP
Passwords
Moving axis

The 808D machine Mode Navigation


MCP control panel (MCP) is
OEM End used to select the
keys
machine operating
mode :
JOG - MDA - AUTO

808D Page 5 Operating and Programming — Milling


Preparation s

MCP User
Moving axis interface

Axis remove
The 808D machine control
panel (MCP) is used to con-
trol manual operation of the
axis.
The machine can be moved
with the appropriate keys. 808D (PPU) has
eight vertical softkeys
(abbr. SKs) on the
MCP right of the screen.
OEM These SKs can be
keys activated with the
corresponding button
(located on the right).
OEM
keys

The 808D machine control


panel (MCP) is used to con-
trol OEM machine functions.
The machine functions can
be activated with the appro-
priate keys. 808D (PPU) has eight horizontal SKs on the bottom
of the screen. These SKs can be activated with the
corresponding button (located below).

Operating and Programming — Milling Page 6 808D


Preparation s
SEQUENCE

Machine Passwords at the control are used to set the user’s


coordinate Passwords right to access the system. Tasks such as ”Basic Op-
system erating”, “Advanced Operating” and commissioning
functions all depend on the passwords.
The Sinumerik 808D uses a
coordinate system which is No password Machine operator
derived from the DIN 66217 Customer’s password Advanced operator
standard. Manufacturer’s password OEM engineer
The system is an international
standard and ensures com-
patibility between machines Customer’s password = CUSTOMER
and coordinate programming. Changing Manufacturer’s password = SUNRISE
The primary function of the password
coordinate system is to en- Usually the machine operator does not need
Step 1
sure that the tool length and to change the password.
tool radius are calculated
correctly in the respective The service mode is opened
axis. with the appropriate key
combination.
+
In the service mode, the
password can be activated
and deactivated.

Step 2

Enter customer’s or manufacturer’s password

Change customer’s or manufacturer’s password

Delete customer’s or manufacturer’s password

End
808D Page 7 Operating and Programming — Milling
s
Notes

Operating and Programming — Milling Page 8 808D


s
Switch On
and
Referencing

Content SEQUENCE

Unit Description Switch on


the
This module describes how to switch the machine on and reference it. machine

Please note the explicit switching on rules as specified by


the machine manufacturer.

Unit Content Step 1

Turn on the main switch of the machine.

Switch on
the The main switch is usually
machine at the rear of the machine.

Reference
the
machine
Step 2
End
Make sure you perform the following operation!

Release all the EMERGENCY STOP


buttons on the machine!

End
808D Page 9 Operating and Programming — Milling
s
Switch On
and
Referencing

SEQUENCE

Reference
the
After power on, the machine must first
After completing the referencing
machine be referenced!
procedure for all axes, the refer-
enced symbol is displayed next to
the axis identifier.
Step 1

After power on, the machine will be


in the reference point approach
mode (default).
Step 3

After returning to JOG mode, use


the axis traversing keys to move the
If the axis is not referenced, the non- machine manually.
referenced symbol (circle) is dis-
played between the axis identifier
and the value.

The machine can now be operated


in JOG mode.
Step 2
During normal operation (JOG),the
referenced symbol is not shown on
The axes are referenced with the the screen.
corresponding axis traversing keys.
The traversing direction and keys
are specified by the machine manu-
facturer.

End
Operating and Programming — Milling Page 10 808D
s
Notes

808D Page 11 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 12 808D


Tool Setup s
Content SEQUENCE

Unit Description A tool must have been created and


Create tool measured before executing the pro-
This unit describes how to create and set up tools. gram.

Step 1 Please make sure the system is in JOG mode.

Press “Offset” on the PPU.


Unit Content
Press the “Tool list” SK on the PPU.

Create tool Start


spindle

Create tool Measure


edge tool

Load tool
JOG
into active
spindle
position

Move ma-
chine with Execute M
handwheel function

End

808D Page 13 Operating and Programming — Milling


Tool Setup s
SEQUENCE

Step 2 The range of tool numbers which can be created Create tool A tool must have been created and
by this system is 1 ~32000. edge
The machine can be loaded with a maximum of selected before creating a tool edge!
64 tools / 128 tool edges.
Use “D” code to specify the tool edge. The system activates tool
Step 1
Press the “New tool” SK on the PPU. edge no. 1 per default at the start.

Press the “Offset” key on the PPU.

Select the type of tool required. Press the “Tool list” SK on the PPU.

Enter “1” at “Tool No.” Use direction keys to select the tool
Or
which needs to add a tool edge.

Press the “OK” SK on the PPU.

Enter the ”Radius” of the milling tool.

Press the “Edges” SK on the PPU.


Press the “Input” button on the PPU. Press the “New edge” SK on the PPU.

Operating and Programming — Milling Page 14 808D


Tool Setup s
SEQUENCE

Step 2
Load tool A tool must have been created in the
A new tool edge can be added in this way and different lengths and radii into Spindle system before it can be loaded into the
can be entered as required. active position.

Press the “Machine” key on the PPU


The red circle shows the actual active tool and tool edge,the purple circle
shows how many tool edges have been created and the related data for
Press the “JOG” key on the MCP
each tool edge.
Press the “T.S.M” SK on the PPU

Enter tool number “1” in “T”

Press “CYCLE START” on the MCP

A maximum of nine tool edges can be created for each


tool!
Different tool lengths and radii can be saved in different
tool edges as required.
Please select the right tool edge for machining according
to requirement! Press the “Back” SK on the PPU
808D Page 15 Operating and Programming — Milling
Tool Setup s
SEQUENCE

The tool are usually loaded manually into the spindle. Select the required override increment
according to the buttons on the right
The tool will be automatically loaded into the spindle with an automatic (this selection fits all axes)
tool changer.
The override increment is
“0.001 mm”
Move ma- Make sure there is no obstruction when
chine with moving the tool to avoid a crash. The override increment is
handwheel “0.010 mm”

The override increment is


A handwheel can control the axis motion instead of the “JOG” button.
“0.100 mm”

Press the “Machine” key on the PPU The selected axis can now be moved with the handwheel.

Press “JOG” on MCP to end the function


Press the “Handwheel” key on the MCP of “Handwheel”.

Notes:If set the MD14512[16]=80, the system will deactivate the


function of MCP for selecting the axis of handwheel, the user will
Select the axis you want to move with have to activate “Handwheel” function with PPU softkey.
the appropriate keys. on the MCP

Select the required


axis on the right of
the PPU; the se-
lected axis is
Under “WCS” or “MCS” state, a handwheel
will be shown beside the axis symbols, shown with a √
showing the axis is chosen, and can be
controlled with a handwheel.

Operating and Programming — Milling Page 16 808D


Tool Setup s
SEQUENCE

Start A tool must have been loaded and ro-


spindle tated to the position.

Start the spindle before adjusting tools as follows:

Press the “Machine” key on the PPU

Press the “T.S.M” SK on the PPU Press “Reset” on the MCP to stop the
spindle rotation

Enter “500” at “Spindle speed”


Press the “Back” SK on the PPU

Select “M3” using the “Select” key


on the PPU

Measure A tool must have been created and


tool loaded before it can be measured!

Step 1 Measure length

Press the “Machine” key on the PPU

Press the “CYCLE START” key on Press the “JOG” key on the MCP
the MCP
Press the “Meas. tool” SK on the PPU

Press the “Measure manual” SK on the


PPU
808D Page 17 Operating and Programming — Milling
Tool Setup s
SEQUENCE

Use “SELECT” key to set the refer-


ence point as “workpiece” (In real
Press the axis keys on the MCP to measurement, the reference point
move the tool to the set position can be set as either “workpiece” or
above the workpiece. “ fixed point” if required.

Enter “0” for “Z0”


(If the setting block is used, then the
value would be thickness a)

Note: The following text describes the


required settings in the workpiece coordi-
nate system
“X / Y / Z” zero points as:“X0” / “Y0” / “Z0”

Press the “Handwheel” key on the


MPC and position the tool at location
Z0 or a of the workpiece. Press the “Set length” SK on the PPU

The measured tool length is now shown in “Length (L)”. This value is
also saved in the length value column of the corresponding tool list at the
same time.

or a
Step2 Measure diameter

Press the “Diameter” SK on the PPU


Move directly to zero point Use a setting block.

Operating and Programming — Milling Page 18 808D


Tool Setup s
SEQUENCE

Enter “0” at “X0”


Enter “0” at “Y0”
Press the axis keys on the MCP to (This is the value of the width of a
move the tool to the set position. setting block if it is used.Select one of
X0/Y0 according to requirement.)

Press the “Handwheel” key on the


MCP and position the tool at the
location X0 or a of the workpiece. Press the ”Set diameter” SK on the PPU

Press the “Back” SK on the PPU


a

or

Move directly to zero point


Use a setting block.

808D Page 19 Operating and Programming — Milling


Tool Setup s
SEQUENCE

Please make sure all the machine axes


A tool must be loaded to the spindle. Execute M
Jog spindle
function
are in safe positions before executing
the M function!

Press the “Machine” key on the PPU. Press the “Machine” key on the PPU.

Press the “JOG” key on the MCP. Press the “T.S.M” SK on the PPU.

Press the spindle direction key on the Use the direction key to move the
MCP to start/stop the spindle. highlighted cursor to “Other M func-
tion” and enter “8”. This will start the
Press “Spindle left” on the MCP to start the coolant.
spindle in the counter-clockwise direction.

Press “Spindle stop” on the MCP to stop


the spindle.

Press “Spindle right” on the MCP to start


the spindle in the clockwise direction.

Press “CYCLE START” on the MCP.

The coolant function button on MCP is


active.

Press the “Reset” key on the MCP to


stop the coolant function.

Press the “Back” SK on the PPU.

Operating and Programming — Milling Page 20 808D


s
Notes

808D Page 21 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 22 808D


Workpiece
Setup s
Content SEQUENCE

Unit Description Manual A tool must have been loaded into


start the spindle.
This unit describes how to set the workpiece offset and test the tool re- spindle
sults.
Before measuring, the spindle can be started as follows:

Press the “Machine” key on the PPU.


Unit Content
Press the “JOG” key on the MCP.

Press the “T.S.M” SK on the PPU.


Manual
start Enter “500” in “Spindle speed” on the PPU.
spindle
Select “M3” as the “Spindle direc-
Create tion” using the “Select” key on the
workpiece PPU.
offset

Test tool
offset
results

End

Press “CYCLE START” on the MCP.

808D Page 23 Operating and Programming — Milling


Workpiece
Setup s
SEQUENCE

Create A tool must have be created and


workpiece measured before it can be used to set
offset the workpiece offset.

Make sure the active tool is the measured tool!

Press the “Machine” key on the PPU.

Press the “JOG” key on the MCP.


Press the “Reset” key on the MCP
to stop the spindle rotation. Press the “Meas. work.” SK on the PPU.
As the following red frame shows, 808D provides the user with three
Press the “Back” SK on the PPU. methods of using tools to simplify the operating process.

Operating and Programming — Milling Page 24 808D


Workpiece
Setup s
SEQUENCE

Method1 This method is normally for setting the zero point of the work- Press the “Handwheel”
piece at the edge of the workpiece. key on the MCP to
position the tool at the
X0 edge of the work-
Using a tool that has a measured “Tool length & radius”, move the tool to piece.
a known position on the workpiece. Using either JOG or Handwheel,
scratch an edge and then calculate the zero point of the workpiece.
The process of setting the “X” zero point (“X0”) is described below.

Press the corresponding SK of the first Select “Save in” Offset “G54” (or other
icon on the right-hand side of the PPU. offset).

Select “Measuring direction” as “-”.


Press the appropriate SK to select the
(This value should be chosen according to
feed axis which needs to be set up.
realities)
Set “Distance” as “0”.
Press the axis traverse keys to
move the tool to the required set-
ting position in the X axis. Press the “Set WO” SK on the PPU.

“Step 2” must be repeated for the setting of Y and Z zero points.


If you change the tool because of wear/damage during the machining
process, you must remeasure the length of the tool.

808D Page 25 Operating and Programming — Milling


Workpiece
Setup s
SEQUENCE

Method 2 This method is normally used for setting the workpiece zero Method 3 This method is normally used for setting the zero points at the
point at the center point of a rectangular workpiece. center point of a circular workpiece.
Using tools with a measured “length and radius”, move them to the four Using tools with a measured “length and radius”, move them to the three
edges of the rectangular workpiece. Using either JOG or Handwheel, edges of the circular workpiece. Using either JOG or Handwheel, scratch
scratch an edge and then calculate the zero point of the workpiece. an edge and then calculate the zero point of the workpiece.

Press the corresponding SK of the second icon on the Press the corresponding SK of the third icon on the
right-hand side of the PPU. right-hand side of the PPU.

Observing the figure on the PPU, move the coordinate axis following the Observing the figure on the PPU, move the coordinate axis following the
orange arrow to move the tool to the specified position and scratch the orange arrow to move the tool to the specified position and scratch the
edge of the workpiece. edge of the workpiece.

Press the ”Save P1” SK on the PPU to save the coor- Press the ”Save P1” SK on the PPU to save the
dinate axis of the 1st position in the system. coordinate axis of the 1st position in the system.

Repeat the process for positions 2, 3 and 4. Repeat the process for positions 2 and 3.
(When the setting is complete, the buttons will be (When the setting is complete, the buttons will be
shown in blue.) shown in blue.)

Press the “Set WO” SK on the PPU. Press the “Set WO” SK on the PPU.

You have then finished You have then finished


setting the zero point of setting the zero point of
the workpiece as the the workpiece as the
center point of the center point of the circular
rectangular workpiece. workpiece.

Operating and Programming — Milling Page 26 808D


Workpiece
Setup s
SEQUENCE

Test tool The tool setup and workpiece setup


offset must have been performed correctly so
results that it can be tested as follows!

In order to ensure the machine safety and correctness, the results of the
tool offset should be tested appropriately.

Press the “Machine” key on the PPU.

Press the “MDA” key on the MCP.

Press the “Delete file” SK on the PPU.


Enter the test program recommend- G54 (select offset panel
ed on the right. (can also be cus- as required)
tomized) T1 D1
G00 X0 Y0 Z5
Press the “ROV” key to ensure that the
“ROV” function is activated (the function is
activated when the light on the key is on ).

Note: The ROV function activates the feedrate override switch under
the G00 function.

Make sure the feedrate override on the MCP is at 0%!

Press “CYCLE START” on the MCP.

Increase the feedrate override gradually to avoid accidents caused by an


axis moving too fast. Observe whether the axis moves to the set position.

808D Page 27 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 28 808D


s
Create Part
Program
Part 1

Content Basic Theory

Unit Description A standard program structure is not needed but is


Program
structure recommended in order to provide clarity for the
This unit describes how to create a part program, edit the part program machine operator. Siemens recommends the
and get to know the most important CNC commands required to produce following structure:
a workpiece.
Header N5 G17 G90 G54 G71

T, F, S function N10 T1 D1 M6
Unit Content N15 S5000 M3 G94 F300
N20 G00 X100 Y100 Z5
Geometry data / motion
N25 G01 Z-5
N30 Z5
Return to change tool N35 G00 Z500 D0
Definition Milling
Program
of target circles and T, F, S function N40 T2 D1 M6
structure
position arcs
N45 S3000 M3 G94 F100
N50 G00 X50 Y50 Z5
Geometry data / motion
Moving to a N55 G01 Z-5
Create Rapid
program fixed N60 Z5
motion
position Return to change tool N65 G00 Z500 D0

T, F, S function N70 T3 D1 M6
Edit Tools and Controlling N75 S3000 M3 G94 F100
program motion the spindle
N80 G00 X50 Y50 Z5
Geometry data / motion
N85 G01 Z-5
N90 Z5
Imperial Setting a
and Metric Behaviors Return to change tool N95 G00 Z500 D0
delay in the
system at corners
program
N100 G00 G40 G53 X0 Y0 Z500 D0
End/stop motion
M30
End

808D Page 29 Operating and Programming — Milling


s
Create Part
Program
Part 1

SEQUENCE

The following sequence should be followed to create Step 4 1


Create
a part program: You can
program
choose
“New” or
Step 1 “New direc-
tory”.
Programs can be
created with the Choose
“program manager”. “New” to
You can select the create a
“program manager” program.
using the key located
on the PPU. 2
Choose
“New direc-
tory” to cre-
ate a file.
Step 2
Select NC as the storage location for the Step 5
program. Programs can only be created Now the
in the NC. program is
opened and
Step 3
can be edit-
ed.
Create a
new pro-
gram with
the “New”
SK on the
right of the The system will save it automatically after editing.
PPU.
End
Operating and Programming — Milling Page 30 808D
s
Create Part
Program
Part 1

Basic Theory

Edit Inches and


program mm

The program shown in the editor can be G71 Header N5 G17 G90 G54 G71
created and edited with the appropriate With G71 at the
keys. header, the ge- T,F,S function N10 T1 D1 M6
ometry data will N15 S5000 M3 G94 F300
be in the metric N20 G00 X100 Y100 Z5
unit system, the Geometry data / motion
N25 G01 Z-5
feedrate in the
N30 Z5
default metric Return to change tool N35 G00 Z500 D0
system.

G70 Header N5 G17 G90 G54 G70


With G70 at the
header, the ge- T,F,S function N10 T1 D1 M6
ometry data will N15 S5000 M3 G94 F300
be in the imperial N20 G00 X3.93 Y3.93 Z5
(inches) unit Geometry data / motion
N25 G01 Z-0.787
system, the
N30 Z0.196
feedrate in the Return to change tool N35 G00 Z19.68 D0
default metric
system.

808D Page 31 Operating and Programming — Milling


s
Create Part
Program
Part 1

Basic Theory

Definition of G90 N5 G17 G90 G54 G71


target Absolute positioning;
position with G90 at the header, N10 T1 D1 M6
the geometry data which N15 S5000 M3 G94 F300
G500 N5 G17 G90 G500 G71 follows will be interpret- N20 G00 X100 Y100 Z5
All absolute path X50 Y50 ed relative to the active N25 G01 Z-20
data will be relative G500 X N10 T1 D1 M6 zero point in the pro-
N15 S5000 M3 G94 F300 N30 Z5
to this position. The gram, usually with G54
N20 G00 X50 Y50 Z5 N35 G00 Z500 D0
position is written in G500 Y
or G500 or G500 + G54.
N25 G01 Z-20
the G500 (basic) N30 Z5
zero offset. N35 G00 Z500 D0

Or

G54 G55 G56 G57 N5 G17 G90 G54 G71 G91 N5 G17 G90 G54 G70
G58 G59 X50 Y50 Relative positioning;
With G500 = 0, the G54 X N10 T1 D1 M6 N10 T1 D1 M6
N15 S5000 M3 G94 F300 with G91 you can add
offset for the work- an incremental value N15 S5000 M3 G94 F300
piece can be stored N20 G00 X0 Y0 Z5
G54 Y N25 G01 Z-20 (G91-defined data is the N20 G00 X3.93 Y3.93 Z0.196
in the G54 workpiece N30 Z5 relative positioning N25 G01 G91 Z-0.787
offset. N35 G00 Z500 D0
using the present posi- N30 Z0.196
tion as the start point). N35 G00 G90 Z19.68 D0
Or Finally you should
G54 X0 change the program to
G500 + G54 N5 G17 G90 G500 G71
G54 Y0 absolute positioning with
With G500 unequal G90.
to 0 and be activat- G500 X N10 T1 D1 M6
N15 S5000 M3 G94 F300
ed, the value in N20 G00 G54 X20 Y20 Z5
G500 will be added G500 Y
N25 G01 Z-20
to the value in G54. N30 Z5
N35 G00 G53 Z500 D0

Operating and Programming — Milling Page 32 808D


s
Create Part
Program
Part 1

Basic Theory

N5 G17 G90 G54 G71


Rapid  Feedrate
motion  Spindle speed N10 T1 D1 M6
N15 S5000 M3 G94 F300
 Feed type N20 G00 X50 Y50 Z5
G00 N5 G17 G90 G54 G71  Spindle direction N25 G01 Z-5
When G00 is In the program, the feed rate is N30 Z5
activated in the N10 T1 D1 M6 N35 G00 Z500 D0
defined with “F”. Two types of
N15 S5000 M3 G94 F300
program, the axis feed rate are available:
N20 G00 X50 Y50 Z5
will traverse at the N25 G01 Z-5 1. Feed per minute →G94
maximum axis N30 Z5 2. Feed per revolution of the spin-
speed in a Straight line (parallel/
N35 G00 Z500 D0
unparallel to axis) dle →G95 N5 G17 G90 G54 G71
straight line.
G94
Defines the feed rate in terms of N10 T1 D1 M6
N15 S5000 M3 G95 F0.3
time (unit: mm/min).
N20 G00 X50 Y50 Z5
Tools and G95 N25 G01 Z-5
motion Defines the feed rate in terms of N30 Z5
spindle revolutions (unit: mm/rev). N35 G00 Z500 D0
S
The spindle speed is defined with
T1 D1 M06 N5 G17 G90 G54 G71 ”S”
Using the “T” com- S5000
mand, the new tool N10 T1 D1 M6
N15 S5000 M3 G94 F300 M3/M4
can be selected. N20 G00 X50 Y50 Z5 The spindle direction is defined
The ”D” command N25 G01 Z-20 with M3 and M4, clockwise and
is used to activates N30 Z5 counter-clockwise respectively.
the tool length off- N35 G00 Z500 D0 G01
set. When G01 is activated in the pro-
M06 can be also gram, the axis will traverse at the
used for machines programmed feed rate in a Straight line (parallel/
with automatic tool straight line, according to the feed unparallel to axis)
changer. rate type defined by G94 or G95.

808D Page 33 Operating and Programming — Milling


s
Create Part
Program
Part 1

Basic Theory

When traversing circular Contour feedrate with


Behavior at
contours with cutter radius CFC
corners
compensation, it should be
decided whether the feed
rate should be calculated
Activation/
along the contour of the
deactivation of the
workpiece or along the path
tool radius compen-
defined by the center point
sation when working
of the cutting tool.
on the part contour.
When using a contour with
G41 / G42 and G40
a feed rate defined by the
CFC code, the feed rate will
With G41/G42,
be constant at the contour,
the tool radius com-
but in some cases, it may
pensation will be
cause increases in the feed
done in the direction
rate of the tool.
of travel.
Direction for com-
This increase could dam- pensation, left of
G41:Compensation age the tool if excessive contour will be Feedrate calcu-
to left material is encountered at G41 lated when using
the contour; this function is tool center, inside
G41 → direction G42 → direction
normal for finish cutting of or outside of the
G42:Compensation along the tool mo- along the tool mo-
contours. contour
to right tion, tool is always tion, tool is always
on the left of the on the right of the The CFTCP command
G40:Compensation contour. contour. ensures a constant feed The result of the two commands will
of the radius can be rate, however a constant be such that the cutter goes very fast
deactivated Arrow indicates the feed rate may not be en- around a corner or slow on the con-
direction of tool motion sured at the contour, which tour.
along the contour. may cause deviations in
surface finish.

Operating and Programming — Milling Page 34 808D


s
Create Part
Program
Part 1

Basic Theory

Milling
circles and Determine tool radius of T1 D1 J
arcs
Y
N5 G17 G90 G500 G71 Tool motion direction
The circle radius shown
I
in the example on the X100, Y50
N10 T1 D1 M6 X0, Y50 X
right can be produced
N15 S5000 M3 G94 F300 SP
with the specified part N20 G00 X-20 Y-20 Z5
program code. N25 G01 Z-5
When milling circles N30 G41 X0 Y0 (J) -35
and arcs, you must N35 Y50
define the circle center N40 X100 X125, Y15
point and the distance N45 G02 X125 Y15 I-12 J-35 CP
N50 G01 Y0 (I) -12 EP
between the start
N55 X0
point / end point and N60 G40 X-20 Y-20
the center point on the N35 G00 Z500 D0
relative coordinate. X0, Y0 X110, Y0
When working in the
XY coordinate system, Note:
the interpolation param- N45 can also be written as follows SP = start point of circle
eters I and J are availa- N45 G02 X125 Y15 CR=37
ble. CP = center point of circle

EP = end point of circle


Two common types of defining circles and arcs:
①:G02/G03 X_Y_I_J_; I = defined relative increment from start point to center point in X
②:G02/G03 X_Y_CR=_;
Arcs ≤180º,CR is a positive number J = defined relative increment from start point to center point in Y
Arcs >180º,CR is negative number G2 = define circle direction in traversing direction = G2 clockwise

G3 = define circle direction in traversing direction = G3 counter-


clockwise
When milling circles, you can only use ① to define the
program!
808D Page 35 Operating and Programming — Milling
s
Create Part
Program
Part 1

Basic Theory

Moving to a
Controlling
fixed
the spindle
position

The following functions can be


Using the code G74, N5 G17 G90 G500 G71 used to influence the operation N5 G17 G90 G500 G71
the machine can of the spindle:
move to the N10 T1 D1 M6 N10 T1 D1 M6
N15 S5000 M3 G94 F300 N15 S5000 M3 G94 F300
reference point auto- N20 G00 X50 Y50 Z5 M3 accelerate to programmed N20 G00 X50 Y50 Z5
matically. N25 G01 Z-5 speed clockwise N25 G01 Z-5
N30 Z5 N30 M5
N35 G74 Z=0 ;reference point M4 accelerate to programmed N35 Z5 M4
speed counter-clockwise N40 M5
N45 M19
N50 G00 Z500 D0
M5 spindle decelerate to stop

M19 orient the spindle to a


specific angular position.
Using the code G75, N5 G17 G90 G500 G71
the machine can
move to the fixed N10 T1 D1 M6 Setting a
N15 S5000 M3 G94 F300 delay in the
position defined by N20 G00 X50 Y50 Z5 program
the machine supplier N25 G01 Z-5
automatically. N5 G17 G90 G500 G71
N30 Z5 G04 can be used to pause the
N35 G74 Z=0 ;reference point tools’ movements during oper- N10 T1 D1 M6
N40 G75 X=0 ;fixed point ation N15 S5000 M3 G94 F300
N20 G00 X50 Y50 Z5
N25 G01 Z-5
G04 F5: Program pause of N30 G04 F5
5s N35 Z5 M4
This makes the surface of the N40 M5
workpiece much smoother N45 M19
N35 G00 Z500 D0

Operating and Programming — Milling Page 36 808D


s
Notes

808D Page 37 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 38 808D


s
Create Part
Program
Part 2

Content Basic Theory

Unit Description
Radius and
This unit describes how to create a part program, edit the part program chamfers
and get to know the most important CNC commands required to produce
a workpiece. The two radii and
the chamfer shown
Part 2 in the diagram can
be produced with
Unit Content the code marked in
the program below.

RND = Radii N55 SUPA G00 Z300 D0


CHR = Chamfer N60 SUPA G00 X300 Y300
Radius and Hole N65 T3 D1
(specified side length of isosceles N70 MSG("Please change to Tool No 3")
chamfers positioning
triangle with chamfer as base N75 M05 M09 M00
line)
N80 S5000 M3 G94 F300
Contour
CHF=Chamfer
Hole N85 G00 X-6 Y92
milling with (specified base line length of N90 G00 Z2
centering
cycle isosceles triangle with chamfer as N95 G01 F300 Z-10
N100 G41 Y 90
base line)
N102 G01 X 5
N105 G01 X12 RND=5
Drilling Milling slots N110 G01 Y97 CHR=2
holes and spigots N115 G01 X70 RND=4
N120 G01 Y90
N125 G01 G40 X80
End N130 G00 Z50
Tapping

808D Page 39 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the values and


Hole
centering cycle call will be transferred to
the part program as shown be-
The easiest way to low.
center drill a hole This will drill a hole at the current
prior to drilling is to position.
use either CY- With the Modal call SK, holes will
CLE81 or CY- be centered at subsequent
CLE82 programmed positions until
CYCLE81: With- cancelled with the MCALL
out delay at cur- command in the part program.
rent hole depth The information is transferred as
CYCLE82: With shown below.
delay at current Parameters Meanings
hole depth RTP=50 Coordinate value of
turning position is 50
(absolute)

RFP=-3 Coordinate value of hole


The relevant cycle edge starting position
can now be found under workpiece zero
using the vertical point surface is 3
softkey on the (absolute)
right. SDID=2 Safety distance, feed
path changes from quick
→ (frequently
used values feed to machine feed 2
mm away from RFP face
Select “Deep hole 2~5)
drilling” using the N325 MCALL CYCLE82( 50.000, -3.000,
vertical SKs , and 2.000, -5.000, 0.000, 0.200) DP=-5 Coordinate position of
final drilling depth is -5
then select “Deep N330 X20 Y20 ; Hole will be centered
N335 X40 Y40 ; Hole will be centered (absolute)
hole drilling” ,and
N340 MCALL
parameterize the DTB=0.2 Delay of 0.2 s at final
N345 X60 Y60 ; Hole will not be drilling depth
cycle according to centered
requirements.
Operating and Programming — Milling Page 40 808D
s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the values and


Drilling
holes
cycle call will be transferred to the
part program as shown below.
This will drill a hole at the current
The easiest method to drill position.
holes is with CYCLE81/82: With the “Modal call” SK, holes will
Without/with delay at current be drilled at subsequently pro-
hole depth grammed positions until cancelled
CYCLE83:Each drilling with the MCALL command in the
operation needs a withdraw- part program.
al distance during deep hole The information is transferred as
drilling. shown below.
The cycle can be found and
parameterized with the
“Drill.” SK.

For specific parameter


The relevant cycle commands, see the
can now be found next page
using the vertical
SKs on the right.

Select
“Deep hole drilling” N325 MCALL CYCLE83( 50.00000, -3.00000, 1.00000, ,9.24000, ,5.00000,
using the vertical 90.00000, 0.70000, 0.50000, 1.00000, 0, 0, 5.00000, 1.40000, 0.60000, 1.60000)
N330 X20 Y20 ; Hole will be drilled
SKs and parame- N335 X40 Y40 ; Hole will be drilled
terize the cycle N340 MCALL
according to re- N345 X60 Y60 ; Hole will not be drilled
quirements.

808D Page 41 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

DAM parameter
For descriptions of RTP, RFP, SDIS and DP, please see page 40
①DAM≠0, the first drilling operation(FDPR)cannot exceed the drilling depth. As of
FDEP=5 Reach first drilling hole depth. Z axis the second drilling operation, the drilling is acquired from the last depth operation
coordinate is -5 (drilling depth=last drilling depth-DAM). The calculated drilling must be >DAM. If the
(absolute coordinate value) calculated drilling is ≤DAM, as of the next feed, the DAM value will be the feed depth
FDPR=5 From the reference plane, drill down- until the end of the feed. If the last remaining depth is <DAM, then drilling is per-
wards 5mm formed automatically until the required depth is reached.
DAM=90 Decrement is 90 ②DAM=0,drilling depth each time is same as the 1st drilling depth (FDPR),
In case the residual depth <2xFDPR,the last 2 cutting depth are half of the residual
DTB=0.7 Pause 0.7 s during final tapping of DTB <0: Unit is r depth.
thread depth (discontinuous cutting)

DTS=0.5 Stops at the start position for 0.5 s DTS <0: Unit is r Example:40 mm deep hole as an example, with DAM=2 mm and DAM=0 mm feed
(for VARI=1,removal active)
Feed Every feed depth/ Actual depth/ Feed Every feed depth/ Actual depth/
times mm mm times mm mm
FRF=1 Original effective feed rate remains Feed rate modulus DAM=2 DAM=0
(range:0.001~1) unchanged
1. FDPR=10 -10 1. FDPR=10 -10
VARI=0 Interruption in drilling is active VARI=1 retraction of active quill back 2. FDPR-DAM=10-2=8 -18 2. FDPR=10 -20
to reference plane
3. (FDPR-DAM)-DAM -24 3. FDPR=10 -30
AXN=3 AXN is tool axis,under appointed The value of AXN decides which axis
=8-2=6
G17 use Z axis to use
4. (FDPR-2DAM)- -28 Remaining depth =10 < 2xFDPR,the
MDEP=5 Minimal drilling depth 5 mm This parameter activates only when DAM =6-2=4 remaining depth distribute by the last two
DAM <0 drilling
VRT=1.4 Interruption in drilling, the retraction VRT=0 → retraction value is 1mm 5. (FDPR-3DAM)- -30 4. 5 -35
value of the quill is 1.4 mm DAM =4-2=2
VRT>0 → retraction value is appoint-
ed value 6. DAM=2 -32 5. 5 -40
DTD=0.6 Pauses at the position of final drilling DTD <0:unit is r, DTD =0:same as 7. DAM=2 -34 6.
depth for 0.6 s DTB
8. DAM=2 -36 7.
DIS1=1.6 When reinserting a quill, you can For specific explanations please refer
program a distance limit of 1.6 mm to the standard handbook
9. DAM=2 -38 8.

10. DAM=2 -40 9.

Operating and Programming — Milling Page 42 808D


s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the values and


Tapping cycle call will be transferred to the
part program as shown below.
This will drill a hole at the current
The easiest way to position.
tap a hole is to use If there is no other operation, the ma-
CYCLE84: Solid chine will drill holes in the current
tap holder position.
CYCLE840: With With the “Modal call” SK, holes will be
floating tap holder. tapped at subsequently programmed
The cycles can be positions until cancelled with the
found and param- MCALL command in the part pro-
eterized using the gram.
“Drill.” SK. Examples are shown on the next
page .

The relevant cycle


can now be found
using the vertical
SKs on the right.


Select “Thread”
using the vertical
SKs ,and then se-
lect “Rigid tapping”,
and parameterize
the cycle according
to requirement.
808D Page 43 Operating and Programming — Milling
s
Create Part
Program
Part 2

Basic Theory

For descriptions of RTP, RFP, SDIS, DP and DTB, please see page 40

For descriptions of AXH, VARI, DAM and VRT, please see page 42

Parameters Meanings Remarks

DTB=0.7 Pause 0.7 s during final tapping to


thread depth (discontinuous cutting)

SDAC=5 Spindle state after cycle is M5 Enter values


3/4→M3/M4

PIT=2(Range of val- Right hand thread with 2mm pitch Evaluate value→left
N325 MCALL CYCLE84( 50.00000, -3.00000, 2.00000, ,6.00000, 0.70000, 5, ues:0.001~2000 mm)
hand thread
,2.00000, 5.00000, 5.00000, 5.00000, 3, 0, 0, 0, 5.00000, 1.40000)
N330 X20 Y20 ; Hole will be tapped
POSS=5 Spindle stops at 5º (unit: º)
N335 X40 Y40 ; Hole will be tapped
N340 MCALL
N345 X60 Y60 ; Hole will not be tapped SST=5 Tapping thread spindle speed is
5 r/min

SST1=5 Retraction spindle speed is Direction is opposite


5 r/ min to SST SST1=0
→speed is same as
SST

SST and SST1 control the spindle speed and the Z axis feed position synchronously.
During execution of CYCLE 84, the switches of the feed rate override and the cycle stop
(feed hold) are deactivated.

Operating and Programming — Milling Page 44 808D


s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the val-


Hole ues and cycle call will be
positioning
transferred to the part pro-
gram as shown below.
The easiest way to This will drill holes at the
drill a series of positions defined from
holes is to use the within the cycle.
pre-defined “Hole
pattern” cycles.
The cycles can be
found and parame-
terized via the
“Drill.” SK. N325 MCALL CYCLE82( 50.00000, -3.00000, 2.00000, -5.00000, 0.00000,
0.20000)
N330 HOLES2( 36.00000, 24.10000, 10.00000, 90.00000, 60.00000, 6)
N335 X36 Y24.1
N340 MCALL ; Modal Call OFF

Parameters Meanings
The relevant cycle
CPA=36 Center of hole circle horizontal coordinate is 36 (absolute value)
can now be found
using the vertical
SKs on the right. CPO=24.1 Center of hole circle horizontal coordinate is 24.1 (absolute value)

RAD=10 Circle radius is 10 mm



Select STA1=90 Angle between the circle and horizontal coordinate is 90º
“Hole pattern” using INDA=60 Angle between the circles is 60º
the vertical
SKs ,and then se- NUM=6 Drill 6 holes on circle
lect “Hole circle”,
and parameterize The cycle is used together with the drilling fixed cycle to decrease the hole clearance
the cycle according
to requirement.
808D Page 45 Operating and Programming — Milling
s
Create Part
Program
Part 2

Basic Theory

Contour The contour can be edited and stored in the main program file
milling with after the M30 command when using the “Attach contour” SK.
cycle
Enter the cycle data setting
The easiest way to according to the former opera-
rough and finish tions in the screen and enter
around a contour the name of the contour sub-
is to use the con- program.
tour milling func-
tion.
The cycle can be Press the “Attach contour” SK
found and param- on the PPU. This will create a
eterized via the “contour information segment”
“Mill.” SK. at the end of the program,
and the cursor will move to
the writing position
automatically.

The “Contour mill- Make sure that the cursor has


ing” SK can be moved to the contour writing
found in the verti- position(as shown in the fig-
cal SKs on the ure).
right.

Press the “Cont.” SK on the


PPU to open the screen for
The parameteriza- setting the contour
tion is performed data.
as in this figure.

Operating and Programming — Milling Page 46 808D


s
Create Part
Program
Part 2

Basic Theory

When you have opened the screen for setting the contour data, you can The selected di-
make the following settings: rection is shown at
the top left side of
Enter appropriate PPU.
start point coordi-
nates as in the The meanings of
machining figure the highlighted
and select the positions is shown
correct approach. at the bottom of
the PPU screen.

Press the “Accept Press the “Accept


element” SK on element” SK on
the PPU. the PPU.

Use the arrows on Select different


the PPU to select items (SKs) to set
the direction and the contour until
the shape of the finishing editing the
contour milling. whole shape of the
contour.

Enter the corre-


Press ”accept” SK
sponding coordi-
on PPU to input the
nate parameters.
contour information
in the main program

808D Page 47 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

After completing the steps, the system will re- For descriptions of RTP, RFP, SDIS and DP, please see page 40
turn to the edit interface. Press “Technical Parameters Meanings Remarks
interface” on the PPU to return to the interface
for setting the cycle data. KNAME= Set the name of the contour subprogram The first two positions of the
CONT1:CONT1_E as “CONT1” program name must be letters
(“:CONT1_E” is automatically created)
After finishing the parameter settings of CYCLE72,
press the ”OK” SK on the PPU to insert the corre- MID=5 The maximal feed depth is 5 mm
sponding cycles in the main program. FAL=0 Finishing allowance at the contour side is 0
mm

With the “New” SK and “Contour milling”, the operation can be FALD=0 Finishing allowance at the bottom plane is 0
edited and saved in a subprogram. mm
The editing in the subprogram is the same as above. FFP1=300 Tool feed rate on plane is 300 mm/min

FFD=100 Feed rate after inserting the tool in the


material is 100 mm/min
With the “OK” SK, the values and the cycle call are transferred to the part
program as shown below. VARI=111 Use G1 to perform rough machining, and For other parameters, please
back to the depth defined by the RTP+SDIS refer to the standard manual
at the completion of the contour

RL=41(absolute PL=41→use G41 to make tool compensa- PL=40→G40, PL=42→G42


value) tion on the left side of the contour

AS1=12 Approach the contour along the 1/4 circle For other parameters, please
on the path in space refer to the standard manual

LP1=3 The radius of the approaching circle is 20 The length of the approaching
mm path is along the line to ap-
proach

FF3=300 The feed rate during retraction of the path is


300 mm/min

AS2=12 Return along the 1/4 circle on the path in Parameter explanations are the
N245 CYCLE72( "CONT1:CONT1_E", 50.00000, 0.00000, 2.00000, -5.00000, space same as for AS1
5.00000, 0.00000, 0.00000, 300.00000, 100.00000, 111, 41, 12, 3.00000,
LP2=3 The radius of the return circle is 20 mm The length of the returning path
300.00000, 12, 3.00000) is along the line to approach

Operating and Programming — Milling Page 48 808D


s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the values and cycle call will be trans-
Milling slots ferred to the part program as shown below.
and spigots
This will perform milling at the position defined in the
cycle.
The easiest way to
mill a slot is to use
the SLOT2 cycle.
The cycle can be
found and parame-
terized via the “Mill.”
SK.

The relevant cycle


can be found using
the vertical SKs on
the right.

Select “slot”
using the vertical
SKs and parameter-
ize the cycle accord-
ing to requirement.

808D Page 49 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

Parame- Meanings Remarks


ters

NUM=3 Three slots on the circle

AFSL=30 Angle slot length is 30º AFSL and WID jointly


decide the shape of the slot in
WID=6 Slot width is 6 mm the plane

STA1=165 Start angle,angle between the effective work piece


horizontal coordinate in positive direction and the
first circle slot is 165º

INDA=90 Incremental angle, angle between the slots is 90º INDA=0, cycle will calculate
the incremental angle automati-
cally

MID=3 Maximal depth of one feed is 3 mm MID=0 → complete the cutting


of the slot depth

CDIR=3 Milling direction G3 (in negative direction) Evaluate value 2→use G2 (in
positive direction)

FAL=0.2 Slot side, finishing allowance is 0.2 mm

N210 SLOT2( 50.00000, 0.00000, 2.00000, , 3.00000, 3, 30.00000, 6.00000, VARI=0 The type of machining is complete machining VARI=1→roughing
38.00000, 70.00000, 20.00000, 165.00000, 90.00000, 300.00000, 300.00000, VARI=2→finishing
3.00000, 3, 0.20000, 2000, 5.00000, 250.00000, 3000.00000, )
MIDF=5 Maximal feed depth of the finishing is 5 mm

FFP2=250 Feed rate of finishing is 250 mm/min

SSF=3000 Spindle speed for finishing is 3000 mm/min


For descriptions of RTP, RFP, SDIS, DP and DPR, please see page 40
For descriptions of CPA, CPO and RAD, please see page 45
If FFP2/SSF are not specified, then use the feed rate/spindle speed of rotation as default
For descriptions of FFD and FFP1, please see page 48
FFCP= Feed rate at the center position on the circle
path ,unit is mm/min

Before recalling the cycle, you must set the tool radius compensation value.

Operating and Programming — Milling Page 50 808D


s
Notes

808D Page 51 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 52 808D


Simulate
Program s
Content SEQUENCE

Module Description Simulate A part program must have been created


program before it can be tested using
This unit describes how to simulate a part program before executing it in (Axis do not “Simulation”.
AUTO mode. move)

Step 1

Module Content The part program must be opened using the “Program Manager” on PPU.

Simulate pro-
gram(Axis do
not move)

End

808D Page 53 Operating and Programming — Milling


Simulate
Program s
SEQUENCE

Step 2 Step 3

Press the “Simu.” SK on the PPU. Press the “CYCLE START” key
on the MCP.
If the control is not
in the correct mode,
a message will be
displayed at the
bottom of the
screen.
If this message is displayed at the
bottom of the screen, press the
“AUTO” mode key on the MCP.

Press the “Edit” SK on the PPU to


return to the program.

End

Operating and Programming — Milling Page 54 808D


s
Notes

808D Page 55 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 56 808D


Test
Program s
Content SEQUENCE

Unit Description Before the part program can be loaded


Program and executed in AUTO mode, it must be
Execution tested using the simulation function
This unit describes how to load the program in “AUTO“ mode and test the
part program at fixed speed. mentioned previously!

Unit Content

Press the “Execute” SK on the PPU.

Program
Execution

Dry Run The control is now in AUTO


mode with the current opened
program storage path being
End displayed and the AUTO lamp
on the MCP is on.

Now the program is ready to start and the actual operation


will be described in the next section!

808D Page 57 Operating and Programming — Milling


Test
Program s
SEQUENCE

Before executing the “Dry Run”, please Press the “Machine” key on the PPU.
Dry Run change the offset value appropriately for
the real workpiece size in order to avoid Press the “Prog. cont.” SK on the PPU.
cutting the real workpiece during the dry
run and avoid unnecessary danger! Press the “Dry run feedrate” SK on the
PPU.

Note: The following operation is based on the finished “program execution”

Step 1 The data in the “Dry run feedrate” must first be set
and checked!

Press the “Offset” key on the PPU. Note: The “DRY” symbol is shown and the “Dry run feedrate” SK is
highlighted in blue.

Press the “Back” SK on the PPU.

Press the “Sett. data” SK on the PPU. Step 2


Make sure the feedrate override on the MCP is 0%.
Use the traversing key to move to the required position. The
position is now highlighted. Press “Door” on the MCP to close the
door of the machine. (If you don’t use
Enter the required feedrate in mm/min, enter “2000 ” in the example. this function, just close the door in the
machine manually.)

Press “CYCLE START” on the MCP to


execute the program.

Turn the feedrate override gradually to


the required value.

After finishing the dry run, please turn the changed offset
Press the “Input” key of the PPU. back to the original value in order to avoid affecting the
actual machining!
Operating and Programming — Milling Page 58 808D
s
Notes

808D Page 59 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 60 808D


Machine
Pieces s
Content Basic Theory

Unit Description
Time Coun- Make sure the machine has been refer-
This unit describes how to use the Time counter function and how to ter enced before machining workpieces!
machine pieces and the compensation setting for the tool wear.

Step 1

Unit Content
Press the “Machine” key on the PPU.

Time Coun-
Press the “Auto” key on the MCP.
ter

Press the “Time counter” SK on the PPU.


PieceMa-
chining

Tool
Wear

End

808D Page 61 Operating and Programming — Milling


Machine
Pieces s
SEQUENCE

“Cycle time” shows how long the pro- Machine Make sure the program is correct before
gram has been running. Pieces machining pieces!

“Time left” shows how much time re- Set the program in
mains before the program ends. the ready-to-start
status as shown on
the left in accord-
ance with the
The “Time left” can only be counted after a suc- “Program execu-
Step 2
cessful cycle run of a part program! tion” sequences.

Perform the
Select “Yes” or “No” to decide whether relevant safety
to activate the counter (press the
“Select” key to activate the choice). precautions!

Make sure that only “AUTO” mode and


“ROV” mode are activated
Enter the number of workpieces you
require to be machined in “Required”. (or select the M01 function if required).

Notes:M01 function → program will stop at the


“Actual” shows the number of workpiec- position where there is M01 code.
es that have been machined.

Make sure that the feedrate override on the MCP is 0%!

Press “Door” on the MCP to close the door of the


machine. (If you don’t use this function, just close
the door on the machine manually.)
Press “CYCLE START” on the MCP to execute the program.

Turn the feedrate override gradually to the required value.


Operating and Programming — Milling Page 62 808D
Machine
Pieces s
SEQUENCE

Step 2
Tool The tool wear compensation must
Wear Set the tool length wear parameter of axis X in ”Length X”, the sign deter-
distinguish the direction of compensa-
mines the direction of wear compensation.
tion clearly! Set the tool length wear parameter of axis Z in ”Length Z”, the sign deter-
Step 1 mines the direction of wear compensation.
Positive value: The tool moves away from the workpiece
Press the “Offset” key on the PPU. Negative value: The tool moves closer to the workpiece
Press “Input” on the PPU to activate the compensation.
Press the “Tool wear” SK on the PPU.
Set the tool radius wear parameter in “Radius”, the sign determines the
Use the direction keys to select the re- direction of wear compensation.
quired tools and their edges. or Positive value: tool is away from workpiece (set radius bigger than real
one)
Negative value: tool is close to workpiece (set radius smaller than real
one)

Press “Input” on the PPU to activate the com-


pensation.

808D Page 63 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 64 808D


Program
Restart s
Content SEQUENCE

Unit Description
Block
Search
This unit describes how to restart the part program after a tool has been
changed due to damage, or remachining has to be performed.
Press the “Machine” key on the PPU.

Press the “Auto” key on the MCP.


Unit Content
Press the “Block search” SK on the PPU.
Press the “Interr. point” SK on the PPU
and the cursor will move to the last
interrupted program line.
Note: The cursor can be moved to the required program
Block
block with the traversing keys.
Search

End Note: The “To con-


tour” and “To end
point” functions.

“To contour”: The


program will continue
from the line before
the breakpoint.

“To end point”: The


program will continue
from the line with the
breakpoint.

Press the “To end point” SK on the PPU.


(can also press “To contour” if required)

808D Page 65 Operating and Programming — Milling


Program
Restart s
SEQUENCE

Press the “Back” SK on the PPU. Press the “CYCLE START” key on the MCP to execute
the program.

Turn the feedrate override on the MCP gradually to the required value.

The feedrate override must always be set to 0%!


Make sure the correct tool is selected before continuing!

Press the “CYCLE START” key on the


MCP to execute the program.

Alarm 010208 is shown at the top prompting to press the “CYCLE


START” key to continue the program.

Operating and Programming — Milling Page 66 808D


s
Notes

808D Page 67 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 68 808D


s
Additional
Information
Part 1

Content SEQUENCE

Unit Description RS232


+
RS232 is used to transfer the programs to
This unit describes how to perform simple tasks on the machine and USB and from the NC.
provides some additional information which may be required to operate
the machine correctly. Step 1 It is recommended to use the “SINUCOM PCIN” communication
SW provided by Siemens to transfer the standard program.

Adjust the parameter settings on the PPU to match the settings of the
Unit Content communication SW on the PC.

Press “Program Manager” on the PPU.

Press the “RS232” SK on the PPU.


RS232
+ Time
change Press the “Settings” SK on the PPU.
USB

Adjust the parameters in “Communication settings” to match the settings of


communication SW on PC.
Help Save data

Manual
Gear
face
change
milling

End
R
parameters
Press the “Save” SK on the PPU.

Press the “Back” SK on the PPU.

808D Page 69 Operating and Programming — Milling


s
Additional
Information
Part 1

SEQUENCE

Step 2
Transfer a part program to a PC from the PPU. You can continue sending the part program.

Press the “NC” SK on the PPU. Press the “OK” SK on the PPU.
Use “Cursor + Select” to select the required part program.
The selected program will be highlighted. + Or you can abort the sending of the part program

Press the “Copy” SK on the PPU. Press the “Cancel” SK on the PPU.

Press the “RS232” SK on the PPU.


Step 3 Transfer a part program to the PPU from a PC.
Check the interface setting and start the communication software to
receive the program on PC. Press “Program Manager” on the PPU.
(Press ”Receive Data” on SINUCOM PCIN to start the receive function.)
Press the “RS232” SK on the PPU.
Press the “Send” SK on the PPU.

The PPU will display a window showing the progress of the transfer. Press the “Accept” SK on the PPU.

Check the interface setting and start the communication software to


If there is a problem during transfer of the part program, a window will be send the program from PC.
displayed.
(Press ”Send Data” on SINUCOM PCIN to send data.)

The PPU will display a window showing the progress of the transfer.

Operating and Programming — Milling Page 70 808D


s
Additional
Information
Part 1

SEQUENCE

“USB” is used to transfer the programs to and from the NC. Help

Step 4 Use the “Copy” and “Paste” SKs to transfer the part program
from NC to USB. The PPU has an online help which shows the contents of standard docu-
ments.
Connect a USB device with sufficient memory to the USB interface on the
PPU.
Press the “NC” SK on the PPU. Press the “Help” key on the PPU.

Use “Cursor + Select” to select the required part program.


The selected program will be highlighted. +

Press the “Copy” SK on the PPU.

Press the “USB” SK on the PPU. Press the “Cur. Topic” SK on the PPU.

Press the “Paste” SK on the The help information related to the current topic will be shown on screen.

Step 5 Use the “Copy” and “Paste” SKs to transfer the part program
from USB to NC. Press the “OEM Manual” SK on the PPU.
Connect the USB device with the stored target programs to the USB The online help manual of the OEM will be shown on the screen.
interface on the PPU.
Press the “USB” SK on the PPU.
Use “Cursor + Select” to select the required part program. Press the “TOC” SK on the PPU.
The selected program will be highlighted. +
The online help from the Siemens manual will be
Press the “Copy” SK on the PPU. shown.

Press the “NC” SK on the PPU.

Press the “Paste” SK on the


808D Page 71 Operating and Programming — Milling
s
Additional
Information
Part 1

SEQUENCE

Step 2
Manual
face Press “Face cutt.” SK on PPU.
cutting
Enter appropri-
“Face cutting” is used to cut the oversized materials on the rough face ate data in the
before starting to machine. ”Face Milling”
window ac-
Step 1 cording to the
machining
Press the “Machine” key on the PPU. requirement.
Use the but-
Press the “JOG” key on the MCP. ton on the
right side of
the PPU to
Press the “Sett.” SK on the PPU. select the
cutting path of
Enter appropriate values in “Retraction plane” and “Safety distance”. the tool during
machining.
Press the “Input” key on the PPU Press the “OK” SK on the PPU
to activate the settings.
The system
now automati-
cally creates
the programs.

Make sure that the override value on the MCP is 0%!

Press the “Cycle Start” key on the MCP.

Adjust the override on the MCP gradually to the required values.

Operating and Programming — Milling Page 72 808D


s
Additional
Information
Part 1

SEQUENCE

R
parameters
Press the “Offset” key on the PPU.

The arithmetic parameters are used in a part program for value assign- Press the “R var.” SK on the PPU.
ment, and also for some necessary value calculations. The required val-
ues can be set or calculated by the control system during program execu- N10 G17 G90 G54
tion. Some of the common arithmetic functions are shown below: N20 T1 D1
N30 S2500 M03 M08
Arithmetic parameters Meaning N40 G00 X-10.0 Y0 Z10
+ Addition N50 R1=0 R2=0 R3=0
- Subtraction N60 STOPRE
* Multiplication N70 M00
/ Division N80 R1=1
= Equals N90 STOPRE
Sin() Sine N100 M00
COS() Cosine N110 R2=2
TAN() Tangent N120 STOPRE
ASIN() Arcsine N130 M00
ACOS() Arccosine N140 R3=R1+R2
ATAN2( , ) Arctangent2 N150 STOPRE
SQRT() Square root N160 G00 X=R3
ABS() Absolute value N170 M30

Note:
Reprocessing stop
Programming the STOPRE command in a block will stop block prepro-
cessing and buffering. The following block is not executed until all prepro-
cessed and saved blocks have been executed in full. The preceding
block is stopped in exact stop (as with G9).

808D Page 73 Operating and Programming — Milling


s
Additional
Information
Part 1

SEQUENCE

You can change the time on the control if required Press the “OK” SK on the PPU.
Time when the clocks changes from summer time to winter
change
time.

Press “Shift” and “Alarm” on the PPU simul-


taneously. +

Make sure the password is set to the “CUSTOMER” access level.

Press the “Date time” SK on the PPU.


Press the “Cancel” SK on the PPU to
abort the operation.

“Save data” enables the complete system to be


Save data backed up on the system CF card so that there is a
system backup available to the operator.
Press “Shift” and “Alarm” on the PPU
simultaneously. +

Make sure the password is set to the “CUSTOMER” access level.


Enter a new “Date” and “Time”.
Press the “Save data” SK on the PPU.

Operating and Programming — Milling Page 74 808D


s
Additional
Information
Part 1

SEQUENCE

Press the “OK” SK on the PPU. Gear stages M40, M41, M42, M43, M44 and M45 are available.

M40 Automatic gear selection


M41 Gear stage 1
M42 Gear stage 2
M43 Gear stage 3
M44 Gear stage 4
M45 Gear stage 5

Example:

The machine tool manufacturer specifies a speed range for each gear
stage:

S0...500 Gear stage 1 → M41


While the control is saving data to the system, do not S400..1200 Gear stage 2 → M42
operate or switch off the control! S1000..2000 Gear stage 3 → M43

If the operator is manually selecting the gear stage in the part program, it
Gear is the operator’s responsibility to select the correct gear stage according
change to the required speed.

When a machine has a manual gearbox on the spindle, it is the responsi-


bility of the operator to change gear at the correct place in the part pro-
gram.

If the machine tool manufacturer has fitted an automatic gearbox, the


following M-codes can be used to change gear in the part program:

808D Page 75 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 76 808D


s
Additional
Information
Part 2

Content SEQUENCE

Unit Description In MDA mode, you can enter and execute single
This unit describes how to perform simple tasks on the machine and MDA and multiple lines of NC codes.
provides some additional information which may be required to operate
the machine correctly.
Part 2 Use MDA to move the axis to a fixed position.

Press the “Machine” key on the PPU.

Unit Content Press the “MDA” key on the

Press the “Delete file” SK on the PPU.

Enter correct NC code to move the axis to the required position.


Additive
MDA workpiece Program
offsets jump Make sure the feedrate override on the MCP is at 0%!

Press “CYCLE START” on the MCP to execute the


M/H
Coordinate
Program MDA program.
rotation
function skip
ROT AROT Turn the feedrate override on the MCP gradually to the required value.

Subpro-
Scaling Calculator
gram

End
Polar Program
coordinates example

808D Page 77 Operating and Programming — Milling


s
Additional
Information
Part 2

SEQUENCE

M/H Subpro-
function gram

The M function initiates switching operations, such as "Coolant ON/


OFF". Various M functions have already been assigned a fixed function- Frequently used machining sequences, e.g. certain contour shapes, are
ality by the CNC manufacturer. The M functions not yet assigned are stored in subprograms. These subprograms are called at the appropriate
reserved for free use of the machine tool manufacturer. locations in the main program and then executed.
With H functions, the meaning of the values of a specific H function is
defined by the machine tool manufacturer.
M codes and H functions created by the OEM should be backed up by
the machine tool manufacturer. Subprogram for posi-
tions of the four pockets.
Specified M Explanation Specified M Explanation
function function
Example
M0 Stop program M6 Tool change
The structure of a subprogram is identical to that of the main program,
M1 Stop program with M7 / M8 Coolant on but a subprogram contains M17 - end of program in the last block of the
conditions program sequence. This means a return to the program level where the
subprogram was called.
M2 End program M9 Coolant off

M30 End program and M40 Select gear stage The subprogram should be given a unique name enabling it to be select-
back to the beginning automatically ed from several subprograms. When you create the program, the pro-
gram name may be freely selected.
M17 End subprogram M41~M45 Change spindle gear However, the following rule should be observed:

M3 / M4 / M5 Spindle CW/CCW/ The name can contain letters, numbers and underscores and should be
Stop between 2 and 8 characters long.

Example: LRAHMEN7

Operating and Programming — Milling Page 78 808D


s
Additional
Information
Part 2

SEQUENCE

Main program
Sequence Polar
coordinates
MAIN 123

...

... In addition to the common specification in Cartesian coordinates (X, Y,


...
Z), the points of a workpiece can also be specified using polar coordi-
nates.
N20 L10; call Subprogram Polar coordinates are also helpful if a workpiece or a part of it is dimen-
... L10 sioned from a central point (pole) with specification of the radius and the
angle.
... N10 R1=34…
The polar coordinates refer to the plane activated with G17 to G19. In
... N20 X...Z…. addition, the third axis perpendicular to this plane can be specified. When
doing so, spatial specifications can be programmed as cylindrical coordi-
... …
nates.
N80 L10; call ... The polar radius RP= specifies the distance of the point to the pole. It is
... M17
saved and must only be written in blocks in which it changes, after the
pole or the plane has been changed.
... The polar angle AP= is always referred to the horizontal axis (abscissa)
... of the plane (for example, with G17: X axis). Positive or negative angle
specifications are possible. The positive angle is defined as follows:
M30 Starting from the plus direction of X axis and rotates CCW.
It is saved and must only be written in blocks in which it changes, after
Subprograms can be called from a main program, and also from another the pole or the plane has been changed.
subprogram. In total, up to eight program levels, including the main pro-
gram, are available for this type of nested call.

808D Page 79 Operating and Programming — Milling


s
Additional
Information
Part 2

Basic Theory

G110 Pole specification relative to the setpoint position last programmed


Additive
(in the plane, e.g. with G17: X/Y) workpiece
(when using G110, please always take the current position of the offsets
tool as the reference point to specify the new pole)
The programmable workpiece offsets TRANS and ATRANS can be used
G111 Pole specification relative to the origin of the current workpiece in the following cases:
coordinate system (in the plane, e.g. with G17: X/Y)
G112 Pole specification, relative to the last valid pole; retain plane ● For recurring shapes/arrangements in various positions on the work-
piece
Programming example ● When selecting a new reference point for dimensioning
N10 G17 ; X/Y plane
N20 G111 X17 Y36 ; pole coordinates in the current workpiece This results in the current workpiece coordinate system.
AP=45 RP=50 coordinate system TRANS X...Y... Z... ; programmable offset(absolute)
... ATRANS X...Y... Z... ; programmable offset, additive to existing offset
N80 G112 X35.35 Y35.35 ; new pole, relative to the last pole as a
AP=45 RP=27.8 polar coordinate (incremental)
N90 ... AP=12.5 RP=47.679 ; polar coordinate TRANS ; without values, clears old commands for offset
N100 ... AP=26.3 RP=7.344 Z4 ; polar coordinate and Z axis(= cylinder
coordinate) Programming example
N20 TRANS X20.0 Y15.0 programmable offset
L10 subprogram call

Operating and Programming — Milling Page 80 808D


s
Additional
Information
Part 2

Basic Theory

Coordinate
rotation Scaling
ROT AROT

The programmable rotation ROT, AROT can be used: A scale factor can be programmed for all axes with SCALE, ASCALE. The
path is enlarged or reduced by this factor in the specified axis. The cur-
The rotation is performed in the current plane G17, G18 or G19 using the rently set coordinate system is used as the reference for the scale
value of RPL=...specified in degrees. change.

ROT RPL=... ; programmable rotation offset (absolute). SCALE X...Y... Z... ; programmable rotation offset (absolute)
AROT RPL=… ; programmable offset, additive to existing offset ASCALE X...Y... Z... ; programmable offset, additive to existing offset
(incremental) (incremental)
ROT ; without values, clears old commands for offset
If a program contains SCALE or ASCALE, this must be programmed in a
N10 G17 separate block.
N20 AROT RPL=45 additive 45 degree rotation Programming example
L10 subprogram call N10 G17
N20 SCALE X2.0 Y2.0 ;contour is enlarged two times in X and Y
L10 subprogram call

808D Page 81 Operating and Programming — Milling


s
Additional
Information
Part 2

Basic Theory

N10 SUPA G00 Z300 D0 N10 SUPA→cancel all settable offsets


Program N15 SUPA G00 X0 Y0 N15
example N20 G17 T1 D1 N20 coordinate plane G17,use tool 1
N25 MSG ("change to 1 tool") N25
N30
N30 M5 M9 M00 N35
This describes and analyzes the additive offset, coordinate rotation, N35 S5000 M3 G94 F300 N40
N40 G00 X-28 Y 30 N45
scaling functions mentioned above. N45 G00 Z2 N50 LAB1:milling start sign
N50 LAB1: N65 milling rectangular groove(depth 5 mm,
N65 POCKET3( 50, 0, 2, -5, 30, 15, 3, -28, length 30 mm, width 15 mm, corner radius 3
Machining target dimension drawing and the final effect are as follows:
30, 0, 5, 0, 0, 300, 100, 0, 11, 5, , , 5, 3, ) mm, groove datum coordinate (X-28,Y30),
N70 LAB2: groove longitudinal axis and plane X axis
Drawing 1—original workpiece N75 M01 clamping angle 0º)
machining N80 ROT RPL=-100 N70 LAB2:milling groove end sign
Drawing 2—coordinate rotates N85 REPEAT LAB1 LAB2 P1 N75
N90 M01 N80 coordinate axis rotates 100º in positive
100º direction
N95 AMIRROR X=1 N85 machining the same groove at the new
Drawing 3—①Drawing 2 along N100 AROT RPL=-20 position
X axis mirror image N105 M01 N90
N110 REPEAT LAB1 LAB2 P1 N95 along the new X axis to change the
②Coordinate rotates 20º mirror image
N115 AROT RPL=10
N100 coordinate axis rotates -20º in positive
Drawing 4—①Drawing 3 along N120 ATRANS Y-60 direction
Y axis moves 60 in N125 AROT RPL=-10 N105
negative direction N130 ASCALE X1.3 Y1.3 N110 machining the same groove at the new
N135 REPEAT LAB1 LAB2 P1 position
②enlarge 1.3 times in X N140 M30 N115 coordinate axis rotates –10º in
and Y direction negative direction
N120 Y axis coordinate moves 60 in negative
direction
N125
N130 groove enlarged 1.3 times in the X,Y
direction.
In this example, the positive N135 machining the same groove at the new
direction of the XY position
N140 end
coordinate axis is different
when machining each
groove!

Operating and Programming — Milling Page 82 808D


s
Additional
Information
Part 2

Basic Theory

Program execution
Program
jump
N10 G0 X...Z...

...

NC programs process their blocks in the sequence in which they were ...
arranged when they were written. The processing sequence can be
N40 GOTOF LABEL0; jumps to label LABEL0
changed by introducing program jumps. The jump destination can be a
block with a label or with a block number. This block must be located with- ...
in the program. The unconditional jump command requires a separate ...
block.
N70 LABEL0: R1=R2+R3

GOTOF+ label:Jump forward (in the direction of the end block of the N80 GOTOF LABEL1; jumps to label LABEL1
program) N90 LABLE2:
GOTOB+ label:Jump backward (in the direction of the start block of the
M30; program ends
program)
Label: Name of the selected string (standing for the required jump N110 LABEL1:

program block) or block number ...

N130 GOTOB LABEL2 ;jumps to label LABEL2

Unconditional jump example

808D Page 83 Operating and Programming — Milling


s
Additional
Information
Part 2

Basic Theory

Method 2
Program
skip Press the “Machine” key on the PPU.

Method 1 Press the “Auto” key on the MCP.


N5 G17 G90 G500 G71
“;” code Press the “Prog cont.” SK on the PPU.
N10 T1 D1 M6
Using “;” code at the N15 S5000 M3 G94 F300
beginning of the block N20 G00 X50 Y50 Z5 Press the “Skip” SK on the PPU.
can skip this string. N25 G01 Z-20
“;” can also be used to N30 Z5
add remarks to the ...
N85 T2 D1 M6 ; Tool change
block.
N90 S5000 M3 G94 F300
See the figure on the ; N95 G00 X60 Y55 Z10
right for an example of ...
use.

Using “;” code at the begin-


ning of the program block Using “;” code to add a
N95, this string will be remark to the N85 func-
skipped without execution. tion, without any influence
on the execution.

When ”SKP” is displayed (red circle), the skip function has been activated.
After activating “SKP”, using “/” at the beginning of the program string
(shown in purple circle), the string will be skipped without influencing the
execution.

Operating and Programming — Milling Page 84 808D


s
Additional
Information
Part 2

Basic Theory SEQUENCE

Press this SK to delete the contents in the calculator.


Calculator
Press this SK to exit the calculator screen.

Use this SK to accept the input and write the values to the
You can use the calculator to calculate contour elements, values in the required position.
program editor, tool offsets and workpiece offsets and enter the results If the input field is already occupied by a value, the calculator
on the screen. will take this value into the input line.
Use the “Accept” SK to enter the result in the input field at the
current cursor position of the part program editor. The calcu-
lator will then close automatically.
Press the “=“ SK on the PPU.

808D Page 85 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 86 808D


Sample
Program s
Content Drawing

Unit Description
Milling Make sure all the preparations and safe-
program 1 ty measures have been performed be-
This unit shows three typical program examples of frequently used milling
cycles and the corresponding machining diagrams with detailed explana- fore machining!
tions.

Unit Content

The zero point of


Milling the workpiece is
program 1 located at the
center point of
the workpiece
Milling
program 2

Milling
program 3

Tool information:
End
T1 Milling tool D50
T2 Milling tool D8
Note: All the program examples in this book are only for reference. If
you want to perform actual operations, please adjust the tool offset,
coordinate moving range, workpiece plane settings, etc. according to
the actual machine conditions! Actual effect
808D Page 87 Operating and Programming — Milling
Sample
Program s
Machining Process

N10 G17 G90 G54 G60 ROT N10 ; =======Repeat rectangular pocket milling ; ====Repeat ② ③ ④ rectangular pocket
N20 T1 D1; FACEMILL N20 tool 1 is plane milling tool 3 times========== milling 3 times=====
N30 M6 N30 N200 REPEAT _ANF _END P=3 N200 Repeat N160 ~ N190 operation three
N40 times
N40 S4000 M3 M8 N50 ; ======Cancel rotation=======
N50 G0 X-40 Y0 N210 ROT ; =======Cancel rotation=========
N60
N210 cancel all the coordinate rotation com-
N60 G0 Z2 ; =========Start face milling======== N220 S4500 M3
mands
; ========Start face milling========= N70 start point (X-25,Y-25), the length ; ========Start rectangular pocket finish- N220
N70 CYCLE71( 50, 1, 2, 0, -25, -25, 50, 50, and the width are 50 mm, feedrate 400 mm/ ing========= ; ===Start ① rectangular pocket finish-
0, 1, , , 0, 400, 11, ) min, along the direction parallel to the X axis to N230 _ANF1:
perform roughing. ing===
N80 S4500 N240 POCKET3( 50, 0, 2, - 5, 13, 10, 4, -13, N230 _ANF1: Milling start sign
N80
N90 CYCLE71( 50, 1, 2, 0, -25, -25, 50, 50, N90 repeat the process in N80 , the differ- 16, 0, 2.5, 0.1, 0.1, 300, 200, 2, 2, 2.5, , , , N240 milling rectangular groove (depth、
0, 1, , , 0, 400, 32, ) ence between the two:along the alternate 2, 2) length、width、corner radius、base
; ========End face milling========== direction parallel to the X axis to perform ; ==Adaptive rotation around Z axis==
point、corner angles are the same as the
N100 G0 Z100 finishing N250 AROT Z90 above parameters), plane feedrate300 mm/
N110 T2 D1 ; ENDMILL D8 ; =========End face milling========= N260 _END1: min, depth direction feedrate200 mm/min,
N120 M6 N100 ; ========Repeat rectangular pocket milling direction G2, finish machining.
N130 S4000 M3 N110 tool 2 is face milling tool, diameter 8 milling 3 times========= ; ==Adaptive rotation around Z axis===
mm N250 rotation in positive direction 90º
N140 M8 G0 X-13 Y16 N120 N270 REPEAT _ANF1 _END1 P=3
N260 _END1: Milling end sign
N150 G0 Z2 N130 N280 ROT
; ====Finishing ② ③ ④ rectangular
; ========Start rectangular pocket rough- N140 ; ========Cancel rotation=========
N150 pocket milling =====
ing========== N270 repeat N230~N260 operation three
N160 _ANF: ; ===Start ① rectangular pocket rough- times
N170 POCKET3( 50, 0, 2, -5, 13, 10, 4, -13, ing=== N280 cancel all the coordinate rotation
N160 _ANF: Milling start sign commands
16, 0, 5, 0.1, 0.1, 300, 200, 2, 11, 2.5, , , ,
2, 2) N170 milling rectangular groove (depth 5 ; =====Cancel rotation===========
mm, length13 mm, width 10 mm, corner
; ==Adaptive rotation around Z axis==
radius 4 mm, groove base point coordi-
N180 AROT Z90
N190 _END: nate (X-13,Y16), angle between groove
vertical axis and plane X axis is 0º),
feedrate 300 mm/min, milling direction G2,
rough machining, use G1 vertical groove
center to insert.
; ==Adaptive rotation around Z axis==
N180 rotation in positive direction 90º
N190 _END: Milling end sign

Operating and Programming — Milling Page 88 808D


Sample
Program s
Machining Process Drawing

N290 G0 X0 Y0 N290 back to workpiece zero point Make sure all the preparations and safety
; =============Start circular pocket ; =====Start circular pocket roughing===== Milling
N300 milling circular groove (depth 5 measures have been performed before
roughing============== program 2
N300 POCKET4( 50, 0, 2, -5, 7.5, 0, 0, 2.5, mm, radius 7.5 mm, groove base point machining!
0.1, 0.1, 300, 200, 0, 21, 2, , , 4, 1) coordinate (X0,Y0), angle between groove
N310 S4500 M3 vertical axis and plane X axis is 0º),
milling direction is positive, rough machin-
; =============Start circular pocket
ing.
finishing============== N310
N320 POCKET4( 50, 0, 2, -5, 7.5 , 0, 0, 5, ; =====Start circular pocket finishing=====
0.1, 0.1, 300, 200, 0, 12, 2, , , 4, 1) N320 milling circular groove (depth 5
N330 G0 Z100 mm, radius 7.5 mm, groove basic point
; =========Start drilling========== coordinate(X0,Y0), the clamping angle
N340 T3 D1 ;DRILL D3 between the groove vertical axis and
N350 M6 plane X axis is 0), finish machining allow-
ance 0.1 mm, milling direction is positive,
N360 S5000 M3
finish machining, use G1 vertical groove
N370 G0 X0 Y0 center to insert.
N380 MCALL CYCLE81( 50, 0, 2, -5, 0) N330 G0 Z100
N390 HOLES2( 0, 0, 10, 45, 60, 6) ; =========Start drilling========== Workpiece zero
N340 3 tool is drilling tool diameter 3 mm
N400 MCALL
N350
point is located in
N410 M30 the top left corner.
N360
N370 back to workpiece zero point
N380 drilling depth 5 mm, use ”MCALL”
mode to use command, means drilling position
decided by the parameters in N490
N390 circular line hole forms cycle command
(circular center point coordinate(X0,Y0), radius
10 mm, angle between the line with first hole
and circular center point and the X axis in
positive direction is 45º, angle between the
holes is 60º, circular hole number 6 个)
N400 cancel mode use
N410 M30 Tool information:

T1 Milling tool D50


T2 Milling tool D12
T4 Milling tool D10

Actual effect
808D Page 89 Operating and Programming — Milling
Sample
Program s
Machining Process

N10 G17 G90 G60 G54 N10 ;*************CONTOUR************ This program is additional descrip-
N20 tool 1 is milling tool, diameter 50 mm CON1:
N20 T1 D1 ;FACEMILL D50 N30 tion information created by the
N30 M6 N40
N40 S3500 M3 N50 back to workpiece zero point ;#7__DlgK contour definition begin - Don't system automatically after finishing
N60 change!;*GP*;*RO*;*HD* the programming of the rough cut-
N50 G0 X0 Y0 ; =========Start face milling====== G17 G90 DIAMOF;*GP*
N60 G0 Z2 N70 start point (X0,Y0), the length and the G0 X3 Y3 ;*GP* ting CYCLE72 and does not affect
; =======Start face milling======== width are 50 mm, feedrate 300 mm/min, G2 X3.27 Y-40.91 I=AC(-52.703) J=AC(- the system execution.
N70 CYCLE71( 50, 1, 2, 0, 0, 0, 50, -50 , , finishing allowance 0.1 mm, along the direction 19.298) ;*GP*
parallel to the X axis to perform the rough G3 X46.27 Y-47 I=AC(38.745) J=AC
1, 40, , 0.1, 300, 11, ) machining
N80 S4000 M3 N80 (54.722) ;*GP*
N90 start point (X0,Y0), the length and the G1 X42 Y-8 ;*GP*
N90 CYCLE71( 50, 0.1, 2, 0, 0, 0, 50, -50 ,
width are 50 mm, feedrate 250 mm/min, finish- X3 Y3 ;*GP*
, 1, 40, , 0, 250, 32, ) ;CON,0,0.0000,4,4,MST:0,0,AX:X,Y,I,J
ing allowance 0, along the direction parallel to
; ======Start contour milling====== the X axis to perform the finish machining ;*GP*;*RO*;*HD*
N100 T2 D2 ;END MILL ; =====Start contour milling======= ;S,EX:3,EY:3;*GP*;*RO*;*HD*
N100 tool 2 is milling tool ;ACW,DIA:0/35,EX:3.27,DEY:-
N110 M6 N110
N120 S3500 M6 N120 43.91,RAD:60;*GP*;*RO*;*HD*
N130 CYCLE72( "CON1:CON1_E", 50, 0, 2, N130 contour cutting depth 5 mm, all finishing ;ACCW,DIA:0/35,DEX:43,EY:-
allowances 0.1 mm, the feedrate of surface 47,RAD:102;*GP*;*RO*;*HD*
-5, 2, 0.1, 0.1, 300, 300, 11, 42, 1, 4, 300, 1, 4) machining and cutting direction 300 mm/min, ;LA,EX:42,EY:-8;*GP*;*RO*;*HD*
; =======Start path milling with radius use G42 to activate the compensation, use G1 ;LA,EX:3,EY:3;*GP*;*RO*;*HD*
compensation ======== to do rough machining, approaching path is ;#End contour definition end - Don't
along a straight line, length 4 mm, the parame-
N140 T4 D1 ;ENDMILL D10 ters of feedrate/path/length in retraction and change!;*GP*;*RO*;*HD*
N150 M6 approach are equal.
N160 S4000 M3 ; ====Start path milling with radius com- CON1_E:;****** CONTOUR ENDS*******
pensation ===
N170 G0 X55 Y-15 N140 tool 4 is face milling tool, diameter 10
N180 G0 Z2 mm
N190 G1 F300 Z-8 N150
N160
N200 G42 G1 Y-15 X50 N170
N210 G1 X44 Y-2 RND=2 N180
N220 G1 Y0 X 22 N190
N200 G42 activate tool radius compensation
N230 G40 Y30 N210 starts from (X44,Y-2) insert a reverse
N240 M30 circle, radius is 2 mm
N220 (X22,Y0) is the reverse circle point
N230 G40 cancel tool radius compensation
N240

Operating and Programming — Milling Page 90 808D


Sample
Program s
Drawing Machining Process

N10 G17 G90 G54 G71 N10


Milling Part of the cycles in the program are N20 SUPA G00 Z300 D0 N20
program 3 taken as examples in Section 5, “Create N30 SUPA G00 X300 Y300 N30
N40 T1 D1 N40
Part Program Part 2”! N50 hint:change to tool 1
N50 MSG ("Please change to Tool No 1")
N60 M05 M09 M00 N60
N70
N70 S4000 M3 ; =======Face milling start=======
; =======Face milling start========
N80 start point (X0,Y0), machining length: X
N80 CYCLE71( 50, 2, 2, 0, 0, 0, 70, 100,
→70 mm, Y→100 mm, angle between verti-
0, 2, 40, 2, 0.2, 500, 41, 5)
cal axis and X axis is 0º, finishing allow-
N90 S4500 M3 ance 0.2 mm, feedrate 500 mm/min, along the
N100 CYCLE71( 50, 2, 2, 0, 0, 0, 70, 100, alternate direction parallel to the Y axis to
0, 2, 40, 2, 0.2, 300, 22, 5) perform the finishing
; ========Face milling end========
N90
N110 SUPA G00 Z300 D0
N100 repeat N80 contour process, the
N120 SUPA G00 X300 Y300
difference in the feedrate is 300 mm/min along
; =======Path milling start======== the single direction parallel to the Y axis to
N130 T3 D1 perform the finishing
N140 MSG( "Please change to Tool No 3")
N150 M05 M09 M00 ; =========Face milling end=======
N160 S5000 M3 G94 F300 N110
N120
N170 G00 X-6 Y92 ; ======Path milling start=========
N180 G00 Z2 N130
N190 G01 F300 Z-10 N140 hint:change to tool 3
N200 G41 Y 90 N150
N160 feedrate 300 mm/min
N210 G01 X12 RND=5 N170
N220 G01 Y97 CHR=2 N180
N230 G01 X70 RND=4 N190
N240 G01 Y90 N200 left side radius compensation
N210 circle, milling radius is 5 mm
N250 G01 G40 X80 N220 incline, milling side length is 2 mm
N260 G00 Z50 N230
Tool information N240
; ========Path milling end========
T1 Milling tool D50 T5 Milling tool D5 N250 cancel tool radius compensation
T2 Milling tool D12 T6 Drilling tool D10 N260
; =========Path milling end======
T3 Milling tool D10 T7 Drilling tool D5
T4 Milling tool D16 T8 Tap D6

808D Page 91 Operating and Programming — Milling


Sample
Program s
Machining Process

N270 SUPA G00 Z300 D0 N270 N430 SUPA G00 Z300 D0 N430
N280 SUPA G00 X300 Y300 N280 N440 SUPA G00 X300 Y300 N440
N290 ; ======Contour milling start======
N290 T4 D1 ; ======Contour milling start====== N450
N300 MSG ("Please change to Tool No 4") N300 hint:change to tool 4 N450 T2 D1
N310 N460 hint:change to tool 2
N310 M05 M09 M00 ; ====Circular pocket milling start=== N460 MSG ("Please change to Tool No 2") N470
; ===Circular pocket milling start==== N320 N470 M05 M09 M00 N480
N320 S5000 M3 N330 milling circular groove(depth 5 N480 S5000 M3 N490 contour cutting depth 5 mm, surface
machining feedrate 300 mm/min, cutting
N330 POCKET4( 50, 0, 2, -5, 22, 38, 70, mm, radius 22 mm, groove center coordi- N490 CYCLE72( "CONT1:CONT1_E", 50, 0, direction feedrate 100 mm/min, use G41 to
2.5, 0.2, 0.2, 300, 250, 0, 21, 10, 0, 5, 2, nate (X38,Y70), finishing allowance 0.2 2, -5, 5, 0, 0, 300, 100, 111, 41, 12, 3, activate compensation, use G1 to do rough
0.5 ) mm, plane machining feedrate 300 mm/ 300, 12, 3 ) machining, back to the machining plane at the
min, depth machining feedrate 250 mm/ end of the contour, approach path is along 1/4
N340 S5500 M3 min, milling in positive direction, along ; ======Contour milling end=======
circle in space, length 3 mm, the parameters of
N350 POCKET4( 50, 0, 2, -5, 22, 38, 70, helical path insert to do rough machining, N500 SUPA G00 Z300 D0
helical path radius 2 mm, insert depth 0.5 feedrate//path/length for retraction and ap-
2.5, 0.2, 0.2, 250, 250, 0, 22, 10, 0, 5, 2, N510 SUPA G00 X300 Y300 proach are equal.
mm) ; ======Contour milling end=======
0.5 ) ; =Rectangular pocket milling start==
N340 N500
; ===Circular pocket milling end==== N350 repeat N370 milling process, the N520 T2 D1
N510
N360 SUPA G00 Z300 D0 difference is the machining allowance. N530 MSG ("Please change to Tool No 2")
; ====Circular pocket milling end=== ; =Rectangular pocket milling start==
N370 SUPA G00 X300 Y300 N540 M05 M09 M00 N520
N360
N380 T5 D1 N370 N550 S6500 M3 N530 hint:change to tool 2
N390 MSG ("Please change to Tool No 5") N380 N560 POCKET3( 50, 0, 1, -3, 40, 30, 6, N540
N400 M05 M09 M00 N390 hint:change to tool 5 36, 24.1, 15, 3, 0.1, 0.1, 300, 300, 0, 11, N550
N400 N560 milling rectangle groove (depth 3
; ========Slot milling start======== ; ========Slot milling start======= 12, 8, 3, 15, 0, 2 )
mm, length 40 mm, width 30 mm, corner
N410 M3 S7000 N410 N570 POCKET3( 50, 0, 1, -3, 40, 30, 6,
radius 6 mm,groove base point coordinate
N420 SLOT2( 50, 0, 2, , 3, 3, 30, 6, 38, N420 milling slot(depth 3 mm, machin- 36, 24.1, 15, 3, 0.1, 0.1, 300, 300, 0, 12,
ing 3 slots, slot angle 30º, slot width 6 (X36,Y24.1), angle between groove verti-
70, 20, 165, 90, 300, 300, 3, 3, 0.2, 0, 5, 12, 8, 3, 15, 0, 2 )
mm, basic circle center point coordinate cal axis and plane X axis is 15º), finishing
250, 3000, ) ; ==Rectangular pocket milling end== allowance 0.1 mm, feedrate surface
(X38,Y70), basic circle radius 20 mm,
; ========Slot milling end======== start angle 165º, slot incremental angle machining and cutting direction machining
90º, depth machining feedrate 300 mm/ is 300 mm/min, milling in positive direction,
min, plane machining feedrate 300 mm/ rough machining, use G1 vertical groove
min, milling direction G3, slot edge finish- center to insert.
ing allowance 0.2 mm, complete machin- N570 repeat N600 milling process, the
ing ways, finishing machining feedrate 250 difference is the machining allowance.
mm/min, spindle speed rate 3000 r/min ; ==Rectangular pocket milling end==
; ========Slot milling end=======

Operating and Programming — Milling Page 92 808D


Sample
Program s
Machining Process

N580 SUPA G00 Z300 D0 N580 N790 SUPA G00 Z300 D0 N790
N590 N800
N590 SUPA G00 X300 Y300 ; =========Centering start======= N800 SUPA G00 X300 Y300
; ==========Tapping start========
; ========Centering start========= N600 ; =========Tapping start========= N810
N600 T6 D1 N610 hint:change to tool 6 N810 T8 D1
N620 N820 hint:change to tool 8
N610 MSG ("Please change to Tool No 6") N820 MSG ("Please change to Tool No 8") N830
N630
N620 M05 M09 M00 N640 N840
N830 M05 M09 M00
N630 S6000 M3 N650 CYCLE82 mode recall command active N850 CYCLE84 mode recall active→drilling
→drilling depth 5 mm, last drilling depth N840 S500 M3
N640 G00 Z50 X36 Y24.1 depth 6 mm, last tapping depth (delayed
N650 MCALL CYCLE82( 50, -3, 2, -5, 0, 0.2) (delayed milling) stops for 0.2 s N850 MCALL CYCLE84( 50, -3, 2, , 6, 0.7,
N660 hole arrangement circular center 5, , 2, 5, 5, 5, 3, 0, 0, 0, 5, 1.4 ) milling) stops for 0.7 s, after the cycle,
N660 HOLES2( 36, 24.1, 10, 90, 60, 6) coordinate(X36,Y24.1), circular radius 10 the spindle M5 stops, machining dextroro-
N670 X36 Y24.1 mm, start angle 90º, angle between the N860 HOLES2( 36, 24.1, 10, 90, 60, 6) tation thread, size 2 mm
N680 MCALL ; Modal Call OFF holes is 60º, circular hole number 6 N870 X36 Y24.1 , spindle stop position is 5º , the tapping
; =========Centering end========= N670 continue drilling with(X36,Y24.1) as for N880 MCALL ; Modal call Off speed and the retraction speed of the
the center point spindle are 5 r/min, select Z axis as the
N690 SUPA G00 Z300 D0 N680 cancel mode recall command ; =========Tapping end========== tool axis, incremental drilling depth 5 mm,
N700 SUPA G00 X300 Y300 ; =========Centering end======== N890 SUPA G00 Z500 D0 retraction value is 1.4 mm
; =========Drilling start========== N690
N700 N860 hole arrangement circular center
N900 SUPA G00 X500 Y500;
N710 T7 D1 ; ===========Drilling start======== coordinate (X36,Y24.1), circular radius 10
N720 MSG ("Please change to Tool No 7") N710 ; =========Move to the change position mm, start angle 90º, angle between the
N730 M05 M09 M00 N720 hint:change to tool 7 Ready to start next program or repeat holes is 60º, circular hole number 6
N730 ========= N870 continue drilling with X36,Y24.1) as the
N740 S6000 M3 N740 center tapping
N750 MCALL CYCLE83( 50, -3, 1, , 9.24, ,5, N750 CYCLE83 mode recall command active N910 M30 N880 cancel mode recall instruction
90, 0.7, 0.5, 1, 0, 3, 5, 1.4, 0.6, 1.6) →drilling depth 9.24 mm, first drilling ; ==========Tapping end=========
N760 HOLES2( 36, 24.1, 10, 90, 60, 6) depth 5 mm, degression 90, last drilling N890
depth (delayed milling) stops for 0.7 s, N900
N770 X36 Y24.1 stops at the start point for 0.5 s, first
N780 MCALL ; Modal call Off drilling feed modules is 1, select Z axis ; ======Move to the change position Ready
as the tool axis, machining type is delayed to start next program or repeat =======
; =========Drilling end==========
milling, tool axis is Z axis, minimal depth N910
5 mm, every retraction is 1.4 mm, drilling
depth stops for 0.6 s , reinsert lead dis-
tance 1.6 mm
N760 hole arrangement circular center
coordinate(X36,Y24.1), circular radius 10
mm, start angle 90º, angle between the
holes is 60º, circular hole number 6
N770 continue drilling with (X36,Y24.1) as the
center point
N780 cancel mode recall instruction
; =========Drilling end===========

808D Page 93 Operating and Programming — Milling


Sample
Program s
Machining Process

N1100 ;*************CONTOUR************ This section is additional description


N1110 CONT1: information created by system automati-
N1120 ;#7__DlgK contour definition begin -
cally after finishing the programming of
Don't change!;*GP*;*RO*;*HD*
N1130 G17 G90 DIAMOF;*GP* the rough cutting CYCLE95 and does
N1140 G0 X7 Y0 ;*GP* not affect the system execution.
N1150 G1 Y61.35 ;*GP*
N1160 G2 X13.499 Y86 I=AC(57) J=AC
(61.35) ;*GP*
N1170 G1 X63 RND=2 ;*GP*
N1180 Y0 ;*GP*
N1190 ;CON,0,0.0000,4,4,MST:0,0,AX:X,Y,I,J,
TRANS:1;*GP*;*RO*;*HD*
N1200 ;S,EX:7,EY:0;*GP*;*RO*;*HD*
N1210 ;F,LFASE:0;*GP*;*RO*;*HD*
N1220 ;LU,EY:61.35;*GP*;*RO*;*HD*
N1230 ;ACW,DIA:210/0,EY:86,AT:0,RAD:50;*
GP*;*RO*;*HD*
N1240 ;LR,EX:63;*GP*;*RO*;*HD*
N1250 ;R,RROUND:2;*GP*;*RO*;*HD*
N1260 ;LD,EY:0;*GP*;*RO*;*HD*
N1270 ;#End contour definition end - Don't
change!;*GP*;*RO*;*HD*
N1280 CONT1_E:;************* CONTOUR
ENDS ************

Operating and Programming — Milling Page 94 808D


s
Notes

808D Page 95 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 96 808D


ISO
Mode s
Content Basic Theory

Unit Description ISO Siemens standard machining codes are implemented in


function DIN mode. The 808D also provides also provides appro-
This unit describes the ISO operating functions in 808D, compares the switch priate functions for implementing the ISO commands,
similarities and differences of the machining code in DIN mode and ISO but the ISO mode must be activated during operation.
mode and shows how to transfer and implement the ISO machining pro-
gram. ISO function switch
Method 1
Unit Content Press the “Shift” + “System - Alarm” keys +
on the PPU. Input the manufacturer’s
password (“SUNRISE”)

Press the “ISO mode” SK on the right.


ISO A dialog box appears prompting whether
function to activate the new setting. Select the
switch
“OK” SK to activate it.

ISO
code
explanation

ISO program
transfer and
operation

End

808D Page 97 Operating and Programming — Milling


ISO
Mode s
Basic Theory

After pressing
“OK”, the sys- ISO All the ISO codes described in this unit
tem restarts auto-
code can be implemented in the ISO mode of
explanation the 808D system!
matically.
After restarting, Brief description of typical, frequently used ISO codes
press “Shift” +
“System - Alarm” ISO code Description Compare
with DIN
again and if the
symbol in the red G00 Orientation (rapid traverse) As DIN
circle appears, G1 Linear difference As DIN
ISO mode is al-
ready activated. G17/G18/G19 XY plane / ZX plane / YZ plane As DIN
G20/G21 Input in inch/mm G70/G71
A red ISO appears at the top of the screen and the ISO mode button on G41/G42/G40 Left tool tip radius compensation / right tool tip As DIN
the right is highlighted in blue. radius compensation / cancel tool radius
compensation

Method 2 When using method 2 to activate the ISO mode, G54 ~ G59 Select workpiece coordinate system As DIN
it will exit ISO mode and return to the default G80 Cancel fixed cycle
DIN mode via “Reset” button or after finishing
the machining program. G90/G91 Absolute/incremental programming

G94/G95 Feedrate F in mm/min / mm/r As DIN


Insert G291 in the first line of the ISO part program to be executed and
insert G290 in front of M30. S Spindle speed As DIN

,R Reverse circle (note the form there must be RND


G291/G290 com- ”,” before R parameter)
mands must be set M3/M4/M5 Spindle right / spindle left / spindle stop As DIN
separately in a line!
M98 P _L_ Subprogram call (P+ subprogram name/ L+ Program
name + L
times)

If ISO is displayed at the top of the screen, it is M99 End of Subroutine M17
activated.

Operating and Programming — Milling Page 98 808D


ISO
Mode s
Basic Theory

In DIN mode, the tool length H01→Offset value 20.0 Code G02 and G03
is activated automatically, H02→Offset value -30.0
but in ISO mode, you must H03→Offset value 30.0 G02 circular interpolation in
activate the tool length via H04→Offset value -20.0 positive direction
G code.
G90 G43 Z100.0 H01;Z will reach 120.0 G03 circular interpolation in
G43/G44 and G49
negative direction
G90 G43 Z100.0 H02;Z will reach 70.0 You can specify the circle end
Use G43/G44,the tool G90 G44 Z100.0 H03;Z will reach 70.0 point in the following X/Z ad-
length compensation value
will be activated. G90 G44 Z100.0 H04;Z will reach 120.0 dress for both. You can also
describe circle radii with I, J, K Method 1 (use incremental to describe
G43:Tool length compen-
sation in positive direction incremental or use parameter R circular radius)
Note:In DIN mode, you must open the H
to specify radii directly. G92 X200.0 Y40.0 Z0
G44:Tool length compen- code list in the tool list. For information on
sation in negative direction G90 G03 X140.0 Y100.0 I-60.0 F300.0
the opening method, please refer to the G02 X120.0 Y60.0 I-50.0
G49:Cancel tool length
compensation instructions for H code on page 104
Method 2 (use parameter R to de-
scribe circular radius)
G92 X200.0 Y40.0 Z0
G90 G03 X140.0 Y100.0 R60.0 F300
G02 X120.0 Y60.0 R50.0
G98 :Fixed cycle back to N5 G90 T1 M06
the original point N10 M3 S2000; spindle rotation
G99 :Fixed cycle back to R N20 G99 G81 X300 Y-250 Z-150 When specifying circle radii
point R-10 F120;after orientation drill- with parameter R
G80 :Cancel the fixed cycle ing, back to R point
Pausing function G04
N30 X1000. ;after orientation drill- Circles less than 180° is as- End point
G04 X5.0→delay 5 s
G04 P5→delay 5 ms ing, back to R point signed positive values
N40 G04 X2.0 ;delay 2 s ①→G02 X6.0 Y2.0 R50.0
Circles greater than 180° are
N50 G98 Y-550 ;after orientation drill- assigned negative values
Start point
ing, back to start point ①→G02 X6.0 Y2.0 R-50.0
N60 G80 ;cancel the fixed cycle
N70 M5 ;spindle rotation stop
N80 M30

808D Page 99 Operating and Programming — Milling


ISO
Mode s
Basic Theory

Frequently used letter meanings of typical fixed cycle codes in ISO Brief introduction of typical fixed cycle codes in ISO mode

P. Descriptions Unit Applied range and For the meaning of letters when programming typical fixed
note cycles, please refer the figure on the left!
X/Y Cutting end point X/Z absolute coordi- G73 / G74 / G76
nate values G81 ~ G87 / G89 G73 fast-speed deep hole G73 application example program:
drilling M3 S1500 ;spindle rotation
The distance incremental value be- G73 / G74 / G76 Common programming G90 G99 G73 X0 Y0 Z-15 R-10 Q5 F120
Z tween R point and the bottom of the G81 ~ G87 / G89 structures: ;after orientation drill 1st hole, back to R point
hole, or the absolute coordinate value G73 X—Y—Z—R—Q—F— Y-50 ;after orientation drill 2nd hole, back to R point
of the bottom of the hole K Y-80 ;after orientation drill 3rd hole, back to R point
Motion process: X10 ;after orientation drill 4th hole, back to R point
The distance incremental value be- G73 / G74 / G76 Y10 ;after orientation drill 5th hole, back to R point
R tween the start point plane and R G81 ~ G87 / G89 ① Drilling motion (-Z) →
intermediate feed G98 Y75 ;after orientation drill 6th hole, back to R point
point or the absolute coordinate value G80 ;cancel fixed cycle
of R point ② Motion at the bottom of
G28 G91 X0 Y0 Z0 ;back to reference point
the hole → none
M5 ;spindle rotation stop
The depth of every cut G73 / G83 ③ Retraction motion (+Z) M30
Q (incremental value) → fast feed

Offset value G76 / G87


(incremental value)
G74 reverse tapping cycle G74 application example program:
P The delay time at the bottom of the ms G74 / G76 / G89 Common programming
hole G81 ~ G87 structures: M4 S100 ;spindle rotation
G90 G99
F The feedrate of the cutting mm/min G73 / G74 / G76 G74 X—Y—Z—R—P—F— G74 X300 Y-250 Z-150 R-120 P300 F120
G81 ~ G87 / G89 K ;after orientation drill 1st hole, back to R point
Motion process: Y-550 ;after orientation drill 2nd hole, back to R point
K The repeat times of the fixed cycle G73 / G74 / G76 ① Drilling motion(-Z) → Y-750 ;after orientation drill 3rd hole, back to R
G81 ~ G87 / G89 cutting feed pointX1000 ;after orientation drill 4th hole, back to R pointY-
② Motion at the bottom of 550 ;after orientation drill 5th hole, back to R pointG98
In 808D, the default ISO program feed distance unit is mm! the hole → spindle rotation Y750 ;after orientation drill 6th hole, back to R
in positive direction pointG80 ;cancel fixed cycle
(X100→100mm) ③ Retraction motion(+Z) G28 G91 X0 Y0 Z0 ;back to reference point
→ cutting feed M5 ;spindle rotation stop
Note:change the parameter 10884=0,to make X100 → 100 um / X100. → M30
100 mm

Operating and Programming — Milling Page 100 808D


ISO
Mode s
Basic Theory

G76 Boring cycle G76 application example program: G82 Drilling cycle (countersink drilling) G82 application example program:
Common programming structures: Common programming structures:
G76 X—Y—Z—R—Q—P—F—K M3 S500 ;spindle rotation G82 X—Y—Z—R—P—F—K M3 S2000 ;spindle rotation
G90 G99 G90 G99 G82 X300 Y-250 Z-150 R-100 P1000 F120
Motion process: G76 X300 Y-250 Z-150 R-100 Q5 P1000 F120 Motion process: ;after orientation drill 1st hole, stop for 1 s at the bottom
① Drilling motion (-Z) → cutting feed ;after orientation bore 1st hole, then move 5 mm, ① Drilling motion(-Z) → cutting feed of the hole, back to the R point.
② Motion at the bottom of the hole → stop for 1 s at the bottom of the hole, back to the R Y-550 ;drill 2nd hole (the same as 1st hole)
point. ② Motion at the bottom of the hole →
spindle stop directional pause Y-750 ;drill 3rd hole (the same as 1st hole)
Y-50 ;bore 2nd hole (the same as 1st hole )
③ Retraction motion (+Z) → fast feed ③ Retraction motion (+Z) → fast X1000 ;drill 4th hole (the same as 1st hole)
Y-80 ;bore 3rd hole (the same as 1st hole)
feed Y-550 ;drill 5th hole (the same as 1st hole)
X10 ;bore 4th hole (the same as 1st hole)
G98 Y-750 ;drill 6th hole, stop for 1 s at the
Y10 ;bore 5th hole (the same as1st hole) bottom of the hole, back to the start point position plane
G98 Y-750 ;bore 6th hole, then move 5 mm, G80 ;cancel fixed cycle
stop for 1s at the bottom of the hole, back to the start G28 G91 X0 Y0 Z0 ;back to reference point
point position plane
G80 ;cancel fixed cycle M5 ;spindle rotation stop
M30
G28 G91 X0 Y0 Z0 ;back to reference point
M5 ;spindle rotation stop
M30

G83 Drilling cycle (deep hole drilling) G83 application example program:
G81 Drilling cycle (fixed point drilling) G81 application example program: Common programming structures
Common programming structures: G83 X—Y—Z—R—Q—F—K M3 S2000 ;spindle rotation
M3 S2000 ;spindle rotation G90 G99 G83 X300 Y-250 Z-150 R-100 Q15 F120
G81 X—Y—Z—R—F—K G90 G99 G81 X300 Y-250 Z-150 R-10 F120 Motion process: ;after orientation drill 1st hole, back to R point
Motion process: ;after orientation drill 1st hole, back to R point ① Drilling motion (-Z) → intermission Y-550. ;after orientation drill 2nd hole, back to R point
① Drilling motion (-Z) → cutting feed Y-550 ;after orientation drill 2nd hole, back to R feed Y-750. ;after orientation drill 3rd hole, back to R point
② Motion at the bottom of the hole → point ② Motion at the bottom of the hole → X1000. ;after orientation drill 4th hole, back to R point
none Y-750 ;after orientation drill 3rd hole, back to R
None Y-550. ;after orientation drill 5th hole, back to R point
point
③ Retraction motion (+Z) → fast feed X1000 ;after orientation drill 4th hole, back to R ③ Retraction motion (+Z) → fast feed G98 Y-750. ;after orientation drill 6th hole, back to start
point plane
Y-550 ;after orientation drill 5th hole, back to R G80 ;cancel fixed cycle
point G28 G91 X0 Y0 Z0 ;back to reference point
G98 Y-750;after orientation drill 6th hole, back to M5 ;spindle rotation stop
start plane M30
G80 ;cancel fixed cycle

808D Page 101 Operating and Programming — Milling


ISO
Mode s
Basic Theory

G84 Tapping cycle G84 execution operation graphic: G86 boring cycle G86 execution operation graphic:
Common programming structures: With command G99 without operation in red line Common programming structures: With command G99 without operation in red line
With command G98 with operation in red line With command G98 with operation in red line
G84 X—Y—Z—R—P—F—K G86 X—Y—Z—R—F—K Except for the stop at the bottom of the hole,
Motion process: Motion process: G86 is same as G81
① Drilling motion (-Z) → cutting feed ① Drilling motion (-Z) → cutting feed
② Motion at the bottom of the hole → ② Motion at the bottom of the hole →
spindle rotation in negative direction spindle stop
③ Retraction motion (+Z) → cutting feed ③ Retraction motion (+Z) → fast feed

Origin spindle CW
after pause
spindle CW
after pause Origin spindle CW
after pause
R Point
R Point

Z Point
Z Point
spindle CCW
after pause spindle stop
after pause

G85 boring cycle G85 execution operation graphic: G89 boring cycle G89 execution operation graphic:
Common programming structures: With command G99 without operation in red line Common programming structures: With command G99 without operation in red line
With command G98 with operation in red line With command G98 with operation in red line
G85 X—Y—Z—R—F—K Except that the spindle is not rotating at the G89 X—Y—Z—R—P—F—L Except that the spindle stops at the bottom of the
Motion process: bottom of the hole, G85 is same as G84 Motion process: hole, G89 is same as G85
① Drilling motion (-Z) → cutting feed ① Drilling motion (-Z) → cutting feed
② Motion at the bottom of the hole → ② Motion at the bottom of the hole →
none pause
③ Retraction motion (+Z) → cutting feed ③ Retraction motion (+Z) → cutting
feed

Origin Origin

R Point
R Point

Z Point
Z Point

Pause

Operating and Programming — Milling Page 102 808D


ISO
Mode s
Basic Theory

G87 Boring cycleⅠ / reverse boring cycle G87 execution operation ISO The ISO mode function provided by
graphic:
Ⅱ program the 808D can easily operate the exist-
Common programming structures: transfer and
Fixed cycle Ⅱ→
spindle start operation
ing ISO program!
G87 X—Y—Z—R—Q—P—F—L
Motion process:
Step 1 Transfer ISO files in USB device to 808D.
① Drilling motion (-Z) →cutting feed
② Motion at the bottom of the hole → Connect the USB device with the stored target programs to the USB
spindle stops Z Point
interface on the PPU.
③ Retraction motion (+Z) → manual
operation or fast feed Positioning of Spindles Press the “USB” SK on the PPU.
Tools move
Use the “Cursor + Select” keys to select the required program
Fast feed which is then highlighted. +
R Point
Cutting feed

Manual feed spindle start Press the “Copy” SK on the PPU.

Press the “NC” SK on the PPU.


G87 execution operation graphic:
Press the “Paste” SK on the PPU.
Fixed cycleⅠ
A specified ISO program is then stored in the 808D system and can be
edited and executed as described above.

spindle start

Origin Step 2 Make the necessary changes to the ISO programs.


spindle start

R Point
Programs in ISO mode in the 808D have their own rules.
Z Point Z Point
Suitable changes must be made at the appropriate posi-
tions so that you can run the ISO programs!
spindle stop spindle stop

808D Page 103 Operating and Programming — Milling


ISO
Mode s
Basic Theory

Beginning of the program Common ISO program 808D ISO program Step 3 Program execution
Common ISO program: O0001; O0001;Delete this
Beginning is “O” G0 X50 Y50 Z50 M5 line Make sure the current system is in ISO mode!
ISO mode of 808D: G04 X5 G0 X50 Y50 Z50 M5
Not compatible with the programs M3 S1000 G04 X5 Make sure all preparations and safety measures have been
beginning with “O”
... M3 S1000 performed!
...
Operate as described above.

Tool and workpiece setup →simulation→test→machining.


H code
In 808D standard DIN mode, you
must open the H list in the tool list
first and fill in the data accordingly Step 4 Transfer the ISO files in the 808D to the USB device.
2 common methods
① Direct use of the ISO switch Connect the USB device with sufficient memory to the USB interface on
button on the PPU to enter ISO the PPU.
mode.
(We recommend the 1st meth- Press the “NC” SK on the PPU.
od!)
Use the “Cursor + Select” keys to select the required program
② Enter code G291 in MDA mode
which is then highlighted.
+
and execute. When the ”Reset” is
not used, the H list in the tool list is
open. Press the “Copy” SK on the PPU.

Press the “USB” SK on the PPU.

Press the “Paste” SK on the PPU.


Note:Every tool only can use the H value corre-
sponding to the edge. A specified ISO program is then stored in the USB and can be executed
In the graphic above, T2 H1 cannot be executed. as required.

Operating and Programming — Milling Page 104 808D


ISO
Mode s
Basic Theory

ISO programs can be executed in the 808D as follows:


Step 5 Sample program

Make sure the current system is in ISO mode! N10 G291 N210 T2M6
Make sure all preparations and safety measures have been N20 T1M6 N220 M3S3000F100
performed! N30 G0G54G90G40 N230 G43H2Z50
N40 M3S1200F200 N240 G0X40Y-40
N50 G43H1Z50 N250 Z20
N60 G0X0Y-70 N260 G81Z-2R10
N70 Z5M8 N270 Y40
N80 G1Z-5 N290 X-40
N90 G01G41X20D1 N300 Y-40
N100 G03X0Y-50R20 N310 G80
N120 G1X-50,R10 N320 G0Z50
N130 Y50,R10
N140 X50,R10 N330 T3M6
N150 Y-50,R10 N340 M3S3000F100
N160 X40 N350 G43H3Z50
N170 X0 N360 G73Z-20R10Q5
N180 G03X-20Y-70R20 N370 Y40
N190 G1G40X0 N380 Y-40
N200 G0Z50 N390 X40
N400 Y40
N410 G80
N420 G0G40G90G49Z100
N430 M09
N440 G290
Note:This program opens/exits N450 M30
ISO mode with theG291/G290 com-
mand. It is recommended to use
the first method to open ISO mode
— using the ISO mode active but-
ton on the PPU (described above)

808D Page 105 Operating and Programming — Milling


ISO
Mode s
Basic Theory

Standard Siemens programming. N160 G0G40G90Z60


Machining the same workpiece as N170 M09M05
described above (can be compared N180 M30
with the ISO code). The next paragraph describes
the codes of the contour. The
system will generate them auto-
N10 T1D1M6 ; contour milling tool
N20 G54G90G40G17
matically and does not affect
N30 M3S2000M8 the program execution.
*************CONTOUR************
N40 G0Z25
CONT1:
N50 X0Y-70
;#7__DlgK contour definition begin -
N55 CYCLE72( "CONT1:CONT1_E", 50, Don't change!;*GP*;*RO*;*HD*
0, 2, -5, 2.5, 0.1, 0.1, 200, 200, 111, 41, 2, N190 G17 G90 DIAMOF;*GP*
20, 200, 2, 20) N200 G0 X0 Y-50 ;*GP*
N60 T2D1M6 ; quill, drill center hole N210 G1 X-50 RND=10 ;*GP*
N70 M3S2500M8 N220 Y50 RND=10 ;*GP*
N80 MCALL CYCLE82( 50, 0, 2, 0, 2, 0) N230 X50 RND=10 ;*GP*
N90 CYCLE802( 111111111, 111111111, N240 Y-50 RND=10 ;*GP*
N250 X0 ;*GP*
40, -40, 40, 40, -40, 40,
;CON,0,0.0000,5,5,MST:0,0,AX:X,Y,I,
-40, -40, ,)
J;*GP*;*RO*;*HD*
N100 MCALL ;S,EX:0,EY:-50;*GP*;*RO*;*HD*
N110 T3D1M6 ; quill; deep hole drilling ;LL,EX:-50;*GP*;*RO*;*HD*
N120 M3S2500M8 ;R,RROUND:10;*GP*;*RO*;*HD*
N130 MCALL CYCLE83( 50, 0, 2, ;LU,EY:50;*GP*;*RO*;*HD*
-20, ,-5, ,3, 0.5, 1, 1, 1, 3, 3, 0, ,0) ;R,RROUND:10;*GP*;*RO*;*HD*
N140 CYCLE802( 111111111, 111111111, ;LR,EX:50;*GP*;*RO*;*HD*
40, -40, 40, 40, -40, 40, ;R,RROUND:10;*GP*;*RO*;*HD*
-40, -40, ,) ;LD,EY:-50;*GP*;*RO*;*HD*
N150 MCALL ;R,RROUND:10;*GP*;*RO*;*HD*
;LL,EX:0;*GP*;*RO*;*HD*
;#End contour definition end - Don't
change!;*GP*;*RO*;*HD*

CONT1_E:;****CONTOUR ENDS *****

Operating and Programming — Milling Page 106 808D


s
Notes

808D Page 107 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 108


Appendix s

Unit Content
G
Functions

Group 1: Modally valid motion commands


Name Meaning
G G00 Rapid traverse
Functions
G01 * Linear interpolation
G02 Circular interpolation clockwise
G03 Circular interpolation counter-clockwise
Technical
CIP Circular interpolation through intermediate point
Support
Contact CT Circular interpolation; tangential transition
G33 Thread cutting with constant lead
G331 Thread interpolation
Useful G332 Thread interpolation - retraction
Siemens
Websites
Group 2: Non-modally valid motion, dwell

Name Meaning
End
G04 Dwell time preset
G63 Tapping without synchronization
G74 Reference point approach with synchronization
G75 Fixed point approach
G147 SAR - Approach with a straight line
G148 SAR - Retract with a straight line
G247 SAR - Approach with a quadrant
G248 SAR - Retract with a quadrant
G347 SAR - Approach with a semicircle
G348 SAR - Retract with a semicircle

808D Page 109 Operating and Programming — Milling


Appendix s

Group 3: Programmable frame Group 8: Settable zero offset


Name Meaning Name Meaning
TRANS Translation G500 * Settable work offset OFF
ROT Rotation G54 1st settable zero offset
SCALE Programmable scaling factor G55 2nd settable zero offset
MIRROR Programmable mirroring G56 3rd settable zero offset
ATRANS Additive translation G57 4th settable zero offset
AROT Additive programmable rotation G58 5th settable zero offset
ASCALE Additive programmable scaling factor G59 6th settable zero offset
AMIRROR Additive programmable mirroring
G110 Pole specification relative to the last programmed setpoint position Group 9: Frame suppression
G111 Pole specification relative to origin of current workpiece coordinate system Name Meaning
G112 Pole specification relative to the last valid POLE G53 Non-modal skipping of the settable work offset
G153 Non-modal skipping of the settable work offset including base frame

Group 6: Plane selection Group 10: Exact stop — continuous – path mode
Name Meaning Name Meaning
G17 * X/Y plane G60 * Exact positioning
G18 Z/X plane G64 Continuous — path mode
G19 Y/Z plane

Group 11: Exact stop, non-modal

Name Meaning
Group 7: Tool radius compensation
Name Meaning G09 Non-modal exact stop

G40 * Tool radius compensation OFF


Group 12: Exact stop window modally effective
G41 Tool radius compensation left of contour
Name Meaning
G42 Tool radius compensation right of contour
G601 * Exact stop window
G602 Exact stop window, course, with G60, G9

Operating and Programming — Milling Page 110 808D


Appendix s

Group 13: Workpiece measuring inch/metric Group 44: Path segmentation with SAR modally effective
Name Meaning Name Meaning
G70 Inch dimension data input G340 * Approach and retraction in space (SAR)
G71 * Metric dimension data input G341 Approach and retraction in the plane (SAR)
G700 Inch dimension data input; also for feedrate F
G710 Metric dimension data input; also for feedrate F Group 47: External NC languages modally effective
Name Meaning
Group 14: Absolute/incremental dimension modally effective G290 * Siemens mode
Name Meaning G291 External mode
G90 * Absolute dimensions data input
G91 Incremental dimension data input

Group 15: Feedrate / Spindle modally effective


Name Meaning
G94 Feedrate mm/min
G95 Feedrate F in mm/spindle revolutions

Group 16: Feedrate override modally effective


Name Meaning
CFC * Feedrate override with circle ON
CFTCP Feedrate override OFF

Group 18: Behavior at corner when working with tool radius compensation
Name Meaning
G450 * Transition circle
G451 Point intersection

808D Page 111 Operating and Programming — Milling


Appendix s

Technical
Support
Contact

Technical Support
If you have any questions about this product or this manual, contact the
hotline:

Phone +86 1064 719990

Fax +86 1064 719991

E-mail [email protected]

Useful
Siemens
Websites

SINUMERIK Internet address

Further product information can be found at the following web site:

http://www.siemens.com/sinumerik

Operating and Programming — Milling Page 112 808D


s
Notes

808D Page 113 Operating and Programming — Milling


Everything ever wanted to know about SINUMERIK 808D:
www.automation.siemens.com/mcms/m2/en/automation-systems/cnc-sinumerik/sinumerik-controls/sinumerik-
808/Pages/sinumerik-808.aspx

Everything about shopfloor manufacturing:


www.siemens.com/cnc4you

Everything about the SINUMERIK Manufacturing Excellence portfolio of services:


www.siemens.com/sinumerik/manufacturing-excellence

Information about CNC training:


www.siemens.com/sinumerik/training

Siemens AG Subject to change without prior The information provided in this brochure contains merely general
Industry Sector notice descriptions or characteristics of performance which in actual case of
Motion Control Systems Order No.: use do not always apply as described or which may change as a result
P.O.Box 3180 Dispostelle 06311 of further development of the products. An obligation to provide the
91050 ERLANGEN WÜ/35557 WERK.52.2.01 WS respective characteristics shall only exist if expressly agreed in the
GERMANY 11113.0 terms of contract.
Printed in Germany All product designations may be trademarks or product names of
© Siemens AG 2012 Siemens AG or supplier companies whose use by third parties for
their own purposes could violate the rights of the owners.

You might also like