0% found this document useful (0 votes)
65 views118 pages

EN - 808D - Operating and Programming - Milling - 2013-09

Uploaded by

Vô Thường
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)
65 views118 pages

EN - 808D - Operating and Programming - Milling - 2013-09

Uploaded by

Vô Thường
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/ 118

s

Training manual

Sinumerik 808D ADVANCED


Programming and Operating Procedures for Milling
Version 2013-09
s
Notes

Operating and Programming — Milling Page 2 808D ADVANCED


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 91~89 Pages 101~110 Pages 113~116
Information
Part 2
End
Pages 81~89

808D ADVANCED Page 3 Operating and Programming — Milling


s
Index

Absolute incremental dimensioning 32 Manual tool change 15

Editing part program 31 MDA 81

Executing M function 20 Moving axis with handwheel 16

Calculator 89 Part programming 29

Changing time 78 Protection levels 7

Creating and measuring tools 13 Program execution 57

Creating zero offsets 24 Block search 65

Cycles 40 Reference point 10

Dry run 58 RS232c and USB 69

Jogging spindle 20 Saving data 78

Tool wear 63 Simulation 53

List of programming functions 113 Subprograms 82

Manual face milling 76 Sample program 91

Manual start spindle 23 Timers/counters 61

ISO mode 101

Operating and Programming — Milling Page 4 808D ADVANCED


Preparation s
Content Basic Theory

Unit Description PPU


Function of
This unit describes the 808D ADVANCED PPU and MCP functionality, the keyboard
coordinate system of a milling machine and how to enter passwords to
access the system.
The 808D ADVANCED
panel processing unit
(PPU) is used to input
data to the CNC and to
Unit Content
navigate 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 End
OEM control panel (MCP) is
keys used to select the
machine operating
mode :
JOG - MDA - AUTO

808D ADVANCED Page 5 Operating and Programming — Milling


Preparation s

MCP User
Moving axis interface

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

The 808D machine control


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

Operating and Programming — Milling Page 6 808D ADVANCED


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
system Operating”, “Advanced Operating” and commissioning
functions all depend on the passwords.
The Sinumerik 808D
ADVANCED uses a No password Machine operator
coordinate system which is Customer’s password Advanced operator
derived from the DIN 66217 Manufacturer’s password OEM engineer
standard.
The system is an international
standard and ensures Customer’s password = CUSTOMER
compatibility between Changing Manufacturer’s password = SUNRISE
machines and coordinate password
programming. Usually the machine, operator does not need
Step 1
The primary function of the to change the password.
coordinate system is to
ensure that the tool length The service mode is opened
and tool radius are calculated with the appropriate key
correctly in the respective combination.
+
axis. 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 ADVANCED Page 7 Operating and Programming — Milling
s
Notes

Operating and Programming — Milling Page 8 808D ADVANCED


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 ADVANCED Page 9 Operating and Programming — Milling
s
Switch On
and
Referencing

SEQUENCE

Reference If your machine is configure with ABS


the encoder, you do not need to reference After completing the referencing
machine the axis of the machine. procedure for all axes, the refer-
If your machine is fitted with INC enced symbol is displayed next to
encoder, After power on, the machine the axis identifier.
Step 1 must first be referenced!

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 ADVANCED
s
Notes

808D ADVANCED Page 11 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 12 808D ADVANCED


Tool Setup s
Content SEQUENCE

Unit Description A tool must have been created and


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

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 ADVANCED 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
Press the “New tool” SK on the PPU. Step 1
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 “New edge” SK on the PPU.
Press the “Input” button on the PPU.
Operating and Programming — Milling Page 14 808D ADVANCED
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 ADVANCED 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 tool (this selection fits all axes)
changer.
The handwheel increment is “0.001 mm”

Move ma- Make sure there is no obstruction when


chine with moving the tool to avoid a crash. The handwheel increment is “0.010 mm”
handwheel

The handwheel increment is “0.100 mm”


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

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

Under “WCS” or “MCS” state, a handwheel Select the required


will be shown beside the axis symbols, axis on the right of
showing the axis is chosen, and can be the PPU; the se-
controlled with a handwheel. lected axis is
shown with a √

