CNCelite 8058_8060_8065 Examples manual (ꞏMꞏ model)
CNCelite 8058_8060_8065 Examples manual (ꞏMꞏ model)
8065
Ref. 2106
TRANSLATION OF THE ORIGINAL MANUAL MACHINE SAFETY
This manual is a translation of the original manual. This manual, as well as the It is up to the machine manufacturer to make sure that the safety of the machine
documents derived from it, have been drafted in Spanish. In the event of any is enabled in order to prevent personal injury and damage to the CNC or to the
contradictions between the document in Spanish and its translations, the wording products connected to it. On start-up and while validating CNC parameters, it
in the Spanish version shall prevail. The original manual will be labeled with the checks the status of the following safety elements. If any of them is disabled, the
text "ORIGINAL MANUAL". CNC shows the following warning message.
• Feedback alarm for analog axes.
• Software limits for analog and sercos linear axes.
• Following error monitoring for analog and sercos axes (except the spindle)
both at the CNC and at the drives.
• Tendency test on analog axes.
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC resulting from any of the safety
elements being disabled.
HARDWARE EXPANSIONS
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC resulting from any hardware
manipulation by personnel unauthorized by Fagor Automation.
If the CNC hardware is modified by personnel unauthorized by Fagor
Automation, it will no longer be under warranty.
BLANK PAGE
COMPUTER VIRUSES
FAGOR AUTOMATION guarantees that the software installed contains no
computer viruses. It is up to the user to keep the unit virus free in order to
guarantee its proper operation. Computer viruses at the CNC may cause it to
malfunction.
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC due a computer virus in the
system.
If a computer virus is found in the system, the unit will no longer be under warranty.
DUAL-USE PRODUCTS
Products manufactured by FAGOR AUTOMATION since April 1st 2014 will
include "-MDU" in their identification if they are included on the list of dual-use
products according to regulation UE 428/2009 and require an export license
depending on destination.
It is possible that CNC can execute more functions than those described in its
associated documentation; however, Fagor Automation does not guarantee the
validity of those applications. Therefore, except under the express permission
from Fagor Automation, any CNC application that is not described in the
documentation must be considered as "impossible". In any case, Fagor
Automation shall not be held responsible for any personal injuries or physical
All rights reserved. No part of this documentation may be transmitted, damage caused or suffered by the CNC if it is used in any way other than as
transcribed, stored in a backup device or translated into another language explained in the related documentation.
without Fagor Automation’s consent. Unauthorized copying or distributing of this
The content of this manual and its validity for the product described here has been
software is prohibited.
verified. Even so, involuntary errors are possible, hence no absolute match is
The information described in this manual may be subject to changes due to guaranteed. However, the contents of this document are regularly checked and
technical modifications. Fagor Automation reserves the right to change the updated implementing the necessary corrections in a later edition. We appreciate
contents of this manual without prior notice. your suggestions for improvement.
All the trade marks appearing in the manual belong to the corresponding owners. The examples described in this manual are for learning purposes. Before using
The use of these marks by third parties for their own purpose could violate the them in industrial applications, they must be properly adapted making sure that
rights of the owners. the safety regulations are fully met.
ꞏ2ꞏ
Exam ple s m anu a l (·M· m ode l).
INDEX
CNCelite
8058 8060
8065
REF. 2106
ꞏ3ꞏ
BLANK PAGE
ꞏ4ꞏ
1
1. BASIC CONCEPTS.
The feedrate and spindle speed values are only illustrative and depend on the material of
the part and the tool being used. When using the examples of this manual to make real parts
(on a machine), the feedrate and spindle speed values must be adapted properly.
CNCelite
8058 8060
8065
REF. 2106
ꞏ5ꞏ
Exam pl es m an ual (·M· m od el ).
Key. Function.
Automatic mode.
1.
AUTO
Execution keys.
Key. Function.
Editing a program.
EDIT Programs are edited in the EDISIMU mode. Once in this mode, the "Open program" softkey
may be used to select the program to be edited which may be either a new one or an existing
one. When selecting this option, the CNC shows a list of the available programs.
Syntax check.
The CNC analyzes each program block while editing. If the CNC detects a syntax error in
the block, the error window at the bottom of the screen will display it.
CNCelite
The entire program can also be checked. To do that, press the vertical softkey for syntax
8058 8060 check. The errors found will be indicated like with the other method.
8065
REF. 2106
ꞏ6ꞏ
Exam ple s m anu a l (·M· m ode l).
Program simulation.
The program simulation procedure is the following:
1 Choose the type of graphic representation, its dimensions and the point of view. This data
may also be modified during the simulation of the program.
1.
softkey.
BASIC CONCEPTS.
Basic CNC operating concepts
START STOP RESET
The simulation of the program starts at the first block of the program and ends after executing
one of the end-of-program functions "M02" or "M30". As an option, it is possible to define
the first and last blocks of the simulation.
CNCelite
8058 8060
8065
REF. 2106
ꞏ7ꞏ
Exam pl es m an ual (·M· m od el ).
With this CNC, it is possible to program movements in the machine reference system or apply
offsets in order to use reference systems referred to the fixtures or the part without having
to change the coordinates of the different points of the part in the program.
The part zero must be located so as to make programming easier. If no part zero is set, the
coordinates will be referred to the machine reference system.
after the G92 set the current position of the axes. The rest of the axes that have not been
defined with G92 are not affected by the preset.
In order to apply a zero offset, it must have been previously defined. To do that, the CNC
has a table where the operator may define up to 99 different zero offsets. The table data may
be defined:
• Manually from the CNC's front panel (as described in the Operating Manual).
• By program, assigning the corresponding value (of the "n" offset and of the "Xn" axis)
to the "V.A.ORGT[n].Xn" variable.
Once the zero offsets have been defined in the table, they may be activated via program by
programming function G59 followed by the offset number to be activated. The first six zero
offsets of the table can also be applied using functions G54 through G59; G54 for the first
one (same as G159=1), G55 for the second one (same as G159=2) and so on.
Y X Y
G54 (G159=1) 20 70
G54
70 G55 (G159=2) 50 30
Ow
CNCelite G56 (G159=3) 120 10
P1
8058 8060 G55
8065 30
Ow
Ow G56
10 X
REF. 2106 OM 20 50 120
ꞏ8ꞏ
Exam ple s m anu a l (·M· m ode l).
1.
(It applies the second zero offset)
N300 G56 X20 Y30
(It applies the third zero offset)
(The axes move to point X20 Y30 (point P1) referred to the third origin)
BASIC CONCEPTS.
Set part zero.
Cancellation of the part zero (G53).
The part zero stays active until it is canceled with a preset, a zero offset or with a "G53".
CNCelite
8058 8060
8065
REF. 2106
ꞏ9ꞏ
Exam pl es m an ual (·M· m od el ).
1. The feedrate changes with the spindle speed (usual operation on lathes).
G91 Programming in incremental coordinates. The coordinates of the point are referred
to the current tool position.
CNCelite
8058 8060
8065
REF. 2106
ꞏ10ꞏ
Exam ple s m anu a l (·M· m ode l).
Setting the end point and the radius. Setting the end point and the center.
1.
BASIC CONCEPTS.
Tool path programming
Z Y
J X,Y R X,Y
I X X
G02/G03 X Y R G02/G03 X Y I J
Y 1
Arc 1: G02 X... Z... R-...
2
3
Arc 2: G02 X... Z... R+...
REF. 2106
G40 G41 G42
ꞏ11ꞏ
Exam pl es m an ual (·M· m od el ).
1.
BASIC CONCEPTS.
Tool path programming
CNCelite
8058 8060
8065
REF. 2106
ꞏ12ꞏ
2
2. ISO PROGRAMMING
In general, ISO programming consists in entering a number of blocks that properly ordered
make up a machining program. Basically, the programs are divided into three parts:
1 Header.
2 Geometry.
3 End.
External contouring (climb cutting) with tangential input and a total depth of 20 mm with 5mm
passes.
Operation. Tool.
CNCelite
8058 8060
8065
REF. 2106
ꞏ13ꞏ
Exam pl es m an ual (·M· m od el ).
Header.
G0 Z100
; Safety positioning.
T10 D1
; Calling a tool and a tool offset.
M6
; Tool change
S1000 M3
X30 Y30
2.
Z0
N1:
; Positioning of label Nr 1.
G91 G1 Z-5 F100
ISO PROGRAMMING
Example. Programming of paths 1.
Geometry.
X260
Y100
X220
Y180
X180
Y140
X200
Y100
X120
Y140
X140
Y180
X100
Y100
X60
Y60
G38 I10
G40 X30 Y30
End.
N2:
; Positioning of label Nr 2.
#RPT[N1,N2,3]
; Repetitions.
G0 Z100
M30
; Return to the safety position and end of program.
CNCelite
8058 8060
8065
REF. 2106
ꞏ14ꞏ
Exam ple s m anu a l (·M· m ode l).
In this exercise, you'll do a contour by entering polar coordinates because the data specifying
the necessary points in X and Y is missing.
Programming a polar coordinate requires defining a center, a radius and angle (to do a
straight line) or by just having an angle (arcs). This center is called Polar Center and is defined
using function G30.
In this exercise, you will do an external contour of the geometry obtaining a total depth of
12 mm. Bear in mind that this geometry contains inside rounding with a radius of 8 mm and
a tool with a larger diameter cannot be used. 2.
Making this part requires the following steps:
ISO PROGRAMMING
Example. Programming of paths 2.
Operation. Tool.
Contouring Endmill Ø8 T4 D1
CNCelite
8058 8060
8065
REF. 2106
ꞏ15ꞏ
Exam pl es m an ual (·M· m od el ).
2.
G91 G1 Z-2 F100
G90 G42 X0 Y0 F1000
G37 I10
X40
ISO PROGRAMMING
Example. Programming of paths 2.
G36 I8
G1 Y15
G30 I90 J60
G1 R55 Q221.987 F1000
G3 Q270
G1 X190
G36 I8
G91 Y20
X -30
G36 I8
Y25
G2 X0 Y20 R10
G90 G1 Y90
G36 I8
X190
G36 I15
Y140
G36 I15
G91 X-30
G90 G1 X130 Y120
G36 I30
X90 Y115
G3 Q151.958
G1 R67.268 Q151.928
Y100
X0
Y85
G1 R30 Q164.476
G2 Q203.199
G1 X20 Y30
X0
Y0
G38 I10
X-30 Y-30
N2:
; Positioning of label Nr 2.
#RPT [N1,N2,5]
; Repetitions.
M30
Remarks
Exercise done in ISO code, using Polar coordinates for linear moves (G30 I J, G1 R Q) as
well as for arcs (G30 I J, G2/3 Q).
CNCelite
8058 8060
8065
REF. 2106
ꞏ16ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Programming of paths 3.
Header.
G0 Z100
T4 D1
M6
S1000 M3
X-130 Y-90
Z0
N1:
G1 G91 Z-5 F120
G90 G42 X-100 Y-60 F1000
Geometry.
G37 I10
X -40
Y -40
X40
Y -60
X100
Y -20
X60
Y0
X40
X20 Y20
X40 Y40
X60
Y60
X20
X0 Y40
X-20 Y60
X -60
Y40
X -40
X-20 Y20
X-40 Y0
X -60
Y -20 CNCelite
X -100 8058 8060
Y -60
8065
End.
G38 I10 REF. 2106
G40 X-130 Y-90
N2:
#RPT [N1,N2,4]
G0 Z100
M30
ꞏ17ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Programming of paths 4.
Header.
G0 Z100
T4 D1
M6
S1000 M3
X-10 Y-10
Z0
N1:
G1 G91 Z-5 F150
G90 G42 X20 Y20 F1000
G37 I10
Geometry.
X80
Y40
X200
Y20
X260
Y120
X220 Y180
X160
Y140
X200
Y80
X80
Y140
X120
Y180
X60
X20 Y120
Y20
G38 I10
G40 X-10 Y-10
End.
CNCelite
N2:
8058 8060 #RPT [N1,N2,4]
8065 G0 Z100
M30
REF. 2106
ꞏ18ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Programming of paths 5.
Header.
G0 Z100
T4 D1
M6
S1000 M3
X-90 Y-40
Z0
N1:
G1 G91 Z-5 F160
G90 G42 Y-10
G37 I10
Geometry.
X -50
G36 I3
Y -30
G36 I3
X -40
G36 I3
Y -20
X -30
X-25 Y-10
X-20 Y-20
X -10
Y -30
G36 I3
X0
G36 I3
Y -10
G3 X0 Y10 R10
G1 X-130
G36 I10
Y20
G3 X-170 Y20 R20
G1 Y-20
G3 X-130 Y-20 R20 CNCelite
G1 Y-10
G36 I10 8058 8060
X -90 8065
G38 R10
G40 Y-40
REF. 2106
ꞏ19ꞏ
Exam pl es m an ual (·M· m od el ).
End.
N2:
#RPT[N1,N2,3]
G0 Z100
T2 D1
; Replace the current tool with another one whose Ø20 to do the slot.
M6
X-150 Y20
Z2
2.
G1 Z0 F100
G91 Z-5
Y -40
Z-5
ISO PROGRAMMING
Example. Programming of paths 5.
Y40
G0 G90 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ20ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Programming of paths 6.
Header.
G0 Z100
T4 D1
M6
S1000 M3
X25 Y25
Z0
N1:
G1 G91 Z-5 F100
G90 G41 X0 Y0 F1000
G37 I10
Geometry.
X-30 Y-52
X -55
Y -35
X -95.6
X-155 Y0
G91 Y16.16
G90 G3 X-136.5 Y30 R15
G91 G1 X30
G3 X10 Y-10 R10
G1 X19.5
G3 X10 Y10 R10
G1 X19.5
G90 X-30 Y0
X0 Y0 CNCelite
G38 I10
G40 X25 Y25
8058 8060
8065
End.
N2:
#RPT [N1,N2,4] REF. 2106
G0 Z100
M30
ꞏ21ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Programming of paths 7.
Header.
G0 Z100
T5 D1
M6
S1000 M3
X20 Y-30
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X40 Y0 F1000
G37 I10
Geometry.
X120
G36 I7
X70 Y60
G2 X50 Y80 R-20
; The arc radius has a negative sign because it exceeds 180º.
G1 X10
X0 Y70
Y80
X-10 Y70
Y80
X-20 Y70
Y80
X -40
G36 I5
Y0
G36 I5
X -10
CNCelite G36 I5
Y30
8058 8060
G36 I6
8065 X40 Y0
G38 I10
G40 X20 Y-30
REF. 2106
End
N2:
#RPT [N1,N2,4]
G0 Z100
M30
ꞏ22ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Circular interpolation.
CNCelite
8058 8060
8065
REF. 2106
ꞏ23ꞏ
Exam pl es m an ual (·M· m od el ).
2. Part-program.
G0 Z100
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G3 X40 Y0 R40
G2 X80 Y0 R20
G1 Y-40
G3 X100 Y-40 R10
G1 Y0
G3 X-40 Y0 R70
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ24ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
The arc center has been defined by incremental auxiliary coordinates.
Part-program.
G0 Z100
ISO PROGRAMMING
Example. Circular interpolation.
T4 D1
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G3 X40 Y0 I40 J0
G2 X80 Y0 I20 J0
G1 Y-40
G3 X100 Y-40 I10 J0
G1 Y0
G3 X-40 Y0 I-70 J0
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ25ꞏ
Exam pl es m an ual (·M· m od el ).
2. Part-program.
G0 Z100
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G6 G3 X40 Y0 I0 J0
G6 G2 X80 Y0 I60 J0
G1 Y-40
G6 G3 X100 Y-40 I90 J-40
G1 Y0
G6 G3 X-40 Y0 I30 J0
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ26ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
Part-program.
G0 Z100
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G31 G3 Q0 I40 J0
G31 G2 Q0 I20 J0
G1 Y-40
G31 G3 Q0 I10 J0
G1 Y0
G31 G3 Q180 I-70 J0
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ27ꞏ
Exam pl es m an ual (·M· m od el ).
2. Part-program.
G0 Z100
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G31 G6 G3 Q0 I0 J0
G31 G6 G2 Q0 I60 J0
G1 Y-40
G31 G6 G3 Q0 I90 J-40
G1 Y0
G31 G6 G3 Q180 I30 J0
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ28ꞏ
Exam ple s m anu a l (·M· m ode l).
Exercise defining the Polar center (G30) and then the movement to carry out.
G30 I J Definition of the Polar center.
G2/3 Q Interpolation with an angle.
IJ Absolute arc center coordinates referred to part zero. The Polar center is not
affected by the incremental coordinates because the format itself is already
absolute.
Part-program. 2.
G0 Z100
ISO PROGRAMMING
Example. Circular interpolation.
T4 D1
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G30 I0 J0
G6 G3 Q0
G30 I60 J0
G6 G2 Q0
G1 Y-40
G30 I90 J-40
G6 G3 Q0
G1 Y0
G30 I30 J0
G6 G3 Q180
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ29ꞏ
Exam pl es m an ual (·M· m od el ).
Part-program.
2. G0 Z100
T4 D1
M6
ISO PROGRAMMING
Example. Circular interpolation.
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G3 X40 Y0 R40
G8 X80 Y0
G1 Y-40
G8 X100 Y-40
G1 Y0
G8 X-40 Y0
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ30ꞏ
Exam ple s m anu a l (·M· m ode l).
Part-program.
G0 Z100
2.
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G37 I10
G9 X40 Y0 I0 J-40
G9 X80 Y0 I60 J20
G1 Y-40
G9 X100 Y-40 I90 J-50
G1 Y0
G9 X-40 Y0 I30 J70
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ31ꞏ
Exam pl es m an ual (·M· m od el ).
2. Part-program.
G0 Z100
T4 D1
ISO PROGRAMMING
Example. Circular interpolation.
M6
S1000 M3
X-70 Y0
Z0
N1:
G1 G91 Z-5 F100
G90 G42 X-40 Y0 F1000
G30 I0 J0
G37 I10
G9 R40 Q0 I0 J-40
G30 I60 J0
G9 R20 Q0 I60 J20
G1 Y-40
G30 I90 J-40
G9 R10 Q0 I90 J-50
G1 Y0
G30 I30 J0
G9 R70 Q180 I30 J70
G1 Z20
G1 X-20 Y0
G1 Z-20
G3 X-20 Y0 I20 J0
G1 Z20
G38 I10
G1 G40 X-70 Y0
G1 Z-20
N2:
#RPT[N1,N2,3]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ32ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Mirror function.
N1:
G0 Z100
T4 D1
M6
S1000 M3
X100 Y20
Z0
G1 Z-5 F100
G42 X100 Y50 F1000
X110
G3 X110 Y70 R10
G1 X80
Y100
G3 X60 Y100 R10
G1 Y70
X30
G3 X30 Y50 R10
G1 X60
Y20
G3 X80 Y20 R10
G1 Y50
X100
G40 Y20
G0 Z100
N2:
G11
; Mirror function in X.
#RPT[N1,N2] CNCelite
G10 8058 8060
G12
; Mirror function in Y.
8065
#RPT[N1,N2]
G10
; Mirror function cancellation. REF. 2106
G11 G12
#RPT[N1,N2]
G10
M30
ꞏ33ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Coordinate rotation.
G0 Z100
T4 D1
M6
S1000 M3
X120 Y0
Z0
N3:
G1 G91 Z-5 F100
G90 G42 X98 Y20 F1000
G37 I10
N1:
Y40
G2 X40 Y98 R58
G1 X20
Y40
G2 X-20 Y40 R20
G1 Y98
G73 Q90
; Coordinate rotation
N2:
#RPT[N1,N2,3]
G73
; Cancellation of coordinate rotation
G38 I10
G40 X120 Y0
N4:
#RPT [N3,N4,5]
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ34ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Polar Coordinate rotation.
G0 Z100
T4 D1
M6
S1000 M3
R60 Q120
Z0
N3:
G1 G91 Z-5 F100
G90 G42 R30 Q120 F1000
G37 I10
N1:
G3 Q160.53
G30 I-80 J0
G1 R20 Q30
G3 Q-30
G30 I0 J0
G1 R30 Q-160.53
G3 Q-120
G73 Q120
N2:
#RPT[N1,N2,2]
G73
G38 I10
G30 I0 J0
G40 G1 R60 Q120
N4:
#RPT [N3,N4,5]
G0 Z100
G99 X0 Y0
CNCelite
G88 Z2 I-30 D2 J20 B3
G0 G80 Z100 8058 8060
G99 R80 Q180 8065
G88 Z2 I-30 D2 J10 B3
G91 Q120
G91 Q120 REF. 2106
G90 G0 G80 Z100
M30
ꞏ35ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Canned cycles.
G0 Z100
T4 D1
M6
S1000 M3
G99 X0 Y0 F1000
G88 Z2 I-10 D2 J35 B3 L0.5 H500 V50
; Circular pocket canned cycle.
G0 G80 Z100
X105 Y0
G87 Z2 I-10 D2 J21 K28 B3 L1 H480 V30
; Rectangular pocket canned cycle.
G0 G80 Z100
T11 D1
M6
X0 Y56 G81 Z2 I-10
; Direct drilling.
N1:
G91 Q30
; Angular increment.
N2:
#RPT[N1,N2,10]
; Angular repetition.
G90 G0 G80 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ36ꞏ
Exam ple s m anu a l (·M· m ode l).
Any cycle, once defined, may be repeated in several ways using multiple machining.
G160 - Multiple positioning in a straight line.
G161 - Multiple positioning in a parallelogram pattern.
G162 - Multiple positioning in a grid pattern.
G163 - Multiple positioning in a circular pattern.
2.
G165 - Multiple positioning using an arc chord.
ISO PROGRAMMING
Example. Canned cycle (G81) and multiple positioning (G162).
G0 Z100
T6 D1
M6
S1000 M3
G99 X-100 Y60 F1000
; Coordinate of the first drilling point (hole).
G81 Z2 I-10
G162 I40 K6 J-40 D4
; Multiple machining in a grid pattern.
G0 G80 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ37ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Canned cycle (G81) and multiple positioning (G163).
G0 Z100
T6 D1
M6
S1000 M3
G99 X-42.4264 Y-42.4264 F1000
; Coordinate of the first drilling point (hole).
G81 Z2 I-10
G163 X42.4264 Y42.4264 I45
G0 G80 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ38ꞏ
Exam ple s m anu a l (·M· m ode l).
2.
ISO PROGRAMMING
Example. Angular repetition.
G0 Z100
T4 D1
M6
S1000 M3
X100 Y0
Z2
G1 Z0 F175
N1: G91 Z-5
G90 G42 X75 Y0
; Repetition of down movements.
N3: G91 Q60
; Polar programming of the first side.
N4:
#RPT [N3,N4,5]
; Angular repetition of the sides.
G90 G40 X100 Y0
N2:
#RPT [N1,N2,4]
; Repetition of down movements.
G0 Z100
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ39ꞏ
Exam pl es m an ual (·M· m od el ).
2.
ISO PROGRAMMING
Example. Angular repetition.
CNCelite
8058 8060
8065
REF. 2106
ꞏ40ꞏ
3
3. PARAMETRIC PROGRAMMING.
ꞏ41ꞏ
Exam pl es m an ual (·M· m od el ).
3.
PARAMETRIC PROGRAMMING.
Exercise. Semi-sphere.
Parameter assignment.
P100 = 60 ; Radius of the semi-sphere.
P101 = 90 ; Initial angle.
P102 = 0 ; Final angle.
P103 = 0.5 ; Incremental angle.
P104 = 8 ; Tool radius.
Program.
G0 Z100
T12 D1
M6
S1000 M3
X0 Y0
N1: P120 = P100*COS [P101] P121 = P100*SIN [P101] ; XZ position.
P120 = P120+P104 ; Tool compensation.
P121 = P121-P100 ; Zero up.
G1 XP120 ZP121 F1000
G2 Q360
N2:
P101 = P101-P103 ; Angular decrement.
Comparison.
CNCelite $IF P101 > P102 $GOTO N1
8058 8060 P101 = P102
8065 #RPT[N1,N2]
G0 Z100
M30
REF. 2106
ꞏ42ꞏ
Exam ple s m anu a l (·M· m ode l).
3.
PARAMETRIC PROGRAMMING.
Exercise. Toroid (donut).
Parameter assignment.
P100 = -90
P101 = 90
P102 = 1
P103 = 10
P104 = 3
P105 = -P103
P106 = 40
P120 = P103+P104
Program.
G0 Z100
T12 D1
M6
S1000 M3
X0 Y0
N1: G18
G30 IP105 JP106
G1 RP120 QP100 F1000
G17
G30 I0 J0
G3 Q360
N2:
P100 = P100+P102
Comparison.
$IF P100<P101 $GOTO N1
CNCelite
P100 = P101
#RPT[N1,N2] 8058 8060
G0 Z100 8065
M30
REF. 2106
ꞏ43ꞏ
Exam pl es m an ual (·M· m od el ).
3.
PARAMETRIC PROGRAMMING.
Exercise. Ashtray.
Parameter assignment.
P100 = -90
P101 = 90
P102 = 1
P103 = 10
P104 = 3
P105 = -P103
P106 = 40
P120 = P103+P104
Program.
G0 Z100
T12 D1
M6
S1000 M3
X0 Y0
N1: G18
G30 IP105 JP106
G1 RP120 QP100 F1000
G17
G1 Y20
G31 G6 G3 Q90 I20 J20
G1 X-20
G31 G6 G3 Q180 I-20 J20
G1 Y-20
G31 G6 G3 Q-90 I-20 J-20
G1 X20
CNCelite G31 G6 G3 Q0 I20 J-20
8058 8060 G1 Y0
8065 N2:
P100 = P100+P102
REF. 2106
Comparison.
$IF P100<P101 $GOTO N1
P100 = P101
#RPT[N1,N2]
G0 Z100
M30
ꞏ44ꞏ
Exam ple s m anu a l (·M· m ode l).
3.
PARAMETRIC PROGRAMMING.
Exercise. Pockets with 4 sides and 4 different radii.
P100 = Width -X
P101 = Width +Y
P102 = Width +X
P103 = Width -Y
P104 = Increment in "Z"
P105 = Initial "Z" coordinate
P106 = Final "Z" coordinate
P107 = Tool offset "D"
Parameter assignment.
P102 = 50 P103 = 40 ; External sides.
P107 = 5 ; Tool radius.
P125 = 80 P126 = 60 P127 = 50 P128 = 70 ; Angles.
P130 = 5 P131 = 7 P132 = 4 P133 = 8 ; smaller radii.
P140 = 10 P141 = 12 P142 = 15 P143 = 17 ; Larger radii.
P120 = 0 P121 = 1 P122 = 30
P150 = P122-P120 P151 = P150/P121 P152 = FUP[P151]
P160 = P140-P130 P161 = P141-P131 P162 = P142-P132 P163 = P143-P133
P140 = P140+P107 P141 = P141+P107 P142 = P142+P107 P143 = P143+P107
P164 = P160/P152 P165 = P161/P152 P166 = P162/P152 P167 = P163/P152
G0 Z100
T4 D1
M6
N1:
P170 = P120/TAN[P125]
P171 = P120/TAN[P126] CNCelite
P172 = P120/TAN[P127] 8058 8060
P173 = P120/TAN[P128]
P180 = P100-P170 8065
P181 = P101-P171
P182 = P102-P172
P183 = P103-P173 REF. 2106
ꞏ45ꞏ
Exam pl es m an ual (·M· m od el ).
Program.
G01 X-P180 Y0 Z-P120 F2000
YP181
G36 IP140
XP182
G36 IP141
Y-P183
G36 IP142
X-P180
3.
G36 IP143
Y0
N2:
P120 = P120+P121
PARAMETRIC PROGRAMMING.
Exercise. Pockets with 4 sides and 4 different radii.
Comparison.
$IF P120<P122 $GOTO N1
P120 = P122
P140 = P130+P107 P141 = P131+P107 P142 = P132+P107 P143 = P133+P107
#RPT[N1,N2]
G00 Z50
M30
CNCelite
8058 8060
8065
REF. 2106
ꞏ46ꞏ
Exam ple s m anu a l (·M· m ode l).
User notes:
CNCelite
8058 8060
8065
REF. 2106
ꞏ47ꞏ
Exam pl es m an ual (·M· m od el ).
User notes:
CNCelite
8058 8060
8065
REF. 2106
ꞏ48ꞏ
Exam ple s m anu a l (·M· m ode l).
User notes:
CNCelite
8058 8060
8065
REF. 2106
ꞏ49ꞏ
FAGOR AUTOMATION