808D - Programming and Operating Procedures - Milling - 0113 - en
808D - Programming and Operating Procedures - Milling - 0113 - en
Training manual
Contents
Switch On and Tool Setup
Preparation
Referencing
Pages 5~7 Pages 9~10 Pages 13~20
Workpiece
Setup
Pages 23~27
Create Part
Program
Part 1
Pages 29~36
Machine Test Simulate
Pieces Program Program
Pages 61~63 Pages 57~58 Pages 53~54 Create Part
Program Program
Restart Part 2
Pages 65~66 Pages 39~51
Additional
Information
Part 1
Pages 69~75
Sample
ISO Mode Appendix
Program
Additional Pages 87~94 Pages 97~106 Pages 109~112
Information
Part 2
End
Pages 77~85
PPU
User
Function of
interface Menu navigation
keyboard Operating area
navigation
Machine
MCP mode MCP mode
coordinate
Changing Changing
system
MCP
Passwords
Moving axis
MCP User
Moving axis interface
Axis remove
The 808D machine control
panel (MCP) is used to con-
trol manual operation of the
axis.
The machine can be moved
with the appropriate keys. 808D (PPU) has
eight vertical softkeys
(abbr. SKs) on the
MCP right of the screen.
OEM These SKs can be
keys activated with the
corresponding button
(located on the right).
OEM
keys
Step 2
End
808D Page 7 Operating and Programming — Milling
s
Notes
Content SEQUENCE
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!
End
808D Page 9 Operating and Programming — Milling
s
Switch On
and
Referencing
SEQUENCE
Reference
the
After power on, the machine must first
After completing the referencing
machine be referenced!
procedure for all axes, the refer-
enced symbol is displayed next to
the axis identifier.
Step 1
End
Operating and Programming — Milling Page 10 808D
s
Notes
Load tool
JOG
into active
spindle
position
Move ma-
chine with Execute M
handwheel function
End
Step 2 The range of tool numbers which can be created Create tool A tool must have been created and
by this system is 1 ~32000. edge
The machine can be loaded with a maximum of selected before creating a tool edge!
64 tools / 128 tool edges.
Use “D” code to specify the tool edge. The system activates tool
Step 1
Press the “New tool” SK on the PPU. edge no. 1 per default at the start.
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.
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.
The tool are usually loaded manually into the spindle. Select the required override increment
according to the buttons on the right
The tool will be automatically loaded into the spindle with an automatic (this selection fits all axes)
tool changer.
The override increment is
“0.001 mm”
Move ma- Make sure there is no obstruction when
chine with moving the tool to avoid a crash. The override increment is
handwheel “0.010 mm”
Press the “Machine” key on the PPU The selected axis can now be moved with the handwheel.
Press the “T.S.M” SK on the PPU Press “Reset” on the MCP to stop the
spindle rotation
Press the “CYCLE START” key on Press the “JOG” key on the MCP
the MCP
Press the “Meas. tool” 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
or
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.
Test tool
offset
results
End
Method1 This method is normally for setting the zero point of the work- Press the “Handwheel”
piece at the edge of the workpiece. key on the MCP to
position the tool at the
X0 edge of the work-
Using a tool that has a measured “Tool length & radius”, move the tool to piece.
a known position on the workpiece. Using either JOG or Handwheel,
scratch an edge and then calculate the zero point of the workpiece.
The process of setting the “X” zero point (“X0”) is described below.
Press the corresponding SK of the first Select “Save in” Offset “G54” (or other
icon on the right-hand side of the PPU. offset).
Method 2 This method is normally used for setting the workpiece zero Method 3 This method is normally used for setting the zero points at the
point at the center point of a rectangular workpiece. center point of a circular workpiece.
Using tools with a measured “length and radius”, move them to the four Using tools with a measured “length and radius”, move them to the three
edges of the rectangular workpiece. Using either JOG or Handwheel, edges of the circular workpiece. Using either JOG or Handwheel, scratch
scratch an edge and then calculate the zero point of the workpiece. an edge and then calculate the zero point of the workpiece.
Press the corresponding SK of the second icon on the Press the corresponding SK of the third icon on the
right-hand side of the PPU. right-hand side of the PPU.
Observing the figure on the PPU, move the coordinate axis following the Observing the figure on the PPU, move the coordinate axis following the
orange arrow to move the tool to the specified position and scratch the orange arrow to move the tool to the specified position and scratch the
edge of the workpiece. edge of the workpiece.
Press the ”Save P1” SK on the PPU to save the coor- Press the ”Save P1” SK on the PPU to save the
dinate axis of the 1st position in the system. coordinate axis of the 1st position in the system.
Repeat the process for positions 2, 3 and 4. Repeat the process for positions 2 and 3.
(When the setting is complete, the buttons will be (When the setting is complete, the buttons will be
shown in blue.) shown in blue.)
Press the “Set WO” SK on the PPU. Press the “Set WO” SK on the PPU.
In order to ensure the machine safety and correctness, the results of the
tool offset should be tested appropriately.
Note: The ROV function activates the feedrate override switch under
the G00 function.
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
SEQUENCE
Basic Theory
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.
Basic Theory
Or
G54 G55 G56 G57 N5 G17 G90 G54 G71 G91 N5 G17 G90 G54 G70
G58 G59 X50 Y50 Relative positioning;
With G500 = 0, the G54 X N10 T1 D1 M6 N10 T1 D1 M6
N15 S5000 M3 G94 F300 with G91 you can add
offset for the work- an incremental value N15 S5000 M3 G94 F300
piece can be stored N20 G00 X0 Y0 Z5
G54 Y N25 G01 Z-20 (G91-defined data is the N20 G00 X3.93 Y3.93 Z0.196
in the G54 workpiece N30 Z5 relative positioning N25 G01 G91 Z-0.787
offset. N35 G00 Z500 D0
using the present posi- N30 Z0.196
tion as the start point). N35 G00 G90 Z19.68 D0
Or Finally you should
G54 X0 change the program to
G500 + G54 N5 G17 G90 G500 G71
G54 Y0 absolute positioning with
With G500 unequal G90.
to 0 and be activat- G500 X N10 T1 D1 M6
N15 S5000 M3 G94 F300
ed, the value in N20 G00 G54 X20 Y20 Z5
G500 will be added G500 Y
N25 G01 Z-20
to the value in G54. N30 Z5
N35 G00 G53 Z500 D0
Basic Theory
Basic Theory
Basic Theory
Milling
circles and Determine tool radius of T1 D1 J
arcs
Y
N5 G17 G90 G500 G71 Tool motion direction
The circle radius shown
I
in the example on the X100, Y50
N10 T1 D1 M6 X0, Y50 X
right can be produced
N15 S5000 M3 G94 F300 SP
with the specified part N20 G00 X-20 Y-20 Z5
program code. N25 G01 Z-5
When milling circles N30 G41 X0 Y0 (J) -35
and arcs, you must N35 Y50
define the circle center N40 X100 X125, Y15
point and the distance N45 G02 X125 Y15 I-12 J-35 CP
N50 G01 Y0 (I) -12 EP
between the start
N55 X0
point / end point and N60 G40 X-20 Y-20
the center point on the N35 G00 Z500 D0
relative coordinate. X0, Y0 X110, Y0
When working in the
XY coordinate system, Note:
the interpolation param- N45 can also be written as follows SP = start point of circle
eters I and J are availa- N45 G02 X125 Y15 CR=37
ble. CP = center point of circle
Basic Theory
Moving to a
Controlling
fixed
the spindle
position
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.
Basic Theory
Basic Theory
Select
“Deep hole drilling” N325 MCALL CYCLE83( 50.00000, -3.00000, 1.00000, ,9.24000, ,5.00000,
using the vertical 90.00000, 0.70000, 0.50000, 1.00000, 0, 0, 5.00000, 1.40000, 0.60000, 1.60000)
N330 X20 Y20 ; Hole will be drilled
SKs and parame- N335 X40 Y40 ; Hole will be drilled
terize the cycle N340 MCALL
according to re- N345 X60 Y60 ; Hole will not be drilled
quirements.
Basic Theory
DAM parameter
For descriptions of RTP, RFP, SDIS and DP, please see page 40
①DAM≠0, the first drilling operation(FDPR)cannot exceed the drilling depth. As of
FDEP=5 Reach first drilling hole depth. Z axis the second drilling operation, the drilling is acquired from the last depth operation
coordinate is -5 (drilling depth=last drilling depth-DAM). The calculated drilling must be >DAM. If the
(absolute coordinate value) calculated drilling is ≤DAM, as of the next feed, the DAM value will be the feed depth
FDPR=5 From the reference plane, drill down- until the end of the feed. If the last remaining depth is <DAM, then drilling is per-
wards 5mm formed automatically until the required depth is reached.
DAM=90 Decrement is 90 ②DAM=0,drilling depth each time is same as the 1st drilling depth (FDPR),
In case the residual depth <2xFDPR,the last 2 cutting depth are half of the residual
DTB=0.7 Pause 0.7 s during final tapping of DTB <0: Unit is r depth.
thread depth (discontinuous cutting)
DTS=0.5 Stops at the start position for 0.5 s DTS <0: Unit is r Example:40 mm deep hole as an example, with DAM=2 mm and DAM=0 mm feed
(for VARI=1,removal active)
Feed Every feed depth/ Actual depth/ Feed Every feed depth/ Actual depth/
times mm mm times mm mm
FRF=1 Original effective feed rate remains Feed rate modulus DAM=2 DAM=0
(range:0.001~1) unchanged
1. FDPR=10 -10 1. FDPR=10 -10
VARI=0 Interruption in drilling is active VARI=1 retraction of active quill back 2. FDPR-DAM=10-2=8 -18 2. FDPR=10 -20
to reference plane
3. (FDPR-DAM)-DAM -24 3. FDPR=10 -30
AXN=3 AXN is tool axis,under appointed The value of AXN decides which axis
=8-2=6
G17 use Z axis to use
4. (FDPR-2DAM)- -28 Remaining depth =10 < 2xFDPR,the
MDEP=5 Minimal drilling depth 5 mm This parameter activates only when DAM =6-2=4 remaining depth distribute by the last two
DAM <0 drilling
VRT=1.4 Interruption in drilling, the retraction VRT=0 → retraction value is 1mm 5. (FDPR-3DAM)- -30 4. 5 -35
value of the quill is 1.4 mm DAM =4-2=2
VRT>0 → retraction value is appoint-
ed value 6. DAM=2 -32 5. 5 -40
DTD=0.6 Pauses at the position of final drilling DTD <0:unit is r, DTD =0:same as 7. DAM=2 -34 6.
depth for 0.6 s DTB
8. DAM=2 -36 7.
DIS1=1.6 When reinserting a quill, you can For specific explanations please refer
program a distance limit of 1.6 mm to the standard handbook
9. DAM=2 -38 8.
Basic Theory
→
Select “Thread”
using the vertical
SKs ,and then se-
lect “Rigid tapping”,
and parameterize
the cycle according
to requirement.
808D Page 43 Operating and Programming — Milling
s
Create Part
Program
Part 2
Basic Theory
For descriptions of RTP, RFP, SDIS, DP and DTB, please see page 40
For descriptions of AXH, VARI, DAM and VRT, please see page 42
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
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.
Basic Theory
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)
Basic Theory
Contour The contour can be edited and stored in the main program file
milling with after the M30 command when using the “Attach contour” SK.
cycle
Enter the cycle data setting
The easiest way to according to the former opera-
rough and finish tions in the screen and enter
around a contour the name of the contour sub-
is to use the con- program.
tour milling func-
tion.
The cycle can be Press the “Attach contour” SK
found and param- on the PPU. This will create a
eterized via the “contour information segment”
“Mill.” SK. at the end of the program,
and the cursor will move to
the writing position
automatically.
Basic Theory
When you have opened the screen for setting the contour data, you can The selected di-
make the following settings: rection is shown at
the top left side of
Enter appropriate PPU.
start point coordi-
nates as in the The meanings of
machining figure the highlighted
and select the positions is shown
correct approach. at the bottom of
the PPU screen.
Basic Theory
After completing the steps, the system will re- For descriptions of RTP, RFP, SDIS and DP, please see page 40
turn to the edit interface. Press “Technical Parameters Meanings Remarks
interface” on the PPU to return to the interface
for setting the cycle data. KNAME= Set the name of the contour subprogram The first two positions of the
CONT1:CONT1_E as “CONT1” program name must be letters
(“:CONT1_E” is automatically created)
After finishing the parameter settings of CYCLE72,
press the ”OK” SK on the PPU to insert the corre- MID=5 The maximal feed depth is 5 mm
sponding cycles in the main program. FAL=0 Finishing allowance at the contour side is 0
mm
With the “New” SK and “Contour milling”, the operation can be FALD=0 Finishing allowance at the bottom plane is 0
edited and saved in a subprogram. mm
The editing in the subprogram is the same as above. FFP1=300 Tool feed rate on plane is 300 mm/min
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
AS2=12 Return along the 1/4 circle on the path in Parameter explanations are the
N245 CYCLE72( "CONT1:CONT1_E", 50.00000, 0.00000, 2.00000, -5.00000, space same as for AS1
5.00000, 0.00000, 0.00000, 300.00000, 100.00000, 111, 41, 12, 3.00000,
LP2=3 The radius of the return circle is 20 mm The length of the returning path
300.00000, 12, 3.00000) is along the line to approach
Basic Theory
With the “OK” SK, the values and cycle call will be trans-
Milling slots ferred to the part program as shown below.
and spigots
This will perform milling at the position defined in the
cycle.
The easiest way to
mill a slot is to use
the SLOT2 cycle.
The cycle can be
found and parame-
terized via the “Mill.”
SK.
Select “slot”
using the vertical
SKs and parameter-
ize the cycle accord-
ing to requirement.
Basic Theory
INDA=90 Incremental angle, angle between the slots is 90º INDA=0, cycle will calculate
the incremental angle automati-
cally
CDIR=3 Milling direction G3 (in negative direction) Evaluate value 2→use G2 (in
positive direction)
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
Before recalling the cycle, you must set the tool radius compensation value.
Step 1
Module Content The part program must be opened using the “Program Manager” on PPU.
Simulate pro-
gram(Axis do
not move)
End
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.
End
Unit Content
Program
Execution
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.
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.
After finishing the dry run, please turn the changed offset
Press the “Input” key of the PPU. back to the original value in order to avoid affecting the
actual machining!
Operating and Programming — Milling Page 58 808D
s
Notes
Unit Description
Time Coun- Make sure the machine has been refer-
This unit describes how to use the Time counter function and how to ter enced before machining workpieces!
machine pieces and the compensation setting for the tool wear.
Step 1
Unit Content
Press the “Machine” key on the PPU.
Time Coun-
Press the “Auto” key on the MCP.
ter
Tool
Wear
End
“Cycle time” shows how long the pro- Machine Make sure the program is correct before
gram has been running. Pieces machining pieces!
“Time left” shows how much time re- Set the program in
mains before the program ends. the ready-to-start
status as shown on
the left in accord-
ance with the
The “Time left” can only be counted after a suc- “Program execu-
Step 2
cessful cycle run of a part program! tion” sequences.
Perform the
Select “Yes” or “No” to decide whether relevant safety
to activate the counter (press the
“Select” key to activate the choice). precautions!
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)
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 “Back” SK on the PPU. Press the “CYCLE START” key on the MCP to execute
the program.
Turn the feedrate override on the MCP gradually to the required value.
Content SEQUENCE
Adjust the parameter settings on the PPU to match the settings of the
Unit Content communication SW on the PC.
Manual
Gear
face
change
milling
End
R
parameters
Press the “Save” SK on the PPU.
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.
The PPU will display a window showing the progress of the transfer. Press the “Accept” SK on the PPU.
The PPU will display a window showing the progress of the transfer.
SEQUENCE
“USB” is used to transfer the programs to and from the NC. Help
Step 4 Use the “Copy” and “Paste” SKs to transfer the part program
from NC to USB. The PPU has an online help which shows the contents of standard docu-
ments.
Connect a USB device with sufficient memory to the USB interface on the
PPU.
Press the “NC” SK on the PPU. Press the “Help” key on the PPU.
Press the “USB” SK on the PPU. Press the “Cur. Topic” SK on the PPU.
Press the “Paste” SK on the The help information related to the current topic will be shown on screen.
Step 5 Use the “Copy” and “Paste” SKs to transfer the part program
from USB to NC. Press the “OEM Manual” SK on the PPU.
Connect the USB device with the stored target programs to the USB The online help manual of the OEM will be shown on the screen.
interface on the PPU.
Press the “USB” SK on the PPU.
Use “Cursor + Select” to select the required part program. Press the “TOC” SK on the PPU.
The selected program will be highlighted. +
The online help from the Siemens manual will be
Press the “Copy” SK on the PPU. shown.
SEQUENCE
Step 2
Manual
face Press “Face cutt.” SK on PPU.
cutting
Enter appropri-
“Face cutting” is used to cut the oversized materials on the rough face ate data in the
before starting to machine. ”Face Milling”
window ac-
Step 1 cording to the
machining
Press the “Machine” key on the PPU. requirement.
Use the but-
Press the “JOG” key on the MCP. ton on the
right side of
the PPU to
Press the “Sett.” SK on the PPU. select the
cutting path of
Enter appropriate values in “Retraction plane” and “Safety distance”. the tool during
machining.
Press the “Input” key on the PPU Press the “OK” SK on the PPU
to activate the settings.
The system
now automati-
cally creates
the programs.
SEQUENCE
R
parameters
Press the “Offset” key on the PPU.
The arithmetic parameters are used in a part program for value assign- Press the “R var.” SK on the PPU.
ment, and also for some necessary value calculations. The required val-
ues can be set or calculated by the control system during program execu- N10 G17 G90 G54
tion. Some of the common arithmetic functions are shown below: N20 T1 D1
N30 S2500 M03 M08
Arithmetic parameters Meaning N40 G00 X-10.0 Y0 Z10
+ Addition N50 R1=0 R2=0 R3=0
- Subtraction N60 STOPRE
* Multiplication N70 M00
/ Division N80 R1=1
= Equals N90 STOPRE
Sin() Sine N100 M00
COS() Cosine N110 R2=2
TAN() Tangent N120 STOPRE
ASIN() Arcsine N130 M00
ACOS() Arccosine N140 R3=R1+R2
ATAN2( , ) Arctangent2 N150 STOPRE
SQRT() Square root N160 G00 X=R3
ABS() Absolute value N170 M30
Note:
Reprocessing stop
Programming the STOPRE command in a block will stop block prepro-
cessing and buffering. The following block is not executed until all prepro-
cessed and saved blocks have been executed in full. The preceding
block is stopped in exact stop (as with G9).
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.
SEQUENCE
Press the “OK” SK on the PPU. Gear stages M40, M41, M42, M43, M44 and M45 are available.
Example:
The machine tool manufacturer specifies a speed range for each gear
stage:
If the operator is manually selecting the gear stage in the part program, it
Gear is the operator’s responsibility to select the correct gear stage according
change to the required speed.
Content SEQUENCE
Unit Description In MDA mode, you can enter and execute single
This unit describes how to perform simple tasks on the machine and MDA and multiple lines of NC codes.
provides some additional information which may be required to operate
the machine correctly.
Part 2 Use MDA to move the axis to a fixed position.
Subpro-
Scaling Calculator
gram
End
Polar Program
coordinates example
SEQUENCE
M/H Subpro-
function gram
M30 End program and M40 Select gear stage The subprogram should be given a unique name enabling it to be select-
back to the beginning automatically ed from several subprograms. When you create the program, the pro-
gram name may be freely selected.
M17 End subprogram M41~M45 Change spindle gear However, the following rule should be observed:
M3 / M4 / M5 Spindle CW/CCW/ The name can contain letters, numbers and underscores and should be
Stop between 2 and 8 characters long.
Example: LRAHMEN7
SEQUENCE
Main program
Sequence Polar
coordinates
MAIN 123
...
Basic Theory
Basic Theory
Coordinate
rotation Scaling
ROT AROT
The programmable rotation ROT, AROT can be used: A scale factor can be programmed for all axes with SCALE, ASCALE. The
path is enlarged or reduced by this factor in the specified axis. The cur-
The rotation is performed in the current plane G17, G18 or G19 using the rently set coordinate system is used as the reference for the scale
value of RPL=...specified in degrees. change.
ROT RPL=... ; programmable rotation offset (absolute). SCALE X...Y... Z... ; programmable rotation offset (absolute)
AROT RPL=… ; programmable offset, additive to existing offset ASCALE X...Y... Z... ; programmable offset, additive to existing offset
(incremental) (incremental)
ROT ; without values, clears old commands for offset
If a program contains SCALE or ASCALE, this must be programmed in a
N10 G17 separate block.
N20 AROT RPL=45 additive 45 degree rotation Programming example
L10 subprogram call N10 G17
N20 SCALE X2.0 Y2.0 ;contour is enlarged two times in X and Y
L10 subprogram call
Basic Theory
Basic Theory
Program execution
Program
jump
N10 G0 X...Z...
...
NC programs process their blocks in the sequence in which they were ...
arranged when they were written. The processing sequence can be
N40 GOTOF LABEL0; jumps to label LABEL0
changed by introducing program jumps. The jump destination can be a
block with a label or with a block number. This block must be located with- ...
in the program. The unconditional jump command requires a separate ...
block.
N70 LABEL0: R1=R2+R3
GOTOF+ label:Jump forward (in the direction of the end block of the N80 GOTOF LABEL1; jumps to label LABEL1
program) N90 LABLE2:
GOTOB+ label:Jump backward (in the direction of the start block of the
M30; program ends
program)
Label: Name of the selected string (standing for the required jump N110 LABEL1:
Basic Theory
Method 2
Program
skip Press the “Machine” key on the PPU.
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.
Use this SK to accept the input and write the values to the
You can use the calculator to calculate contour elements, values in the required position.
program editor, tool offsets and workpiece offsets and enter the results If the input field is already occupied by a value, the calculator
on the screen. will take this value into the input line.
Use the “Accept” SK to enter the result in the input field at the
current cursor position of the part program editor. The calcu-
lator will then close automatically.
Press the “=“ SK on the PPU.
Unit Description
Milling Make sure all the preparations and safe-
program 1 ty measures have been performed be-
This unit shows three typical program examples of frequently used milling
cycles and the corresponding machining diagrams with detailed explana- fore machining!
tions.
Unit Content
Milling
program 3
Tool information:
End
T1 Milling tool D50
T2 Milling tool D8
Note: All the program examples in this book are only for reference. If
you want to perform actual operations, please adjust the tool offset,
coordinate moving range, workpiece plane settings, etc. according to
the actual machine conditions! Actual effect
808D Page 87 Operating and Programming — Milling
Sample
Program s
Machining Process
N10 G17 G90 G54 G60 ROT N10 ; =======Repeat rectangular pocket milling ; ====Repeat ② ③ ④ rectangular pocket
N20 T1 D1; FACEMILL N20 tool 1 is plane milling tool 3 times========== milling 3 times=====
N30 M6 N30 N200 REPEAT _ANF _END P=3 N200 Repeat N160 ~ N190 operation three
N40 times
N40 S4000 M3 M8 N50 ; ======Cancel rotation=======
N50 G0 X-40 Y0 N210 ROT ; =======Cancel rotation=========
N60
N210 cancel all the coordinate rotation com-
N60 G0 Z2 ; =========Start face milling======== N220 S4500 M3
mands
; ========Start face milling========= N70 start point (X-25,Y-25), the length ; ========Start rectangular pocket finish- N220
N70 CYCLE71( 50, 1, 2, 0, -25, -25, 50, 50, and the width are 50 mm, feedrate 400 mm/ ing========= ; ===Start ① rectangular pocket finish-
0, 1, , , 0, 400, 11, ) min, along the direction parallel to the X axis to N230 _ANF1:
perform roughing. ing===
N80 S4500 N240 POCKET3( 50, 0, 2, - 5, 13, 10, 4, -13, N230 _ANF1: Milling start sign
N80
N90 CYCLE71( 50, 1, 2, 0, -25, -25, 50, 50, N90 repeat the process in N80 , the differ- 16, 0, 2.5, 0.1, 0.1, 300, 200, 2, 2, 2.5, , , , N240 milling rectangular groove (depth、
0, 1, , , 0, 400, 32, ) ence between the two:along the alternate 2, 2) length、width、corner radius、base
; ========End face milling========== direction parallel to the X axis to perform ; ==Adaptive rotation around Z axis==
point、corner angles are the same as the
N100 G0 Z100 finishing N250 AROT Z90 above parameters), plane feedrate300 mm/
N110 T2 D1 ; ENDMILL D8 ; =========End face milling========= N260 _END1: min, depth direction feedrate200 mm/min,
N120 M6 N100 ; ========Repeat rectangular pocket milling direction G2, finish machining.
N130 S4000 M3 N110 tool 2 is face milling tool, diameter 8 milling 3 times========= ; ==Adaptive rotation around Z axis===
mm N250 rotation in positive direction 90º
N140 M8 G0 X-13 Y16 N120 N270 REPEAT _ANF1 _END1 P=3
N260 _END1: Milling end sign
N150 G0 Z2 N130 N280 ROT
; ====Finishing ② ③ ④ rectangular
; ========Start rectangular pocket rough- N140 ; ========Cancel rotation=========
N150 pocket milling =====
ing========== N270 repeat N230~N260 operation three
N160 _ANF: ; ===Start ① rectangular pocket rough- times
N170 POCKET3( 50, 0, 2, -5, 13, 10, 4, -13, ing=== N280 cancel all the coordinate rotation
N160 _ANF: Milling start sign commands
16, 0, 5, 0.1, 0.1, 300, 200, 2, 11, 2.5, , , ,
2, 2) N170 milling rectangular groove (depth 5 ; =====Cancel rotation===========
mm, length13 mm, width 10 mm, corner
; ==Adaptive rotation around Z axis==
radius 4 mm, groove base point coordi-
N180 AROT Z90
N190 _END: nate (X-13,Y16), angle between groove
vertical axis and plane X axis is 0º),
feedrate 300 mm/min, milling direction G2,
rough machining, use G1 vertical groove
center to insert.
; ==Adaptive rotation around Z axis==
N180 rotation in positive direction 90º
N190 _END: Milling end sign
N290 G0 X0 Y0 N290 back to workpiece zero point Make sure all the preparations and safety
; =============Start circular pocket ; =====Start circular pocket roughing===== Milling
N300 milling circular groove (depth 5 measures have been performed before
roughing============== program 2
N300 POCKET4( 50, 0, 2, -5, 7.5, 0, 0, 2.5, mm, radius 7.5 mm, groove base point machining!
0.1, 0.1, 300, 200, 0, 21, 2, , , 4, 1) coordinate (X0,Y0), angle between groove
N310 S4500 M3 vertical axis and plane X axis is 0º),
milling direction is positive, rough machin-
; =============Start circular pocket
ing.
finishing============== N310
N320 POCKET4( 50, 0, 2, -5, 7.5 , 0, 0, 5, ; =====Start circular pocket finishing=====
0.1, 0.1, 300, 200, 0, 12, 2, , , 4, 1) N320 milling circular groove (depth 5
N330 G0 Z100 mm, radius 7.5 mm, groove basic point
; =========Start drilling========== coordinate(X0,Y0), the clamping angle
N340 T3 D1 ;DRILL D3 between the groove vertical axis and
N350 M6 plane X axis is 0), finish machining allow-
ance 0.1 mm, milling direction is positive,
N360 S5000 M3
finish machining, use G1 vertical groove
N370 G0 X0 Y0 center to insert.
N380 MCALL CYCLE81( 50, 0, 2, -5, 0) N330 G0 Z100
N390 HOLES2( 0, 0, 10, 45, 60, 6) ; =========Start drilling========== Workpiece zero
N340 3 tool is drilling tool diameter 3 mm
N400 MCALL
N350
point is located in
N410 M30 the top left corner.
N360
N370 back to workpiece zero point
N380 drilling depth 5 mm, use ”MCALL”
mode to use command, means drilling position
decided by the parameters in N490
N390 circular line hole forms cycle command
(circular center point coordinate(X0,Y0), radius
10 mm, angle between the line with first hole
and circular center point and the X axis in
positive direction is 45º, angle between the
holes is 60º, circular hole number 6 个)
N400 cancel mode use
N410 M30 Tool information:
Actual effect
808D Page 89 Operating and Programming — Milling
Sample
Program s
Machining Process
N10 G17 G90 G60 G54 N10 ;*************CONTOUR************ This program is additional descrip-
N20 tool 1 is milling tool, diameter 50 mm CON1:
N20 T1 D1 ;FACEMILL D50 N30 tion information created by the
N30 M6 N40
N40 S3500 M3 N50 back to workpiece zero point ;#7__DlgK contour definition begin - Don't system automatically after finishing
N60 change!;*GP*;*RO*;*HD* the programming of the rough cut-
N50 G0 X0 Y0 ; =========Start face milling====== G17 G90 DIAMOF;*GP*
N60 G0 Z2 N70 start point (X0,Y0), the length and the G0 X3 Y3 ;*GP* ting CYCLE72 and does not affect
; =======Start face milling======== width are 50 mm, feedrate 300 mm/min, G2 X3.27 Y-40.91 I=AC(-52.703) J=AC(- the system execution.
N70 CYCLE71( 50, 1, 2, 0, 0, 0, 50, -50 , , finishing allowance 0.1 mm, along the direction 19.298) ;*GP*
parallel to the X axis to perform the rough G3 X46.27 Y-47 I=AC(38.745) J=AC
1, 40, , 0.1, 300, 11, ) machining
N80 S4000 M3 N80 (54.722) ;*GP*
N90 start point (X0,Y0), the length and the G1 X42 Y-8 ;*GP*
N90 CYCLE71( 50, 0.1, 2, 0, 0, 0, 50, -50 ,
width are 50 mm, feedrate 250 mm/min, finish- X3 Y3 ;*GP*
, 1, 40, , 0, 250, 32, ) ;CON,0,0.0000,4,4,MST:0,0,AX:X,Y,I,J
ing allowance 0, along the direction parallel to
; ======Start contour milling====== the X axis to perform the finish machining ;*GP*;*RO*;*HD*
N100 T2 D2 ;END MILL ; =====Start contour milling======= ;S,EX:3,EY:3;*GP*;*RO*;*HD*
N100 tool 2 is milling tool ;ACW,DIA:0/35,EX:3.27,DEY:-
N110 M6 N110
N120 S3500 M6 N120 43.91,RAD:60;*GP*;*RO*;*HD*
N130 CYCLE72( "CON1:CON1_E", 50, 0, 2, N130 contour cutting depth 5 mm, all finishing ;ACCW,DIA:0/35,DEX:43,EY:-
allowances 0.1 mm, the feedrate of surface 47,RAD:102;*GP*;*RO*;*HD*
-5, 2, 0.1, 0.1, 300, 300, 11, 42, 1, 4, 300, 1, 4) machining and cutting direction 300 mm/min, ;LA,EX:42,EY:-8;*GP*;*RO*;*HD*
; =======Start path milling with radius use G42 to activate the compensation, use G1 ;LA,EX:3,EY:3;*GP*;*RO*;*HD*
compensation ======== to do rough machining, approaching path is ;#End contour definition end - Don't
along a straight line, length 4 mm, the parame-
N140 T4 D1 ;ENDMILL D10 ters of feedrate/path/length in retraction and change!;*GP*;*RO*;*HD*
N150 M6 approach are equal.
N160 S4000 M3 ; ====Start path milling with radius com- CON1_E:;****** CONTOUR ENDS*******
pensation ===
N170 G0 X55 Y-15 N140 tool 4 is face milling tool, diameter 10
N180 G0 Z2 mm
N190 G1 F300 Z-8 N150
N160
N200 G42 G1 Y-15 X50 N170
N210 G1 X44 Y-2 RND=2 N180
N220 G1 Y0 X 22 N190
N200 G42 activate tool radius compensation
N230 G40 Y30 N210 starts from (X44,Y-2) insert a reverse
N240 M30 circle, radius is 2 mm
N220 (X22,Y0) is the reverse circle point
N230 G40 cancel tool radius compensation
N240
N270 SUPA G00 Z300 D0 N270 N430 SUPA G00 Z300 D0 N430
N280 SUPA G00 X300 Y300 N280 N440 SUPA G00 X300 Y300 N440
N290 ; ======Contour milling start======
N290 T4 D1 ; ======Contour milling start====== N450
N300 MSG ("Please change to Tool No 4") N300 hint:change to tool 4 N450 T2 D1
N310 N460 hint:change to tool 2
N310 M05 M09 M00 ; ====Circular pocket milling start=== N460 MSG ("Please change to Tool No 2") N470
; ===Circular pocket milling start==== N320 N470 M05 M09 M00 N480
N320 S5000 M3 N330 milling circular groove(depth 5 N480 S5000 M3 N490 contour cutting depth 5 mm, surface
machining feedrate 300 mm/min, cutting
N330 POCKET4( 50, 0, 2, -5, 22, 38, 70, mm, radius 22 mm, groove center coordi- N490 CYCLE72( "CONT1:CONT1_E", 50, 0, direction feedrate 100 mm/min, use G41 to
2.5, 0.2, 0.2, 300, 250, 0, 21, 10, 0, 5, 2, nate (X38,Y70), finishing allowance 0.2 2, -5, 5, 0, 0, 300, 100, 111, 41, 12, 3, activate compensation, use G1 to do rough
0.5 ) mm, plane machining feedrate 300 mm/ 300, 12, 3 ) machining, back to the machining plane at the
min, depth machining feedrate 250 mm/ end of the contour, approach path is along 1/4
N340 S5500 M3 min, milling in positive direction, along ; ======Contour milling end=======
circle in space, length 3 mm, the parameters of
N350 POCKET4( 50, 0, 2, -5, 22, 38, 70, helical path insert to do rough machining, N500 SUPA G00 Z300 D0
helical path radius 2 mm, insert depth 0.5 feedrate//path/length for retraction and ap-
2.5, 0.2, 0.2, 250, 250, 0, 22, 10, 0, 5, 2, N510 SUPA G00 X300 Y300 proach are equal.
mm) ; ======Contour milling end=======
0.5 ) ; =Rectangular pocket milling start==
N340 N500
; ===Circular pocket milling end==== N350 repeat N370 milling process, the N520 T2 D1
N510
N360 SUPA G00 Z300 D0 difference is the machining allowance. N530 MSG ("Please change to Tool No 2")
; ====Circular pocket milling end=== ; =Rectangular pocket milling start==
N370 SUPA G00 X300 Y300 N540 M05 M09 M00 N520
N360
N380 T5 D1 N370 N550 S6500 M3 N530 hint:change to tool 2
N390 MSG ("Please change to Tool No 5") N380 N560 POCKET3( 50, 0, 1, -3, 40, 30, 6, N540
N400 M05 M09 M00 N390 hint:change to tool 5 36, 24.1, 15, 3, 0.1, 0.1, 300, 300, 0, 11, N550
N400 N560 milling rectangle groove (depth 3
; ========Slot milling start======== ; ========Slot milling start======= 12, 8, 3, 15, 0, 2 )
mm, length 40 mm, width 30 mm, corner
N410 M3 S7000 N410 N570 POCKET3( 50, 0, 1, -3, 40, 30, 6,
radius 6 mm,groove base point coordinate
N420 SLOT2( 50, 0, 2, , 3, 3, 30, 6, 38, N420 milling slot(depth 3 mm, machin- 36, 24.1, 15, 3, 0.1, 0.1, 300, 300, 0, 12,
ing 3 slots, slot angle 30º, slot width 6 (X36,Y24.1), angle between groove verti-
70, 20, 165, 90, 300, 300, 3, 3, 0.2, 0, 5, 12, 8, 3, 15, 0, 2 )
mm, basic circle center point coordinate cal axis and plane X axis is 15º), finishing
250, 3000, ) ; ==Rectangular pocket milling end== allowance 0.1 mm, feedrate surface
(X38,Y70), basic circle radius 20 mm,
; ========Slot milling end======== start angle 165º, slot incremental angle machining and cutting direction machining
90º, depth machining feedrate 300 mm/ is 300 mm/min, milling in positive direction,
min, plane machining feedrate 300 mm/ rough machining, use G1 vertical groove
min, milling direction G3, slot edge finish- center to insert.
ing allowance 0.2 mm, complete machin- N570 repeat N600 milling process, the
ing ways, finishing machining feedrate 250 difference is the machining allowance.
mm/min, spindle speed rate 3000 r/min ; ==Rectangular pocket milling end==
; ========Slot milling end=======
N580 SUPA G00 Z300 D0 N580 N790 SUPA G00 Z300 D0 N790
N590 N800
N590 SUPA G00 X300 Y300 ; =========Centering start======= N800 SUPA G00 X300 Y300
; ==========Tapping start========
; ========Centering start========= N600 ; =========Tapping start========= N810
N600 T6 D1 N610 hint:change to tool 6 N810 T8 D1
N620 N820 hint:change to tool 8
N610 MSG ("Please change to Tool No 6") N820 MSG ("Please change to Tool No 8") N830
N630
N620 M05 M09 M00 N640 N840
N830 M05 M09 M00
N630 S6000 M3 N650 CYCLE82 mode recall command active N850 CYCLE84 mode recall active→drilling
→drilling depth 5 mm, last drilling depth N840 S500 M3
N640 G00 Z50 X36 Y24.1 depth 6 mm, last tapping depth (delayed
N650 MCALL CYCLE82( 50, -3, 2, -5, 0, 0.2) (delayed milling) stops for 0.2 s N850 MCALL CYCLE84( 50, -3, 2, , 6, 0.7,
N660 hole arrangement circular center 5, , 2, 5, 5, 5, 3, 0, 0, 0, 5, 1.4 ) milling) stops for 0.7 s, after the cycle,
N660 HOLES2( 36, 24.1, 10, 90, 60, 6) coordinate(X36,Y24.1), circular radius 10 the spindle M5 stops, machining dextroro-
N670 X36 Y24.1 mm, start angle 90º, angle between the N860 HOLES2( 36, 24.1, 10, 90, 60, 6) tation thread, size 2 mm
N680 MCALL ; Modal Call OFF holes is 60º, circular hole number 6 N870 X36 Y24.1 , spindle stop position is 5º , the tapping
; =========Centering end========= N670 continue drilling with(X36,Y24.1) as for N880 MCALL ; Modal call Off speed and the retraction speed of the
the center point spindle are 5 r/min, select Z axis as the
N690 SUPA G00 Z300 D0 N680 cancel mode recall command ; =========Tapping end========== tool axis, incremental drilling depth 5 mm,
N700 SUPA G00 X300 Y300 ; =========Centering end======== N890 SUPA G00 Z500 D0 retraction value is 1.4 mm
; =========Drilling start========== N690
N700 N860 hole arrangement circular center
N900 SUPA G00 X500 Y500;
N710 T7 D1 ; ===========Drilling start======== coordinate (X36,Y24.1), circular radius 10
N720 MSG ("Please change to Tool No 7") N710 ; =========Move to the change position mm, start angle 90º, angle between the
N730 M05 M09 M00 N720 hint:change to tool 7 Ready to start next program or repeat holes is 60º, circular hole number 6
N730 ========= N870 continue drilling with X36,Y24.1) as the
N740 S6000 M3 N740 center tapping
N750 MCALL CYCLE83( 50, -3, 1, , 9.24, ,5, N750 CYCLE83 mode recall command active N910 M30 N880 cancel mode recall instruction
90, 0.7, 0.5, 1, 0, 3, 5, 1.4, 0.6, 1.6) →drilling depth 9.24 mm, first drilling ; ==========Tapping end=========
N760 HOLES2( 36, 24.1, 10, 90, 60, 6) depth 5 mm, degression 90, last drilling N890
depth (delayed milling) stops for 0.7 s, N900
N770 X36 Y24.1 stops at the start point for 0.5 s, first
N780 MCALL ; Modal call Off drilling feed modules is 1, select Z axis ; ======Move to the change position Ready
as the tool axis, machining type is delayed to start next program or repeat =======
; =========Drilling end==========
milling, tool axis is Z axis, minimal depth N910
5 mm, every retraction is 1.4 mm, drilling
depth stops for 0.6 s , reinsert lead dis-
tance 1.6 mm
N760 hole arrangement circular center
coordinate(X36,Y24.1), circular radius 10
mm, start angle 90º, angle between the
holes is 60º, circular hole number 6
N770 continue drilling with (X36,Y24.1) as the
center point
N780 cancel mode recall instruction
; =========Drilling end===========
ISO
code
explanation
ISO program
transfer and
operation
End
After pressing
“OK”, the sys- ISO All the ISO codes described in this unit
tem restarts auto-
code can be implemented in the ISO mode of
explanation the 808D system!
matically.
After restarting, Brief description of typical, frequently used ISO codes
press “Shift” +
“System - Alarm” ISO code Description Compare
with DIN
again and if the
symbol in the red G00 Orientation (rapid traverse) As DIN
circle appears, G1 Linear difference As DIN
ISO mode is al-
ready activated. G17/G18/G19 XY plane / ZX plane / YZ plane As DIN
G20/G21 Input in inch/mm G70/G71
A red ISO appears at the top of the screen and the ISO mode button on G41/G42/G40 Left tool tip radius compensation / right tool tip As DIN
the right is highlighted in blue. radius compensation / cancel tool radius
compensation
Method 2 When using method 2 to activate the ISO mode, G54 ~ G59 Select workpiece coordinate system As DIN
it will exit ISO mode and return to the default G80 Cancel fixed cycle
DIN mode via “Reset” button or after finishing
the machining program. G90/G91 Absolute/incremental programming
If ISO is displayed at the top of the screen, it is M99 End of Subroutine M17
activated.
In DIN mode, the tool length H01→Offset value 20.0 Code G02 and G03
is activated automatically, H02→Offset value -30.0
but in ISO mode, you must H03→Offset value 30.0 G02 circular interpolation in
activate the tool length via H04→Offset value -20.0 positive direction
G code.
G90 G43 Z100.0 H01;Z will reach 120.0 G03 circular interpolation in
G43/G44 and G49
negative direction
G90 G43 Z100.0 H02;Z will reach 70.0 You can specify the circle end
Use G43/G44,the tool G90 G44 Z100.0 H03;Z will reach 70.0 point in the following X/Z ad-
length compensation value
will be activated. G90 G44 Z100.0 H04;Z will reach 120.0 dress for both. You can also
describe circle radii with I, J, K Method 1 (use incremental to describe
G43:Tool length compen-
sation in positive direction incremental or use parameter R circular radius)
Note:In DIN mode, you must open the H
to specify radii directly. G92 X200.0 Y40.0 Z0
G44:Tool length compen- code list in the tool list. For information on
sation in negative direction G90 G03 X140.0 Y100.0 I-60.0 F300.0
the opening method, please refer to the G02 X120.0 Y60.0 I-50.0
G49:Cancel tool length
compensation instructions for H code on page 104
Method 2 (use parameter R to de-
scribe circular radius)
G92 X200.0 Y40.0 Z0
G90 G03 X140.0 Y100.0 R60.0 F300
G02 X120.0 Y60.0 R50.0
G98 :Fixed cycle back to N5 G90 T1 M06
the original point N10 M3 S2000; spindle rotation
G99 :Fixed cycle back to R N20 G99 G81 X300 Y-250 Z-150 When specifying circle radii
point R-10 F120;after orientation drill- with parameter R
G80 :Cancel the fixed cycle ing, back to R point
Pausing function G04
N30 X1000. ;after orientation drill- Circles less than 180° is as- End point
G04 X5.0→delay 5 s
G04 P5→delay 5 ms ing, back to R point signed positive values
N40 G04 X2.0 ;delay 2 s ①→G02 X6.0 Y2.0 R50.0
Circles greater than 180° are
N50 G98 Y-550 ;after orientation drill- assigned negative values
Start point
ing, back to start point ①→G02 X6.0 Y2.0 R-50.0
N60 G80 ;cancel the fixed cycle
N70 M5 ;spindle rotation stop
N80 M30
Frequently used letter meanings of typical fixed cycle codes in ISO Brief introduction of typical fixed cycle codes in ISO mode
P. Descriptions Unit Applied range and For the meaning of letters when programming typical fixed
note cycles, please refer the figure on the left!
X/Y Cutting end point X/Z absolute coordi- G73 / G74 / G76
nate values G81 ~ G87 / G89 G73 fast-speed deep hole G73 application example program:
drilling M3 S1500 ;spindle rotation
The distance incremental value be- G73 / G74 / G76 Common programming G90 G99 G73 X0 Y0 Z-15 R-10 Q5 F120
Z tween R point and the bottom of the G81 ~ G87 / G89 structures: ;after orientation drill 1st hole, back to R point
hole, or the absolute coordinate value G73 X—Y—Z—R—Q—F— Y-50 ;after orientation drill 2nd hole, back to R point
of the bottom of the hole K Y-80 ;after orientation drill 3rd hole, back to R point
Motion process: X10 ;after orientation drill 4th hole, back to R point
The distance incremental value be- G73 / G74 / G76 Y10 ;after orientation drill 5th hole, back to R point
R tween the start point plane and R G81 ~ G87 / G89 ① Drilling motion (-Z) →
intermediate feed G98 Y75 ;after orientation drill 6th hole, back to R point
point or the absolute coordinate value G80 ;cancel fixed cycle
of R point ② Motion at the bottom of
G28 G91 X0 Y0 Z0 ;back to reference point
the hole → none
M5 ;spindle rotation stop
The depth of every cut G73 / G83 ③ Retraction motion (+Z) M30
Q (incremental value) → fast feed
G76 Boring cycle G76 application example program: G82 Drilling cycle (countersink drilling) G82 application example program:
Common programming structures: Common programming structures:
G76 X—Y—Z—R—Q—P—F—K M3 S500 ;spindle rotation G82 X—Y—Z—R—P—F—K M3 S2000 ;spindle rotation
G90 G99 G90 G99 G82 X300 Y-250 Z-150 R-100 P1000 F120
Motion process: G76 X300 Y-250 Z-150 R-100 Q5 P1000 F120 Motion process: ;after orientation drill 1st hole, stop for 1 s at the bottom
① Drilling motion (-Z) → cutting feed ;after orientation bore 1st hole, then move 5 mm, ① Drilling motion(-Z) → cutting feed of the hole, back to the R point.
② Motion at the bottom of the hole → stop for 1 s at the bottom of the hole, back to the R Y-550 ;drill 2nd hole (the same as 1st hole)
point. ② Motion at the bottom of the hole →
spindle stop directional pause Y-750 ;drill 3rd hole (the same as 1st hole)
Y-50 ;bore 2nd hole (the same as 1st hole )
③ Retraction motion (+Z) → fast feed ③ Retraction motion (+Z) → fast X1000 ;drill 4th hole (the same as 1st hole)
Y-80 ;bore 3rd hole (the same as 1st hole)
feed Y-550 ;drill 5th hole (the same as 1st hole)
X10 ;bore 4th hole (the same as 1st hole)
G98 Y-750 ;drill 6th hole, stop for 1 s at the
Y10 ;bore 5th hole (the same as1st hole) bottom of the hole, back to the start point position plane
G98 Y-750 ;bore 6th hole, then move 5 mm, G80 ;cancel fixed cycle
stop for 1s at the bottom of the hole, back to the start G28 G91 X0 Y0 Z0 ;back to reference point
point position plane
G80 ;cancel fixed cycle M5 ;spindle rotation stop
M30
G28 G91 X0 Y0 Z0 ;back to reference point
M5 ;spindle rotation stop
M30
G83 Drilling cycle (deep hole drilling) G83 application example program:
G81 Drilling cycle (fixed point drilling) G81 application example program: Common programming structures
Common programming structures: G83 X—Y—Z—R—Q—F—K M3 S2000 ;spindle rotation
M3 S2000 ;spindle rotation G90 G99 G83 X300 Y-250 Z-150 R-100 Q15 F120
G81 X—Y—Z—R—F—K G90 G99 G81 X300 Y-250 Z-150 R-10 F120 Motion process: ;after orientation drill 1st hole, back to R point
Motion process: ;after orientation drill 1st hole, back to R point ① Drilling motion (-Z) → intermission Y-550. ;after orientation drill 2nd hole, back to R point
① Drilling motion (-Z) → cutting feed Y-550 ;after orientation drill 2nd hole, back to R feed Y-750. ;after orientation drill 3rd hole, back to R point
② Motion at the bottom of the hole → point ② Motion at the bottom of the hole → X1000. ;after orientation drill 4th hole, back to R point
none Y-750 ;after orientation drill 3rd hole, back to R
None Y-550. ;after orientation drill 5th hole, back to R point
point
③ Retraction motion (+Z) → fast feed X1000 ;after orientation drill 4th hole, back to R ③ Retraction motion (+Z) → fast feed G98 Y-750. ;after orientation drill 6th hole, back to start
point plane
Y-550 ;after orientation drill 5th hole, back to R G80 ;cancel fixed cycle
point G28 G91 X0 Y0 Z0 ;back to reference point
G98 Y-750;after orientation drill 6th hole, back to M5 ;spindle rotation stop
start plane M30
G80 ;cancel fixed cycle
G84 Tapping cycle G84 execution operation graphic: G86 boring cycle G86 execution operation graphic:
Common programming structures: With command G99 without operation in red line Common programming structures: With command G99 without operation in red line
With command G98 with operation in red line With command G98 with operation in red line
G84 X—Y—Z—R—P—F—K G86 X—Y—Z—R—F—K Except for the stop at the bottom of the hole,
Motion process: Motion process: G86 is same as G81
① Drilling motion (-Z) → cutting feed ① Drilling motion (-Z) → cutting feed
② Motion at the bottom of the hole → ② Motion at the bottom of the hole →
spindle rotation in negative direction spindle stop
③ Retraction motion (+Z) → cutting feed ③ Retraction motion (+Z) → fast feed
Origin spindle CW
after pause
spindle CW
after pause Origin spindle CW
after pause
R Point
R Point
Z Point
Z Point
spindle CCW
after pause spindle stop
after pause
G85 boring cycle G85 execution operation graphic: G89 boring cycle G89 execution operation graphic:
Common programming structures: With command G99 without operation in red line Common programming structures: With command G99 without operation in red line
With command G98 with operation in red line With command G98 with operation in red line
G85 X—Y—Z—R—F—K Except that the spindle is not rotating at the G89 X—Y—Z—R—P—F—L Except that the spindle stops at the bottom of the
Motion process: bottom of the hole, G85 is same as G84 Motion process: hole, G89 is same as G85
① Drilling motion (-Z) → cutting feed ① Drilling motion (-Z) → cutting feed
② Motion at the bottom of the hole → ② Motion at the bottom of the hole →
none pause
③ Retraction motion (+Z) → cutting feed ③ Retraction motion (+Z) → cutting
feed
Origin Origin
R Point
R Point
Z Point
Z Point
Pause
G87 Boring cycleⅠ / reverse boring cycle G87 execution operation ISO The ISO mode function provided by
graphic:
Ⅱ program the 808D can easily operate the exist-
Common programming structures: transfer and
Fixed cycle Ⅱ→
spindle start operation
ing ISO program!
G87 X—Y—Z—R—Q—P—F—L
Motion process:
Step 1 Transfer ISO files in USB device to 808D.
① Drilling motion (-Z) →cutting feed
② Motion at the bottom of the hole → Connect the USB device with the stored target programs to the USB
spindle stops Z Point
interface on the PPU.
③ Retraction motion (+Z) → manual
operation or fast feed Positioning of Spindles Press the “USB” SK on the PPU.
Tools move
Use the “Cursor + Select” keys to select the required program
Fast feed which is then highlighted. +
R Point
Cutting feed
spindle start
R Point
Programs in ISO mode in the 808D have their own rules.
Z Point Z Point
Suitable changes must be made at the appropriate posi-
tions so that you can run the ISO programs!
spindle stop spindle stop
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.
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)
Unit Content
G
Functions
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
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
Name Meaning
Group 7: Tool radius compensation
Name Meaning G09 Non-modal exact stop
Group 13: Workpiece measuring inch/metric Group 44: Path segmentation with SAR modally effective
Name Meaning Name Meaning
G70 Inch dimension data input G340 * Approach and retraction in space (SAR)
G71 * Metric dimension data input G341 Approach and retraction in the plane (SAR)
G700 Inch dimension data input; also for feedrate F
G710 Metric dimension data input; also for feedrate F Group 47: External NC languages modally effective
Name Meaning
Group 14: Absolute/incremental dimension modally effective G290 * Siemens mode
Name Meaning G291 External mode
G90 * Absolute dimensions data input
G91 Incremental dimension data input
Group 18: Behavior at corner when working with tool radius compensation
Name Meaning
G450 * Transition circle
G451 Point intersection
Technical
Support
Contact
Technical Support
If you have any questions about this product or this manual, contact the
hotline:
E-mail [email protected]
Useful
Siemens
Websites
http://www.siemens.com/sinumerik
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.