Operating and Programming — Milling Page 16 808D ADVANCED


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 “JOG” key on the MCP Press “Reset” on the MCP to stop the
spindle rotation
Press the “T.S.M” SK on the PPU
Press the “Back” SK on the PPU
Enter “500” at “Spindle speed”

Measure A tool must have been created and


Select “M3” using the “Select” key on tool loaded before it can be measured!
the PPU

Step 1 Measure length

Press the “Machine” key on the PPU

Press the “JOG” key on the MCP

Press the “Meas. tool” SK on the PPU


Press the “CYCLE START” key on the
MCP Press the “Measure manual” SK on the
PPU

808D ADVANCED Page 17 Operating and Programming — Milling


Tool Setup s
SEQUENCE

Use “SELECT” key to set the reference


point as “workpiece” (In real measure-
Press the axis keys on the MCP to ment, the reference point can be set as
move the tool to the set position either “workpiece” or “ fixed point” if
above the workpiece. 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 ADVANCED


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 ADVANCED 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 ADVANCED


s
Notes

808D ADVANCED Page 21 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 22 808D ADVANCED


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 direction”


Create using the “Select” key on the PPU.
workpiece
offset

Test tool
offset
results

End

Press “CYCLE START” on the MCP.

808D ADVANCED 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 ADVANCED provides the user
Press the “Back” SK on the PPU. with three methods of using tools to simplify the operating process.

Operating and Programming — Milling Page 24 808D ADVANCED


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 a piece.
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 off-
icon on the right-hand side of the PPU. set).

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 setting 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 proc-
ess, you must remeasure the length of the tool.

808D ADVANCED 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 coordi- Press the ”Save P1” SK on the PPU to save the
nate 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 ADVANCED


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 recommended G54 (select offset panel
on the right. (can also be customized) as required)
T1 D1
G00 X0 Y0 Z5
Press the “ROV” key to ensure the
“ROV” function is active (lit up).

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 ADVANCED Page 27 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 28 808D ADVANCED


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 a following structure:
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 ADVANCED 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 ed-
ited.
Create a new
program with
the “New” SK
on the right of
the PPU.
The system will save it automatically after editing.

End
Operating and Programming — Milling Page 30 808D ADVANCED
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 ADVANCED 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 inter- N20 G00 X100 Y100 Z5
All absolute path X50 Y50 preted relative to the N25 G01 Z-20
G500 X N10 T1 D1 M6 active zero point in the
data will be relative N30 Z5
N15 S5000 M3 G94 F300 program, usually with
to this position. The N20 G00 X50 Y50 Z5 N35 G00 Z500 D0
position is written in G500 Y G54 or G500 or G500 +
N25 G01 Z-20
the G500 (basic) N30 Z5 G54.
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 N10 T1 D1 M6 N10 T1 D1 M6
G54 X with G91 you can add
offset for the work- N15 S5000 M3 G94 F300
N20 G00 X0 Y0 Z5 an incremental value N15 S5000 M3 G94 F300
piece can be stored N20 G00 X3.93 Y3.93 Z0.196
G54 Y N25 G01 Z-20 (G91-defined data is the
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.
G500 X N10 T1 D1 M6
to 0 and be acti-
N15 S5000 M3 G94 F300
vated, 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 ADVANCED


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
N10 T1 D1 M6 N35 G00 Z500 D0
activated in the defined with “F”. Two types of
N15 S5000 M3 G94 F300
program, the axis N20 G00 X50 Y50 Z5 feed rate are available:
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
straight line. unparallel to axis) dle →G95 N5 G17 G90 G54 G71
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 ADVANCED 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 ADVANCED


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 pa- N45 can also be written as follows SP = start point of circle
rameters I and J are N45 G02 X125 Y15 CR=37
available. 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 ADVANCED 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:
N10 T1 D1 M6 N10 T1 D1 M6
move to the
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 op- N10 T1 D1 M6
N40 G75 X=0 ;fixed point eration 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 ADVANCED


s
Notes

