Vous êtes sur la page 1sur 16

DP Technology

Germany GmbH
ESPRIT POSTPROCESSOR DOCUMENTATION
Machine :
Type :
Control :
Kinematics :

HAAS Automation
Vertical Series TM, OM, MM, SMM, VF and VM
HAAS
a) 3 Axis Vertical
b) 4 Axis Rotary Axis (A) - HRT
c) 5 Axis Swivel table (A) & Rotary table (C) TRT
d) 5 Axis Swivel table (B) & Rotary table (C)
ESPRIT-Version : ESPRIT 2012 or higher

This manual is designed to provide information about the different settings you can use
within ESPRIT and how they will reflect within your nc-code output for your specific
machine / control combination.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docxPage 1 of 16

Dokument Revision:
History
Revision
Post Version

1.01
1.01

Document and content management:

20.01.2014
First documentation (Angelika Glckner)
DP Technology Germany GmbH
Udo Ehnes, Technical Director Europe

Pictures of the machine: Absolute ownership and Copyright by HAAS Automation Europe

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 2 of 16

Content:
IN GENERAL / MACHINE SETUP ........................................................................................................................................ 4
ENABLE THE CUSTOM PAGE SETTING ............................................................................................................................ 4
DRILLING CYCLES .............................................................................................................................................................. 5
OVERVIEW ................................................................................................................................................................................5
DRILLING CYCLE DETAILS .............................................................................................................................................................5
HEADLINES ....................................................................................................................................................................... 6
TOOL CHANGE .................................................................................................................................................................. 7
TOOL CALL ................................................................................................................................................................................7
GO TO A SAFE POSITION FOR TOOL CHANGE .....................................................................................................................................7
GO TO A SAFE POSITION BEFORE AXES ROTATION ........................................................................................................... 8
COOLANT CODES .............................................................................................................................................................. 8
CIRCLE MOVES ............................................................................................................................................................... 8
WORKING WITH WORK COORDINATES ............................................................................................................................ 9
WORK COORDINATES SETTINGS ....................................................................................................................................................9
Working with macro P9009 ...............................................................................................................................................9
NOT working with macro P9009 .....................................................................................................................................10
INVERSE FEED RATE FOR SIMULTANEOUS OPERATIONS ................................................................................................ 12
REDUCE FEED FOR PREPOSITIONING OF B AND C ........................................................................................................... 12
USE FEED MOVES INSTEAD OF RAPID MOVES ................................................................................................................ 13
ALARMS ......................................................................................................................................................................... 13
RUN POSTPROCESSOR .................................................................................................................................................... 14
SUMMARY OF CUSTOM SETTINGS IN THE MACHINE SETUP ........................................................................................... 16

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 3 of 16

In General / Machine Setup


Please read this document completely to fully understand about the different settings and switches you can use
within ESPRIT to create your customized kind of nc-code output. Based on different machine parameters on your
control it is needed to be able to adopt your nc-code output and to give you more flexibility to fully support what
your machine tool is able to do.
Important are mainly the Custom String 7, 8 and 9 of your Machine Setup as you can store a safe position of your
th
th
machine tool there. This safe position will be used if you did a machining using your 4 or 5 axis for indexing and
then doing a 5 axis simultaneous machining where your previous used work plane gets disabled. We move your
tool to a safe position before your axis gets reset to 0.

For a proper programming please enable the Custom Page setting


Enable the Custom Page setting
Go to Menu:
Tools Options Machining and activate/set Custom Page and select the button Default.
Enable
Custom Page

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 4 of 16

Drilling Cycles
Overview
ESPRIT
Cycle

Controller Cycle

ESPRIT
Cycle

Controller Cycle

Drill

G81

Bore 3

G76

Peck

G83

Bore 4

G89

Tap

G84

Bore 5

Not used

Bore

G85

Bore 6

Not used

Drill 2

G82

Bore 7

Not used

Peck 2

G73

Tap2

G74

Bore 2

G86

Drilling Cycle Details

Cycle ESPRIT

Machine cycle

Drill

G81 Z<absolute Z-depth> R<Feature-Surface+Clearance> S<Spindle speed>