808D ADVANCED Page 37 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 38 808D ADVANCED


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
centering
milling with (specified base line length of N90 G00 Z2
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 ADVANCED Page 39 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

Hole
With the “OK” SK, the values and
centering cycle call will be transferred to
the part program as shown below.
The easiest way to This will drill a hole at the current
center drill a hole position.
prior to drilling is to With the Modal call SK, holes will
use either CY- be centered at subsequent
CLE81 or CY- programmed positions until
CLE82 cancelled with the MCALL
CYCLE81: With- command in the part program.
out delay at cur- The information is transferred as
rent hole depth shown below.
CYCLE82: With
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 ADVANCED
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 with- part program.
drawal distance during deep The information is transferred as
hole 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,
90.00000, 0.70000, 0.50000, 1.00000, 0, 0, 5.00000, 1.40000, 0.60000, 1.60000)
using the vertical
N330 X20 Y20 ; Hole will be drilled
SKs and param- N335 X40 Y40 ; Hole will be drilled
eterize the cycle N340 MCALL
according to re- N345 X60 Y60 ; Hole will not be drilled
quirements.

808D ADVANCED 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 ap-
pointed 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 ADVANCED


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 ADVANCED 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 ADVANCED


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 param-
eterized 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 ADVANCED Page 45 Operating and Programming — Milling
s
Create Part
Program
Part 2

Basic Theory

Contour By selecting the “New file” SK, the contour turning data can be
milling with inserted into Sub Program File (.SPF). You can edit and change it
cycle when selected. The sequence is as follows:

The easiest way to Enter the cycle data setting


rough and finish according to the former opera-
around a contour tions in the screen and enter
is to use the con- the name of the contour sub-
tour milling func- program.
tion.
The cycle can be Press “New file ” on the PPU
found and param- to create contour information
eterized via the in the .SPF file. The cursor
“Mill.” SK. moves to the contour editing
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
cal SKs on the figure).
right.

The parameteriza-
tion is performed
as in this figure.

Operating and Programming — Milling Page 46 808D ADVANCED


s
Create Part
Program
Part 2

Basic Theory

After opening the contour data setting window, please make the following
settings:

Enter appropriate
coordinates based
on the data from the
technical drawing.

After all the settings take effect, the selected cycle and set data will be
transferred to corresponding part program automatically
(for further information, see next page).
After completing the steps, the system will re-
turn to the edit interface. Press “Technical
interface” on the PPU to return to the interface
for setting the cycle data.

After finishing the parameter settings of CYCLE72,


press the ”OK” SK on the PPU to insert the corre-
sponding cycles in the main program.

808D ADVANCED Page 47 Operating and Programming — Milling


s
Create Part
Program
Part 2

Basic Theory

With the “OK” SK, the values and the cycle call are transferred to the part For descriptions of RTP, RFP, SDIS and DP, please see page 40
program as shown below. Parameters Meanings Remarks

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)

MID=5 The maximal feed depth is 5 mm

FAL=0 Finishing allowance at the contour side is 0


mm

FALD=0 Finishing allowance at the bottom plane is 0