F<Z Feedrate>

Peck

G83 Z<absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate> Q<Peckincrement>

Tap

G84 Z<absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate>

Bore

G85 Z<absolute Z-depth > R< Feature-Surface+Clearance > P<dwell>


S< Spindle speed > F<Z Feedrate>

Drill 2

G82 Z<absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate>

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 5 of 16

Peck 2

G73 <absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate> I<1.Peckincrement> J<Peckincrement>
K<Retractamount> P<dwell>

Tap 2

G74 <absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate>

Bore 2

G86 <absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate>

Bore3

G76 <absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate> Q<Offset> P<dwell> S<Spindle speed>
F<Z Feedrate>

Bore 4

G89 <absolute Z-depth > R< Feature-Surface+Clearance >


P<dwell> S< Spindle speed > F<Z Feedrate>

Bore5

G73 <absolute Z-depth > R< Feature-Surface+Clearance >


S< Spindle speed > F<Z Feedrate> Q<Peckincrement>

Bore 6
Bore 7

Not used
Not used

Headlines
If you want some headlines at the beginning of your program, you have to design a custom cycle for the first
operation.
Go to Machining Common Machining Custom Cycle and choose Strings. Go to strings and type in your
headlines.
Example:
( Test )
( customer XY )
( material: )
..
..
Custom String 1 5 are output as a comment and Custom String 6 10 are output not as a comment.
This adds the possibility to type in extra NC-code, BUT be very careful as this nc-code cant be checked by the
postprocessor!!!

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 6 of 16

Tool Change
Tool call
In general the tool call looks like this:
T2 M06
T4

Change to tool number 2


Preset tool number 4

The next tool is preset if the tool isnt the same like the active tool. The first tool change always looks like shown
above. For the following tool changes you can choose whether the tool should be called again or not. And you can
also choose whether the tool should be preset or not.
If you do not want the tool to be called again, just set custom setting 5 of the machine configuration to 1.In this
case the tool is preset. If you set custom setting 5 to -1 there is no preset.
The output looks like this:
Custom setting 5 = 0

Custom setting 5 = 1

Custom setting 5 = -1

T2 M06 Set T2 and change tool


T4
Preset T4
..
..
T4 M06 Tool is repeated
T4
Preset T4 after first TC
..
..
M06
Tool Change (Tool T4 is not repeated)
T4
Preset of next tool
T2 M06 Set T2 and change tool
..
..
T4 M06 Set T4 and change tool

Go to a safe position for tool change


Depending on the setup you choose for Movement X, Y, Z in the Tool setup you will get different movements
before tool change. You can go to the home position, to a machine position or to a position in the local coordinate
system. But its also possible to set the setup to None.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 7 of 16

Since the HOME position in ESPRIT is the Tool change position but on the machine the G28 position is on the
upper right side and the tool change is on the upper left side, the post doesnt use G28 for the HOME position.
If HOME is chosen the post generates the following lines:
Metric:
G00 G53 Z-70.
G00 G53 X-709. Y-204.
M09

Inch:
G00 G53 Z-2.75
G00 G53 X-27.9 Y-8.3
M09

This also happens if HOME is used in a parking cycle. The values for the Home position can be changed in
Custom setting 1, 2 and 3 of the machine configuration.

Go to a safe position before axes rotation


If the angles of one or both rotary axes change and there is no tool change before that rotation, the post
automatically generates code to go to a safe position before the axes get positioned. The position that will be
programmed can be influenced by custom string 7, 8 and 9. The post checks the machine setup and outputs an
error message is no safe position is set. If you do not want to go to a safe position before rotating the axes you can
set -999. If all three values are set to -999 the post uses G28 (G0 G91 G28 Z0) to go to the Z-Home position in case
of a rotary move without tool change.

Coolant Codes
ESPRIT

NC-Code

ESPRIT

NC-Code

Off
On

M09 (Off)
M89 (Off Through Spindle)
M08

On Through Spindle

M88

Mist

Not used

Mist Through Spindle

Not used

Flood

Not used

Flood Through Spindle

M88

Flood2

Not used