mm

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

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
N245 CYCLE72( "SUB_PART_1", 50.00000, 0.00000, 2.00000, -5.00000,
5.00000, 0.00000, 0.00000, 300.00000, 100.00000, 111, 41, 12, 3.00000, RL=41(absolute PL=41→use G41 to make tool compensa- PL=40→G40, PL=42→G42
300.00000, 12, 3.00000) 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
space same as for AS1

LP2=3 The radius of the return circle is 20 mm The length of the returning path
is along the line to approach

Operating and Programming — Milling Page 48 808D ADVANCED


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 param-
eterized 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 ADVANCED 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 ADVANCED


s
Notes

808D ADVANCED Page 51 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 52 808D ADVANCED


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 ADVANCED 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 ADVANCED


s
Notes

808D ADVANCED Page 55 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 56 808D ADVANCED


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
End
program storage path being
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 ADVANCED 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 ADVANCED
s
Notes

808D ADVANCED Page 59 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 60 808D ADVANCED


Machine
Pieces s
Content Basic Theory

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

Step 1

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

Time
Press the “Auto” key on the MCP.
Counter

Press the “Time counter” SK on the PPU.


Piece-
Machining

Tool
Wear

End

808D ADVANCED 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 accor-
dance with the
The “Time left” can only be counted after a “Program execu-
Step 2
successful 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 work- position where there is M01 code.
pieces 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 ADVANCED
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


compensation.

808D ADVANCED Page 63 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 64 808D ADVANCED


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

Note: The “To contour”


End
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 ADVANCED Page 65 Operating and Programming — Milling


Program
Restart s
SEQUENCE

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 ADVANCED


s
Notes

808D ADVANCED Page 67 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 68 808D ADVANCED


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 pro- USB and from the NC.
vides 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 com-
Unit Content munication SW on the PC.

Press “Program Manager” on the PPU.

Press the “RS232” SK on the PPU.


RS232
R
+
parameters Press the “Settings” SK on the PPU.
USB

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


Shared communication SW on PC.
Time
Network
change
Drive

Help Save data

Manual
Gear
face
change
milling Press the “Save” SK on the PPU.

End
Press the “Back” SK on the PPU.

808D ADVANCED 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 re-
ceive 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 send
If there is a problem during transfer of the part program, a window will be 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 ADVANCED


s
Additional
Information
Part 1

SEQUENCE

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

Step 4 Use the “Copy” and “Paste” SKs to transfer the part program from
NC to USB.

Connect a USB device with sufficient memory to the USB interface on the
PPU.
Press the “NC” SK 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 “Paste” SK on the

Step 5 Use the “Copy” and “Paste” SKs to transfer the part program from
USB to NC.
Connect the USB device with the stored target programs to the USB inter-
face on the PPU.
Press the “USB” SK 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 “NC” SK on the PPU.

Press the “Paste” SK on the


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

SEQUENCE

Shared A shared network drive can be made using an ethernet In the "local configura-
Network connection between the PC and the PPU so the tion data" in the rele-
Drive transferring and backup of NC programs can be vant parameters.
performed easier. 1
① DHCP is set to
Step 1 Set PPU IP address. "No"
2
② IP address and
Connect PC using a network cable to the rear X130 ethernet port on the subnet mask can be
PPU arbitrarily set accord-
Press key: Press key: ing to need. (Right
+
given only as an ex-
ample)
Press “Serv. Displ.” SK

Press “Service control” SK

“Local Configuration
Data" setting fin-
ished, press the
"Save" button to
activate the data set.

When the "data stor-


age end" is dis-
played, the input data
activation effect.
Press "Network Info" button to enter the
"Local Configuration Data"

Operating and Programming — Milling Page 72 808D ADVANCED


s
Additional
Information
Part 1

SEQUENCE

Step 2 Set the PC's static IP address. Step 3 On PC create a shared folder.

Anywhere on your PC create a new folder with a simple name (do not use
Ensure PC/PG is connected using a special characters). This example creates a folder named “Test”. Once
network cable to rear X130 PPU Ethernet created, right-click the folder and select “Properties.” then select the pull
port. down menu “Sharing”.

Open the PC's network connection settings,


in the "local area connection properties"
select "Internet Protocol (TCP / IP)"
And double click “Properties”.

In the dialog box, select "Use the following


IP address" and fill in the required IP
address.
(Shown right only given as an example) In the dialog window, select “Advanced Sharing”
Select "OK" to complete the setup. Then check “Share this folder”
Then select “Permissions” and check “Full control”
Select “OK” - “Ok” - “Close” to activate the settings.
In this folder you can put some machining program.
Note: The address "10.10.10.2" setting is
based on the first step in the IP address of
Step 4 Add the network drive on the PPU side to activate the shared
the PPU.
PPU and PC IP address should be kept in folder, and online processing
the same network segment.

In the “Network drive configuration” screen select


“Net drv. Config.”
808D ADVANCED Page 73 Operating and Programming — Milling
s
Additional
Information
Part 1

SEQUENCE

In the “Network Drive If the connection is lost


Configuration” Enter PC select the drive path
login user name, and press “Connect.”
password, and path of SK
where shared folder is. If your PC does not set user
In accordance to the name and password
format required. You do not need to enter This will re-establish the
connection with PC/PG.
Server: IP address
Share Name: the name This will be shown with
of the shared folder the text “Connection
succeeded”
Note: Use “TAB” key to
switching between
different tasks boxes.
Press “Add Drive” SK to add it to the specified drive letter Press “Program Manager” Button

After set successful, Press “netwo. Drive”


the screen will dis- SK to enter the network
played “Network drive drive interface.
added successfully”
while the set path is
automatically written
to the “drive” Window. Press “Enter” Button to
open network drive to
PC/PG.

Operating and Programming — Milling Page 74 808D ADVANCED


s
Additional
Information
Part 1

SEQUENCE

You can now see the


content of the shared Help
folder with all the
machining programs.
The PPU has an online help which shows the contents of standard
You can select the file documents.
you require to
execute in AUTO
mode, click “Exe. Press the “Help” key on the PPU.
Execution”.

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


The system will auto-
matically jump to The help information related to the current topic will be shown on screen.
AUTO mode, select
the appropriate NC
program. Press the “OEM Manual” SK on the PPU.
Press the “Cycle
Start” button for The online help manual of the OEM will be shown on the screen.
machining operation.

Press the “TOC” SK on the PPU.

The online help from the Siemens manual will be shown.

Note: You can also use the “Copy”, “Paste” key to achieve “NC”,
“USB” and “Network Drive” moving files.

808D ADVANCED Page 75 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 accord-
Step 1 ing to the ma-
chining require-
Press the “Machine” key on the PPU. ment.
Use the button
Press the “JOG” key on the MCP. on the right side
of the PPU to
select the cutting
Press the “Sett.” SK on the PPU. path of the tool
during machin-
Enter appropriate values in “Retraction plane” and “Safety distance”. ing.

Press the “Input” key on the PPU to activate Press the “OK” SK on the PPU
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 76 808D ADVANCED


s
Additional
Information
Part 1

SEQUENCE

Below shows the connection between program and “R variables” status


R
parameters
windows
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 values
can be set or calculated by the control system during program execution. N10 G17 G90 G54
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 preproc-
essing and buffering. The following block is not executed until all preproc-
essed and saved blocks have been executed in full. The preceding block is
stopped in exact stop (as with G9).

808D ADVANCED Page 77 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 “HMI” SK on the PPU.

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 backed


Save data 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 78 808D ADVANCED


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 is
Gear the operator’s responsibility to select the correct gear stage according to
change 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 fol-
lowing M-codes can be used to change gear in the part program:

808D ADVANCED Page 79 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 80 808D ADVANCED


s
Additional
Information
Part 2

Content SEQUENCE

Unit Description In MDA mode, you can enter and execute single and
This unit describes how to perform simple tasks on the machine and pro- MDA multiple lines of NC codes.
vides 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 PPU.

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 ADVANCED Page 81 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 functionality by Frequently used machining sequences, e.g. certain contour shapes, are
the CNC manufacturer. The M functions not yet assigned are reserved for stored in subprograms. These subprograms are called at the appropriate
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, but
M1 Stop program with M7 / M8 Coolant on 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 selected
back to the beginning automatically from several subprograms. When you create the program, the program
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 82 808D ADVANCED


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 coordinates.
Polar coordinates are also helpful if a workpiece or a part of it is
N20 L10; call Subprogram dimensioned from a central point (pole) with specification of the radius and
... L10 the angle.
The polar coordinates refer to the plane activated with G17 to G19. In
... N10 R1=34…
addition, the third axis perpendicular to this plane can be specified. When
... N20 X...Z…. doing so, spatial specifications can be programmed as cylindrical
coordinates.
... …
The polar radius RP= specifies the distance of the point to the pole. It is
N80 L10; call ... saved and must only be written in blocks in which it changes, after the pole
... M17 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:
Starting from the plus direction of X axis and rotates CCW.
M30 It is saved and must only be written in blocks in which it changes, after the
pole or the plane has been changed.
Subprograms can be called from a main program, and also from another
subprogram. In total, up to eight program levels, including the main
program, are available for this type of nested call.

808D ADVANCED Page 83 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 workpiece
● When selecting a new reference point for dimensioning
Programming example
N10 G17 ; X/Y plane
This results in the current workpiece coordinate system.
N20 G111 X17 Y36 ; pole coordinates in the current workpiece TRANS X...Y... Z... ; programmable offset(absolute)
AP=45 RP=50 coordinate system ATRANS X...Y... Z... ; programmable offset, additive to existing offset
...
(incremental)
N80 G112 X35.35 Y35.35 ; new pole, relative to the last pole as a
AP=45 RP=27.8 polar coordinate TRANS ; without values, clears old commands for offset
N90 ... AP=12.5 RP=47.679 ; polar coordinate
N100 ... AP=26.3 RP=7.344 Z4 ; polar coordinate and Z axis(= cylinder Programming example
coordinate) N20 TRANS X20.0 Y15.0 programmable offset
L10 subprogram call

Operating and Programming — Milling Page 84 808D ADVANCED


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 change.
value of RPL=...specified in degrees.
SCALE X...Y... Z... ; programmable rotation offset (absolute)
ROT RPL=... ; programmable rotation offset (absolute). ASCALE X...Y... Z... ; programmable offset, additive to existing offset
AROT RPL=… ; 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
separate block.
N10 G17 Programming example
N20 AROT RPL=45 additive 45 degree rotation N10 G17
L10 subprogram call N20 SCALE X2.0 Y2.0 ;contour is enlarged two times in X and Y
L10 subprogram call

808D ADVANCED Page 85 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, scal- N35 S5000 M3 G94 F300 N40
N40 G00 X-28 Y 30 N45
ing functions mentioned above. N50 LAB1:milling start sign
N45 G00 Z2
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
N130 ASCALE X1.3 Y1.3 N110 machining the same groove at the new
negative direction position
N135 REPEAT LAB1 LAB2 P1
②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 86 808D ADVANCED


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 within ...
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
program) N80 GOTOF LABEL1; jumps to label LABEL1

GOTOB+ label:Jump backward (in the direction of the start block of the N90 LABLE2:
program)
M30; program ends
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 ADVANCED Page 87 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 88 808D ADVANCED


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 on If the input field is already occupied by a value, the calculator
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 ADVANCED Page 89 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 90 808D ADVANCED


Sample
Program s
Content Drawing

Unit Description
Milling Make sure all the preparations and
program 1 safety measures have been performed
This unit shows three typical program examples of frequently used milling
cycles and the corresponding machining diagrams with detailed explana- before 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 ADVANCED Page 91 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 N200 Repeat N160 ~ N190 operation three
N30 M6 N200 REPEAT _ANF _END P=3
N40
N40 S4000 M3 M8 ; ======Cancel rotation======= times
N50
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, 0, and the width are 50 mm, feedrate 400 mm/ ing========= ; ===Start ① rectangular pocket finish-
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, 0, 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、
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.
N110 tool 2 is face milling tool, diameter 8 ; ==Adaptive rotation around Z axis===
N130 S4000 M3 milling 3 times=========
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, , , ,
N170 milling rectangular groove (depth 5 ; =====Cancel rotation===========
2, 2)
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 92 808D ADVANCED


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 measures have been performed before
roughing============== N300 milling circular groove (depth 5 mm, program 2
N300 POCKET4( 50, 0, 2, -5, 7.5, 0, 0, 2.5, 0.1, radius 7.5 mm, groove base point coordi- machining!
0.1, 300, 200, 0, 21, 2, , , 4, 1) nate (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, 0.1, ; =====Start circular pocket finishing=====
0.1, 300, 200, 0, 12, 2, , , 4, 1) N320 milling circular groove (depth 5 mm,
N330 G0 Z100 radius 7.5 mm, groove basic point coordi-
; =========Start drilling========== nate(X0,Y0), the clamping angle between
N340 T3 D1 ;DRILL D3 the groove vertical axis and plane X axis
N350 M6 is 0), finish machining allowance 0.1 mm,
milling direction is positive, finish machin-
N360 S5000 M3
ing, use G1 vertical groove center to
N370 G0 X0 Y0 insert.
N380 MCALL CYCLE81( 50, 0, 2, -5, 0) N330 G0 Z100
N390 HOLES2( 0, 0, 10, 45, 60, 6) ; =========Start drilling========== Workpiece zero
N400 MCALL N340 3 tool is drilling tool diameter 3 mm point is located in
N350
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 ADVANCED Page 93 Operating and Programming — Milling
Sample
Program s
Machining Process

N10 G17 G90 G60 G54 N10 SUB_PART_2.SPF ***CONTOUR****


N20 T1 D1 ;FACEMILL D50 N20 tool 1 is milling tool, diameter 50 mm
N30 G17 G90
N30 M6
N40 G0 X3 Y3
N40 S3500 M3 N50 back to workpiece zero point G2 X3.27 Y-40.91 I=AC(-52.703) J=AC(-
N50 G0 X0 Y0 N60 19.298)
N60 G0 Z2 ; =========Start face milling====== G3 X46.27 Y-47 I=AC(38.745) J=AC(54.722)
; =======Start face milling======== N70 start point (X0,Y0), the length and the G1 X42 Y-8
N70 CYCLE71( 50, 1, 2, 0, 0, 0, 50, -50 , , width are 50 mm, feedrate 300 mm/min, X3 Y3
finishing allowance 0.1 mm, along the direction M2;/* end of contour */
1, 40, , 0.1, 300, 11, )
parallel to the X axis to perform the rough
N80 S4000 M3 machining
N90 CYCLE71( 50, 0.1, 2, 0, 0, 0, 50, -50 , , N80
1, 40, , 0, 250, 32, ) N90 start point (X0,Y0), the length and the
; ======Start contour milling====== width are 50 mm, feedrate 250 mm/min, finish-
N100 T2 D2 ;END MILL ing allowance 0, along the direction parallel to
the X axis to perform the finish machining
N110 M6
; =====Start contour milling=======
N120 S3500 M6 N100 tool 2 is milling tool
N130 CYCLE72( "SUB_PART_2", 50, 0, 2, - N110
5, 2, 0.1, 0.1, 300, 300, 11, 42, 1, 4, 300, 1, 4) N120
; =======Start path milling with radius N130 contour cutting depth 5 mm, all finishing
allowances 0.1 mm, the feedrate of surface
compensation ========
machining and cutting direction 300 mm/min,
N140 T4 D1 ;ENDMILL D10 use G42 to activate the compensation, use G1
N150 M6 to do rough machining, approaching path is
N160 S4000 M3 along a straight line, length 4 mm, the parame-
N170 G0 X55 Y-15 ters of feedrate/path/length in retraction and
approach are equal.
N180 G0 Z2 ; ====Start path milling with radius com-
N190 G1 F300 Z-8 pensation ===
N200 G42 G1 Y-15 X50 N140 tool 4 is face milling tool, diameter 10
N210 G1 X44 Y-2 RND=2 mm
N220 G1 Y0 X 22 N150
N160
N230 G40 Y30 N170
N240 M30 N180
N190
N200 G42 activate tool radius compensation
N210 starts from (X44,Y-2) insert a reverse
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 94 808D ADVANCED


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

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

Operating and Programming — Milling Page 96 808D ADVANCED


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
N620 N810 T8 D1 N820 hint:change to tool 8
N610 MSG ("Please change to Tool No 6") N630 N820 MSG ("Please change to Tool No 8") N830
N620 M05 M09 M00 N640 N840
N650 CYCLE82 mode recall command active N830 M05 M09 M00
N630 S6000 M3 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 milling) stops for 0.7 s, after the cycle,
N660 HOLES2( 36, 24.1, 10, 90, 60, 6) 5, , 2, 5, 5, 5, 3, 0, 0, 0, 5, 1.4 )
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======== retraction value is 1.4 mm
N690 N890 SUPA G00 Z500 D0
; =========Drilling start========== N860 hole arrangement circular center
N700 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========== N910
milling, tool axis is Z axis, minimal depth
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 ADVANCED Page 97 Operating and Programming — Milling