Flood2 Through Spindle

Not used

Coolant will be switched off before tool change

Circle moves
Circles can be output either with radius or with arc center coordinates.
In general the post uses radius output. If you want to use I, J and K for circle moves set custom setting 9 to 1.
..
G01 X51.992 Y-7.
G02 X51.989 Y-6.622 I11.738 J0.293
G02 X51.998 Y-6.241 I11.997 J-0.087
G01 Y-6.239
..

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 8 of 16

Working with Work coordinates


Work Coordinates Settings
Since the machine has no RTCP the post uses a macro to calculate the new zero point when rotary axes get moved.
If you want to use this macro you have to activate it in the machine configuration. Go to the machine configuration
and set Custom String 10 to 1 (See Working with macro P9009). If you do not want to use the macro you have to
set the exact situation of your machine in ESPRIT (See NOT Working with macro P9009).
All simultaneous operations need to be in a work coordinate system where Rotate with part is set to None

Working with macro P9009


If macro P9009 is used its possible to work with several zero points. Machining Common Machining
Machine Setup General Coordinate System has to be Local. The macro moves the chosen zero point to the
location where it gets moved because of the axes rotation.
All 3+2 axes operations have to be in a work coordinate system where Rotate with part is set to Point only or
Point and Orientation.

If you choose Point and orientation the zero point and the plane match exactly your NC-output. If you choose Point
only the zero point matches exactly your NC-Output but the coordinate system doesnt get rotated. After table
rotation the coordinate system matches XYZ machine coordinate.
For both settings the nc-output is correct, so it just depends on your preferences.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 9 of 16

NOT working with macro P9009


If macro P9009 is not used the zero point moves with the rotation, but the machine doesnt know about it. For that
reason you have to set the exact position of you part in the machine configuration.
Machining Common Machining Machine Setup General Coordinate System has to be World. The
post checks whether the correct settings are used.
Example:

Center of rotation of primary axis = P1

Center of rotation of secondary axis = P2

ESPRIT-zero point = zero point of part for example G54

Lets pretend P1 has the coordinates X0, Y100 and Z-150 in relation to XYZ ESPRIT zero (G54) and P2 has X0, Y100
Z-100. In this case the settings in the machine configuration have to look like shown on the next page.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 10 of 16

Primary axis:

Secundary axis:

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 11 of 16

Inverse feed rate for simultaneous operations


It is possible to use inverse federate (G93). This can be activated by custom setting 8 of the machine configuration.
If this parameter gets set to 1 or to 93 inverse feed is set for all simultaneous operations. If you only want to use
inverse feed for a single operation than you can set custom setting 8 of the operation to 1 or to 93.
Output could look like this:
( --- SIMULTANEOUS MACHINING ---)
G00 C270. B0
M08
M11
M13
G00 Z61.
G00 X-3.368 Y1.075 Z64.536 B162.299 A45.
G00 X-42.781 Y-11.344 Z3.536
G00 X-36.8 Y-13.254 Z-2.743
G00 X-29.482 Y-15.589 Z-10.425
G93
G01 X-28.853 Y-15.735 Z-10.415 F34.625
G01 X-28.253 Y-15.8 Z-10.406 F1977.971
G01 X-27.65 Y-15.792 Z-10.396 F1977.971
G01 X-27.052 Y-15.711 Z-10.387 F1977.971
G01 X-26.468 Y-15.558 Z-10.379 F1977.971
G01 X-25.906 Y-15.337 Z-10.371 F1977.971
G01 X-25.376 Y-15.049 Z-10.363 F1977.971
..
..
Feed has to be output in every line in case of inverse feed.

Reduce feed for prepositioning of B and C


If you want to use a feedrate move G01 for the first positioning of rotary axes instead of a rapid move G0 you can
set custom setting 6 of the machine configuration to 1.
(SM MOLD SCHRUPPEN)
(3D SCHRUPPEN NR1)
M08
G01 C90. B90. F5000.
G254 (INVOKE DWO)
G00 X-3.252 Y-32.236

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 12 of 16

Use feed moves instead of rapid moves