Sample
Program s
Machining Process

SUB_PART_3.SPF ***CONTOUR****
G17 G90 DIAMOF
G0 X7 Y0
G1 Y61.35
G2 X13.499 Y86 I=AC(57) J=AC(61.35)
G1 X63 RND=2
Y0
M2;/* end of contour */

Operating and Programming — Milling Page 98 808D ADVANCED


s
Notes

808D ADVANCED Page 99 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 100 808D ADVANCED


ISO
Mode s
Content Basic Theory

Unit Description ISO Siemens standard machining codes are implemented in


function DIN mode. The 808D ADVANCED also provides also
This unit describes the ISO operating functions in 808D ADVANCED, com- switch provides appropriate functions for implementing the ISO
pares the similarities and differences of the machining code in DIN mode commands, but the ISO mode must be activated during
and ISO mode and shows how to transfer and implement the ISO machin- operation.
ing program. The examples is ISO mode chapter can be run in 808D AD-
ISO function switch
VANCED ISO mode.
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
function A dialog box appears prompting whether
switch to activate the new setting. Select the
“OK” SK to activate it.
ISO
code
explanation

ISO program
transfer and
operation

End

808D ADVANCED Page 101 Operating and Programming — Milling


ISO
Mode s
Basic Theory

After pressing “OK”, the


ISO All the ISO codes described in this unit
system restarts automati-
code can be implemented in the ISO mode of
cally. explanation the 808D ADVANCED system!
After restarting, press “Shift”
+ “System - Alarm” again Brief description of typical, frequently used ISO codes
and if the symbol in the red
ISO code Description Compare
circle appears, ISO mode is with DIN
already activated.
G00 Orientation (rapid traverse) As DIN

G1 Linear difference As DIN


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 com-
pensation

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 102 808D ADVANCED


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- Start point
assigned negative values
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 ADVANCED Page 103 Operating and Programming — Milling


ISO
Mode s
Basic Theory

Frequently used letter meanings of typical fixed cycle codes in ISO mode 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
K
G81 ~ G87 / G89 ;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 ADVANCED, the default ISO program feed distance the hole → spindle rotation Y750 ;after orientation drill 6th hole, back to R
unit is mm!(X100→100mm) in positive direction pointG80 ;cancel fixed cycle
③ 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. → 100 M30
mm

Operating and Programming — Milling Page 104 808D ADVANCED


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 M3 S2000 ;spindle rotation
G82 X—Y—Z—R—P—F—K
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: M3 S2000 ;spindle rotation
M3 S2000 ;spindle rotation G83 X—Y—Z—R—Q—F—K
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
G28 G91 X0 Y0 Z0 ;back to reference point
M5 ;spindle rotation stop
M30