You can choose whether you want to use G00 for rapid movements or G01 with a high feedrate. Set custom setting
7 of the machine configuration to 1 and the post outputs automatically G01 and a feedrate for rapid moves.
(3D SCHRUPPEN NR1)
M08
G01 C90. B90. F5000.
G254 (INVOKE DWO)
G01 X-3.252 Y-32.236 F9999.
G43 H01 Z17.317
G01 Z13.817
G01 Y32.222
G01 Z17.417 F9999.
G01 X1.748 Y-32.967 F9999.

rapid move

rapid move
rapid move

Alarms
The postprocessor has several checks and outputs some alarms.
1)
2)
3)
4)
5)
6)

Feedrate may not be 0


Inverse Time Feedrate cannot be bigger than 45000
Spindle speed may not be 0
Angle bigger/smaller than maximum/minimum C-Angle (13653 degrees)
Is Rotate with part in the WCS set to None for simultaneous operations
Is Coordinate system set to Local and is Rotate with part in the WCS set to Point only or Point and
orientation for 3 axes and 3+2 axes if macro P9009 is used
7) Is Coordinate system set to World if macro P9009 is not used.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 13 of 16

Run Postprocessor
The postprocessor has to be added to the Machine Setup. Go to File Advanced NC-Code and first add HaasSeries_Vx.xx.pst.

After appending posts click


here to safe the post to
the Machine Setup

Repeat this to add the post for macro P9009. Here it depends on the machine you are using. The following macros
are available:
Haas_P9001_A.pst
Haas_P9001_B.pst
Haas_P9001_AC.pst
Haas_P9001_BC.pst

4 axis only with an A-axis available (rotates around X)


4 axis only with a B-axis available (rotates around Y)
5 axis where there is an A-axis and a C-axis available
(A rotates around X, C around Z)
5 axis where there is a B-axis and a C-axis is available
(B rotates around Y, C around Z)

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 14 of 16

For the output of macro P9009 you can decide whether you want to output the program each time, or if you want
to output it once and safe it on the machine.
If you only want to output it once, you can just deactivate the check-box after saving the file to the machine.

For post-output choose File NC-Code or F9.

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 15 of 16

Summary of custom settings in the machine setup


There are several setup possibilities via custom settings.
Custom Setting 1

X-Home Position
Default: metric: -709 inch: 27.9

Custom Setting 2

Y-Home Position
Default: metric: -204 inch: -8.3

Custom Setting 3

Z-Home Position
Default: metric: -70 inch: -2.75

Custom Setting 4

= 0 No line/block numbering
= 1 Line/block number output with Tool Call, and with operation
start without tool calls.

Custom Setting 5

= 0 Repeat Tool for tool change (T2 M06). Preset of next tool
= 1 Tool only gets output with the first Tool change, because it is
preset after then.
= -1 No preset Tool gets set in M06 line

Custom Setting 6

= 1 First rotation of B and C with Feed and G01


= 0 Rapid move first rotation of B and C

Custom Setting 7

= 1 rapid moves will be output with G01 and F9999


= 0 rapid moves with G00

Custom Setting 8

= 1 or = 93 Inverse Feed for simultaneous operations


= 0 normal output of feed (G94)
This also works if custom setting 8 of the operation gets set.

Custom Setting 9

= 1 circle output with center coordinates I, J, K


= 0 circle output with radius

Custom Setting 10

= 1 No output of G126 before Tool change


= 0 Output of G126 before Tool change

Custom String (String) 1

= GERMAN comments will be output in German


= ENGLISH comments will be output in English
= FRENCH comments will be output in French

Custom String (String) 2

See Go to tool change position before tool change (G126)

Custom String (String) 3 - 6

Not used

Custom String (String) 7

Safe X position
See Go to a safe position before axes rotation

Custom String (String) 8

Safe Y position
See Go to a safe position before axes rotation

Custom String (String) 9

Safe Z position
See Go to a safe position before axes rotation

Custom String (String) 10

= 1 Use macro 9009 for zero point rotation


See Working with macro P9009

HAAS-Series V1.01 ESPRIT-ProgrammingManual.docx

Page 16 of 16

Vous aimerez peut-être aussi