808D ADVANCED Page 105 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, G86
Motion process: Motion process: 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 106 808D ADVANCED


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 ADVANCED can easily
Common programming structures: transfer and
Fixed cycle Ⅱ→
spindle start operation
operate the existing 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 inter-
spindle stops Z Point
face 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 ADVANCED have
their own rules. Suitable changes must be made at the
Z Point Z Point
Using G98 Using G99 appropriate positions so that you can run the ISO
spindle stop spindle stop programs!

808D ADVANCED Page 107 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 Press the “NC” SK on the PPU.
method!)
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 108 808D ADVANCED


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 ADVANCED Page 109 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).
; SUB_PART_4.SPF

N10 T1D1M6 ; contour milling tool


G17 G90 DIAMOF
N20 G54G90G40G17
N30 M3S2000M8
G0 X0 Y-50
N40 G0Z25 G1 X-50 RND=10
N50 X0Y-70 Y50 RND=10
N55 CYCLE72( "SUB_PART_4", 50, 0, 2, X50 RND=10
-5, 2.5, 0.1, 0.1, 200, 200, 111, 41, 2, 20, Y-50 RND=10
200, 2, 20) X0
N60 T2D1M6 ; quill, drill center hole M2;/* end of contour */
N70 M3S2500M8
N80 MCALL CYCLE82( 50, 0, 2, 0, 2, 0)
N90 CYCLE802( 111111111, 111111111,
40, -40, 40, 40, -40, 40,
-40, -40, ,)
N100 MCALL
N110 T3D1M6 ; quill; deep hole drilling
N120 M3S2500M8
N130 MCALL CYCLE83( 50, 0, 2,
-20, ,-5, ,3, 0.5, 1, 1, 1, 3, 3, 0, ,0)
N140 CYCLE802( 111111111, 111111111,
40, -40, 40, 40, -40, 40,
-40, -40, ,)
N150 MCALL

Operating and Programming — Milling Page 110 808D ADVANCED


s
Notes

808D ADVANCED Page 111 Operating and Programming — Milling


s
Notes

Operating and Programming — Milling Page 112 808D ADVANCED


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 ADVANCED Page 113 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 114 808D ADVANCED


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
Transformations
Group 15: Feedrate / Spindle modally effective Name Meaning
Name Meaning TRACYL Cylinder. Peripheral surface transformation
G94 Feedrate mm/min TRANSMIT Transmit: Polar transformation
G95 Feedrate F in mm/spindle revolutions TRAFOOF Deactivate transformation

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 ADVANCED Page 115 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 116 808D ADVANCED


s
Notes

808D ADVANCED Page 117 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