Вы находитесь на странице: 1из 37

DP Technology

Germany GmbH

ESPRIT POSTPROCESSOR DOCUMENTATION

Machine : HAAS Automation


Type : Vertical Series TM, OM, MM, SMM, VF and VM
Control : HAAS
Kinematics : a) 3 Axis Vertical
b) 4 Axis Rotary Axis (A) or (B) – HRT
c) 5 Axis Swivel table (A) & Rotary table (C) – TRT
d) 5 Axis Swivel table (B) & Rotary table (C)
ESPRIT-Version : ESPRIT 2016 or newer

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.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 1 of 37
Dokument Revision:

History
Revision 1.50 11.06.2018 (MS)
Post Version 1.50 Axis combination now support AB and from machine
G154 P3 ->G154 P19
Revision 1.48 06.06.2018 (MS)
Post Version 1.48 change macro call for tilted planes from 9009 to 9007
Add option to supress clamping, add option to supress unwind
fix G154 without P
G128 ->G154 P3
add option to use G28 G91 for Toolchangeposition
error messages are now shown as Dialog in ESPRIT
Revision 1.47 25.05.2018 (MS)
Post Version 1.47 Gundrilling: Cancel coolant after retract to startdepth
Fix Feedrate for Rapid moves with G01 option
Add option to use different macros for tilted planes
Revision 1.44 30.04.2018 (MS)
Post Version 1.44 Fix Gundrill missing Speedcheck for startpoint and rapid
Add D from operation or from Tool
Tap cycle with increment customsetting3 and Peckcycle with G84 if Tap tool is
used
Revision 1.42 4.04.2018 (MS)
Post Version 1.42 Fix 4 axis kinematic – Unwind, G43 after G28
Revision 1.41 5.02.2018 (MS)
Post Version 1.41 Fix Inversefeed
Add : force coolant and speed if M01 option is used
Revision 1.38 16.07.2017 (MS)
Post Version 1.38 Fix B0 ,fix Gundrill,
Add Retractfeed for Peckcycle if canned cycle is not used
Revision 1.36 27.07.2017 (MS)
Post Version 1.36 Blocknumber for Tool/operation/all
Revision 1.35 30.06.2017 (MS)
Post Version 1.35 add use seperator
fix AB/AC output , fix spindledirection after M01 output
fix output of G69 only if G68 was used (MS)
Revision 1.32 10.03.2017 (MS)
Post Version 1.32 Add Kinetic option ( AB,AC) for setup, add G187, add Gundrilling, add Coolant
delay, add table endposition (MS)
Revision 1.31 27.02.2017 (JM)
Post Version 1.29 Fix Workcoordinate if no rotation, remove save move if no rotation
Revision 1.29 27.06.2016 (MS)
Post Version 1.29 Allow Z0 for Homeposition, add Custom NCcode (MS)
Revision 1.24 28.01.2016 (DH)
Post Version 1.24 Add TAP2 – G74, add J for G84 and G74
Revision 1.22 16.12.2015 (DH)
Post Version 1.22 New length compensation G43 H… after retraction with G28
Revision 1.19 15.12.2015 (Daniela Heinemann)
Post Version 1.19 M9 before tool change, Custom Settings via AddIn DPTG Toolbox
Revision 1.15 11.11.2015 (Angelika Glöckner)

b8bb3901-872e-4240-a8b1-882cceacd675 Page 2 of 37
Post Version 1.15 Feed output in Tool change sequence can be suppressed
Revision 1.14 23.09.2015 (Michael Scheer)
Post Version 1.14 Added possibility to output M01 at the end of an operation or before a
toolchange (customstring 6)
Add use Rapidfeed from machinesetup ( rapid option+1 )
Parkcycle Output operationname; M5,M9 only output if stop code is enabled
Output toolID + toolchangecomment
Revision 1.13 08.07.2015 (Angelika Glöckner)
Post Version 1.13 - M83 coolant air through spindle
Revision 1.10 19.05.2015
Post Version 1.10 - Additional coolant M54
- Possibility to go to Safe Z after every operation
Revision 1.05 10.02.2015 (Michael Scheer)
Post Version 1.07 Add ability to create a tool list at program start
Revision 1.04 09.02.2015 (Udo Ehnes)
Post Version 1.06 Minor spell checking and formatting
Post Version 1.03 01.12.2014 (AG) Changed Coolant
Post Version 1.02 10.11.2014 Enhanced section for usage of P9009 Macro (Udo Ehnes)

Post Version 1.01 20.01.2014 First documentation (Angelika Glöckner)

Document and content management: DP Technology Germany GmbH


Udo Ehnes, Technical Director Europe

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

b8bb3901-872e-4240-a8b1-882cceacd675 Page 3 of 37
Content
IN GENERAL ............................................................................................................................................................5
ENABLE THE “CUSTOM PAGE” SETTING .............................................................................................................................. 5
SUPPORT / ENHANCEMENT REQUESTS ............................................................................................................................... 6
ESPRIT-MACHINE PACKAGE ............................................................................................................................................ 6
Content ................................................................................................................................................................. 6

INSTALLATION ........................................................................................................................................................8
ADDIN ......................................................................................................................................................................... 8
MACHINE SETUP ............................................................................................................................................................ 8
POSTPROCESSOR ............................................................................................................................................................ 9
CUSTOM SETUP VIA TOOLBOX ADDIN .................................................................................................................. 10
AVAILABLE OPTIONS ON THE CUSTOM SETTINGS MENU ..................................................................................... 11

GROUP GENERAL ......................................................................................................................................................... 11


GROUP TOOL CHANGE .................................................................................................................................................. 11
GROUP HOME POSITION ............................................................................................................................................... 11
GROUP SAFE POSITION ................................................................................................................................................. 11
GROUP TILTING WORK PLANE ........................................................................................................................................ 12
GROUP FEED SETTINGS ................................................................................................................................................. 12
CLAMPING .................................................................................................................................................................. 12
GENERAL FUNCTIONALITY .................................................................................................................................... 13

HEADLINES ................................................................................................................................................................. 13
COOLANT CODES ......................................................................................................................................................... 13
GENERAL SETTINGS .............................................................................................................................................. 14

BLOCK NUMBER ........................................................................................................................................................... 14


CIRCLE ....................................................................................................................................................................... 14
LANGUAGE ................................................................................................................................................................. 14
G43 AFTER G28 .......................................................................................................................................................... 14
COOLANTCODE ............................................................................................................................................................ 15
AXES COMBINATION ..................................................................................................................................................... 15
USE SEPERATOR ........................................................................................................................................................... 15
D REGISTER................................................................................................................................................................. 15
UNWIND .................................................................................................................................................................... 15
HOME POSITION .................................................................................................................................................. 15
SAFE POSITION ..................................................................................................................................................... 15

GO TO A SAFE POSITION BEFORE AXES ROTATION ................................................................................................................ 16


GO TO A SAFE POSITION AFTER EACH OPERATION ................................................................................................................ 16
TABLE ENDPOSTION ...................................................................................................................................................... 16
TOOL CHANGE ...................................................................................................................................................... 17

TOOL LIST ................................................................................................................................................................... 17


PRESET TOOL .............................................................................................................................................................. 17
M01 STOP ................................................................................................................................................................. 17
GO TO A SAFE POSITION FOR TOOL CHANGE ....................................................................................................................... 18
FEED SETTINGS ..................................................................................................................................................... 20

FEED FOR ROT. AXES POS .............................................................................................................................................. 20


RAPID MOVES ............................................................................................................................................................. 20
FEED OUT IN TC SEQUENCE ............................................................................................................................................ 21

b8bb3901-872e-4240-a8b1-882cceacd675 Page 4 of 37
USE INVERSE FEED (G93) .............................................................................................................................................. 21
MAX. INVERSE FEED ..................................................................................................................................................... 21
INVERSE FEED RATE FOR SIMULTANEOUS OPERATIONS.......................................................................................................... 21
REDUCE FEED RATE FOR PREPOSITIONING OF ROTARY AXES ................................................................................................... 22
USE FEED MOVES INSTEAD OF RAPID MOVES ...................................................................................................................... 22
TILTING WORKING PLANE .................................................................................................................................... 23
WORKING WITH WORK COORDINATES ................................................................................................................ 24

WORK COORDINATE SETTINGS ....................................................................................................................................... 24


Working with controller macro P9007 ................................................................................................................ 24
Working without controller macro P9007 .......................................................................................................... 26

GENERAL OPERATION SETTINGS .......................................................................................................................... 28

G187 SETTING THE SMOOTHNESS LEVEL .......................................................................................................................... 28


AIR-SPINDLE (HIGH-SPEED AIR MOTOR MILLING SPINDLE)................................................................................... 29
DRILLING CYCLES .................................................................................................................................................. 30
OVERVIEW .................................................................................................................................................................. 30
DRILLING CYCLE DETAILS ............................................................................................................................................... 31
SPECIAL SETTINGS FOR DRILL CYCLES................................................................................................................................ 35
ALARMS ............................................................................................................................................................... 36
SUMMARY OF CUSTOM SETTINGS IN THE MACHINE SETUP ................................................................................. 37

In General

This machine package supports the machine series HAAS VF-/VM-/ToolRoomMill-/MiniMill with Haas controller in
different axis configurations.
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.
Please read this manual carefully and configure the machine setup before using the post processor.

Enable the “Custom Page” setting

 For a proper programming please enable the “Custom Page” setting.

Go to Menu Tools  Options  Machining, enable Custom Page and select the button Default to save your
settings as default behaviour.

Enable
Custom Page

b8bb3901-872e-4240-a8b1-882cceacd675 Page 5 of 37
Support / Enhancement Requests

If you discover issues with the post processor or have questions, please first check to see if you are running the latest
version of the post processor, machine setup (ems file) and AddIn. You can find the latest versions in the Post Library
at www.dptechnology.com (login required). After trying the newest version of the post, please contact support if
you need further assistance. You can do so online, under SupportWeb, at www.dptechnology.com (login required).
Alternatively, you can email support@dptechnology.com. Regardless of what method you use, please be sure to
include the following items.
An ESPRIT file that demonstrates the issue.
The current NC code with notes added marking the areas in question.

If you would like to request enhancements for this post processor, you may also do this online at
www.dptechnology.com (login required) by submitting an Enhancement Request incident in the SupportWeb. Again,
please include the items mentioned above when submitting an enhancement request.

ESPRIT-Machine Package

The package for your machine includes post processor (*.PST), documentation and machine setup file (*.EMS). This
package supports the functionality of AddIn DPTG Toolbox version V2.1.0 or higher.

Content
A machine package consists of:

 ESPRIT postprocessor in compiled format (*.PST)


 ESPRIT machine simulation model (*.EMS)
 Programming Manual for postprocessor

Generally you receive your ESPRIT machine package on CD, together with your ESPRIT licence key and your licence
stick.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 6 of 37
CD Content:
HAAS Vertical Series

Directory Data name and Description

Add-In DPTG Toolbox

Programming Contains this postprocessor manual in PDF format


Manual
HAAS-Series_ESPRIT-ProgrammingManual.pdf

Machine model The machine models for simulation and collision consideration are available
in the ESPRIT web. If you have question you can ask our Support hotline.

Postprocessor The postprocessor translates the universal NC language in ESPRIT into


controller language. The postprocessor is compiled and secured for the ESPRIT
license key.

HAAS-VerticalSeries_.pst

Templates Not necessary for this machine

ESPRIT Data Not necessary for this machine

b8bb3901-872e-4240-a8b1-882cceacd675 Page 7 of 37
Installation
Addin

The DPTG Toolbox can be downloaded from the ESPRIT Web by using this link:
https://www.dptechnology.com/ew/default.asp?GroupID=156
You need administrative privileges to install the AddIn. Please close ESPRIT before starting the setup. Execute the
program Toolbox setup Vxxx. There are no additional settings necessary during the installation. If an older version
of the AddIn is already installed, please de-install the old version first.
The AddIn is already enabled after installation. To see the option go to Tools  Add-In...

A new symbol bar is visible in ESPRIT.

Machine setup

You can save the EMS file to any directory on your pc, but it is recommended to use the technology directory. To get
the path, please go to Tools  Options.

Please use the EMS file from the package for all ESPRIT programs created for this machine! To open a machine setup,
do a right click on the grey area in the machine setup dialog. For simplifying the usage, it is recommended to create
a template in ESPRIT.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 8 of 37
Postprocessor

Copy the post processor to the current post directory. To get the path, please go to Tools  Options.

Apply the post processor in the NC Output Settings of the machine setup dialog:

b8bb3901-872e-4240-a8b1-882cceacd675 Page 9 of 37
Custom Setup via Toolbox AddIn

If you do NOT have installed the AddIn DPTG Toolbox you can skip this chapter, but its recommended to use the
Addin, some settings are only available with this Addin.
The AddIn DPTG Toolbox offers the possibility to use the Custom Setup if the postprocessor supports it. This will
provide you an easy way to tweak your nc-code output in a way you prefer. The DPTG Toolbox can be downloaded
from the ESPRIT Web by using this link:
http://www.dptechnology.com/ew/tbs/tbd.asp?BackURL=/ew/default.asp&BulletinID=t4c2473502261B5F0235

If the AddIn is installed, you see the following symbol bar on your ESPRIT interface:

 Please be sure that the correct postprocessor file (*.pst) and the machine setup file (*.ems) are used
before you adjust the custom settings.

To activate the Custom Setup simply click on Show DP Toolbox and activate the Custom Setup
If the icon is displayed on your icon bar then you can select it to open the Custom Setup menu.
With the help of the Custom Setup you have many possibilities to adjust your NC-code output. The Setup mainly
shows the values from Custom Setting 1 – 10 and Custom String 1 -10 from the machine setup, but there are also
some settings, that are not visible in the Machine Setup. They will be saved with the machine setup also when you
save it.
The Custom Setup for this machine looks like is shown below:
Postprocessor file
name

Comment
according to the
postprocessor
(e.g. version 1.19)

Name of current
used machine
setup file

Configuration
parameters for
the postprocessor

Save: Save the settings to the machine setup file. The settings are used for the next post run.
Cancel: Ignore the changes.
Default: You get all the default settings from within the postprocessor which were pre-defined by
our development team.
Reset Operation: This will delete a Custom Setup that was not done by the current postprocessor.

 If you change the postprocessor (*.pst file) and / or the machine setup (*.ems file) it is recommended to
apply Reset Operation and Default.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 10 of 37
Available Options on the Custom Settings Menu
Group General
Language  EN/DE/FR/PL
Circlemode  IJK
 Radius
G43 after G28  Yes
 No
Coolant Code  After TC
 After G43
Axes combination  AB
 from machine setup
Block number  No
 for TC + Operation
 Yes
 Block number for TC
D Register  From Tool
 From Operation
Use seperator  Yes
 No
Unwind  Yes
 5X operations
 No

Group Tool Change


Tool List  Yes
 No
Preset tool  Preset + Repeat tool number
 Only Preset
 No
M01 Stop  No Stop
 before each TC
 after each operation
Spindle Stop for TC  Yes
 No
Additional Home position  Yes
 No
Toolchange Position  G53
 G28 G91

Group Home Position


Home Position X  value
Home Position Y  value
Home Position Z  value

Group Safe Position


Safe Position X  value
Safe Position Y  value
Safe Position Z  value

b8bb3901-872e-4240-a8b1-882cceacd675 Page 11 of 37
Safe Retract  Default
 after each operation
Table Endposition  None
G28 G91 Y0

Group Tilting Work plane


Use macro for tilted  No
offset  Use macro 9007
 Free Number
Macro Number value

Group Feed Settings


Inverse feed rate  Yes
 No
Feed for Rot. Axes  value
position
Rapid move  G0(2D,3D)
 G1 predef. F
 G1 Feed from Head
Feed out in TC sequence  No
 Yes

Clamping
Clamp  Yes
 No

b8bb3901-872e-4240-a8b1-882cceacd675 Page 12 of 37
General functionality
Headlines

If you want to see some headlines at the beginning of your nc-code, you need to define a “Custom Cycle” as the first
operation. To do this please select Machining  Common Machining  Custom Cycle and choose Strings. There
you can type in your headlines (up to 10 lines of strings are possible).

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 can not be checked by the postprocessor!!!

Coolant Codes

ESPRIT NC-Code ESPRIT NC-Code


Off M09 (Off) On Through Spindle M88
M89 (Off M88)
M63 (Off M53) / M64 (Off M54)
M61 (Off Air Spindle)
M84 (Off M83)
On M08 Mist Through Spindle M54 (air coolant)
Mist M53 (Air coolant) Flood Through Spindle M08 and M88
Flood M83 (Air through Spindle) Flood2/ Flood2 Through Spindle Not used

Coolant will be switched off before tool change.


Note: M83/M84 might use macro P9009. Please check this at the control and change the number of the
tilted macro id you need this macro.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 13 of 37
General Settings
Block number
Set option Block number to
Yes: every line.
No : No Blocknumber
TC : block number only for tool call
TC+Operation : block number for tool call and for every operation

Circle
Circles can be output either with radius or with arc centre 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
Addin:

Language
You can choose the language of the output comments in the NC program. If you do not select any language, the
comments are output in English.

G43 after G28


On some Haas controller software the length compensation (G43 H…) is cancelled by a G28 -retract. It has to be
enabled again by adding the line G43 H… after the retraction with G28. But this is not a default behavior. That’s
why you can set option G43 after G28 to Yes, if your controller loses the length compensation by G28.

Example:

G00 G91 G28 Z0 Retract with G28
G90
G00 A0 B0
G00 X-6. Y8.32
G43 H01 Z50. S3000 New length compensation
G00 Z2.

 Available with Addin.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 14 of 37
 Available with Addin.

Coolantcode

Coolant will be called after toolchange or delayed until G43 is output.

Axes combination
Old controls always need the rotary axes named with A and B, newer controls use the real names for the rotary
axis. You can select to always use A and B or the kinematic from the machine setup (AC ,BC ,A, B table).

Use Seperator
Output of additional lines for better reading.

D Register
D Register value is set by tool or by operation( if available)

Unwind
Unwind the round table
Angle>360 degrees
5X operations
Never
Example:
(4th AXIS UNWIND)
G00 G53 Z0.
G91 G28 B0
G90

Home Position
The Home Position is needed for retraction for tool change. The default values are X-709, Y-202, Z-70.
If you do not define the Home Position, the postprocessor will automatically output the default values.

Example:

G00 G53 Z-70.
G00 G53 X-709. Y-204.
T2 M06

You can find further information in chapter “Go to a safe position for tool change“.

Safe Position
Define a Safe Position X / Y / Z where the tool shall move to when the ration axes are tilted or for a safe positioning
in 5 axis simultaneous operations.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 15 of 37
An input value of -999 suppresses the respective axis. If all values are -999 and a rotary axis moves to a new position
without a tool change before, the postprocessor outputs the line G0 G91 G28 Z0. In this case the Z axis moves to its
tool change position before the rotation.

With the option Safe Retract you can choose between Default and After each operation.
After each operation means that the tool moves at the end of each operation to a safe position, although the next
operation is done by the same tool.

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.

Go to a safe position after each operation

If you want a safe retract in Z after every operation you can set Custom String 4 to 1.
The post outputs always a G53 with the safe Z coordinate in this case.

Table Endpostion
Output G29G91 Y0 at end of program.

 Available with Addin.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 16 of 37
Tool Change

The picture shows the default settings of several options.

Tool List
If you want a list of all used tools at the beginning of the NC program, set option Tool List to At PGM Start.

Example:

O00001 ( )
(18.03.2014 13:57:31)
(T26 - BM_HM04)
(T20 - BM_HM20)

Preset Tool
The option Preset Tool contains the following choice:
Preset and repeat Tool Number  After tool call a further T –call with the number of the next tool
follows,
but without M06.
Only preset Tool  Only the first tool change gets a tool preset.
No  There is no tool preset.

T20 M06 (FM 2 IN) T20 M06 (FM 2 IN) T20 M06 (FM 2 IN)
(FACE MILL) (FACE MILL) (FACE MILL)
T21 T21 ...
... ... (--------------------------)
(--------------------------) (--------------------------) T21 M06 (BM 1 IN)
T21 M06 (BM 1 IN) M06 (BM 1 IN)

M01 Stop
An additional stop before each tool change (Stop before TC) or after each operation (Stop after Operation) is
selectable. By default there is no stop.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 17 of 37
If Stop after operation is used the post will output coolant and speed before the next rapid move.

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 it is also possible to set the setup to None.

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 doesn’t use G28 for the HOME position as
default. If HOME is chosen the post generates the following lines:

Metric: Inch:

G00 G53 Z-70. G00 G53 Z-2.75


G00 G53 X-709. Y-204. G00 G53 X-27.9 Y-8.3
M09 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.

The setting Toolchange Position in the toolbox machine setup switch between G53 and G28 G91 for the output.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 18 of 37
Example:
%
O1234 (Plate)
(07.12.2015 16:39:12)
(T3 - MK_D63)  Tool List at PGM-Start
(T2 - SPIBO_D5)
(T1 - SF_D8)
(T4 - GEWIBO_M6)
(T5 - SF_D12)
G17
(-------------------------)
G00 G1 A0 B0
N10 T3 M06 (MK_D63)  Tool call with block number
T2  Tool preset
G00 G90 G94 G1 S2500 M03 F500.
(SM-PLANFRAESEN)

G00 G53 Z-70.
G00 G53 X-709. Y-204.
M01  M01 Stop before tool change
(-------------------------)
N20 T2 M06 (SPIBO_D5)  Tool call with block number
T1  Tool preset
G00 G90 G94 G1 S4000 M03 F300.
(SM-BOHREN)

G00 G53 Z-70.  optional G28 G91 Z-70
G00 G53 X-709. Y-204.  optional G28 G91 X-709. Y-204
M01  M01 Stop before tool change
(-------------------------)
N30 T1 M06 (SF_D8)  Tool call with block number
T4  Tool preset
G00 G90 G94 G1 S6000 M03 F600.
(SM-TASCHENFRAESEN)

If you set option Spindle Stop for TC to Yes, the postprocessor will output M05 before the next tool change.

Example:

M09
M05
G00 G53 Z-70.
G00 G53 X-709. Y-204.
(-------------------------)
T4 M06 (GEWIBO_M6)

b8bb3901-872e-4240-a8b1-882cceacd675 Page 19 of 37
With the option Additional HOME position you can output an additional Home Position after each tool change (After
TC) or only before the first tool change (Before first TC) or both.

Feed Settings

Feed for Rot. Axes Pos


If you want to position the rotary axes with G01 and use the feed rate of the operation instead of G00 (rapid move),
set option Feed for Rot. Axes Pos. to 1. If you want G01 and a different feed rate, please enter the feedrate value.
With the default setting 0 the positioning of the rotary axes is done by G00 (rapid move).

Rapid Moves
With the option Rapid Moves you can select whether rapid moves should be output with G00, with G01 and F9999
or with G01 and the rapid rate from machine setup.

Machine Setup  Assembly  Head:

b8bb3901-872e-4240-a8b1-882cceacd675 Page 20 of 37
Feed out in TC sequence
If you do not want a feed output in the technology block after tool call, set option Feed out in TC sequence to No.
The default setting is Yes.

Example: Feed out in TC sequence = No Example: Feed out in TC sequence = Yes




N10 T2 M06 (SPIBO_D5)
N10 T2 M06 (SPIBO_D5)
G00 G90 G94 G1 S3000 M03 F1000.
G01 G90 G94 G54 S3000 M03

Use Inverse Feed (G93)


If you enable the option Use Inverse Feed (G93) with Yes, a new input box appears for defining the Max. Inverse
Feed.

Max. Inverse Feed


If you do not define a value for Max. Inverse Feed, the postprocessor adopts 200000 as maximum inverse feed value.

You can find further information in chapter “Inverse feed rate for simultaneous operations“.

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 rate 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  optional disable clamping
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

b8bb3901-872e-4240-a8b1-882cceacd675 Page 21 of 37
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 rate has to be output in every line in case of inverse feed.

Reduce feed rate for prepositioning of rotary axes


If you want to use a feed rate 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

Use feed moves instead of rapid moves


You can choose whether you want to use G00 for rapid movements or G01 with a high feed rate. Set Custom
Setting 7 of the machine configuration to 1 and the post outputs automatically G01 and a feed rate for rapid
moves. Set custom setting 7 =2 to use the feedrate of the Machine setup

(3D SCHRUPPEN NR1)


M08
G01 C90. B90. F5000.
G01 X-3.252 Y-32.236 F9999.  rapid move
G43 H01 Z17.317
G01 Z13.817
G01 Y32.222
G01 Z17.417 F9999.  rapid move
G01 X1.748 Y-32.967 F9999.  rapid move

b8bb3901-872e-4240-a8b1-882cceacd675 Page 22 of 37
Tilting Working Plane
The Haas control does not support or does not have the option to calculate zero points if the axes are rotated. With
Tilting Working Plane you can select to use the macro P9007 for calculating the zero point shifting. The macro files
are delivered with the postprocessor.

This macro is a subprogram to calculate the zero-point shifting in dependence of the tilting angles by the help of #-
parameters. This subprogram stays unmodified and will be stored on your controller. It is prepared depending on
the machine kinematic together with the postprocessor.
Supported kinematic:

You can find further information in chapter “Working with controller macro P9007“.
If the number is already used on your machine you can change the macro call of the postprocessor. Please take
care that you change the macro file too, to fit to the number you will use.

G54
G65 P9007 X-1.8539 Y3.693 Z4.3794 E1 A90. B90. C0
G01 A90. B-90. F200.
G154 P19 G90

 Please take care to copy the new macros! The macros 9007 are fully compatible with the existing macros
9009. Because of used parameters some variables are renamed. In the case you update the Haas
Postprocessor please update the macro at your control too. This version of the postprocessor call macro
9007 – older versions call macro 9009.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 23 of 37
Working with Work coordinates
Work Coordinate Settings

Since the HAAS machine control does not have a RTCP/TCPC functionality (Rotate Tool Centre Point/ Tool Centre
Point Control) the postprocessor can use a control 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 setup
inside ESPRIT and set Custom String 10 to 1 (See Working with controller macro P9007). If you do not want to use
the control macro you have to set the exact situation of your machine in ESPRIT (See Working without controller
macro P9007).

All simultaneous operations need to be in a work coordinate system where Rotate with part is set to None

Working with controller macro P9007

If macro P9007 is used it’s possible to work with several zero points and 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. This is our recommended way of working.

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 does not get rotated. After table

b8bb3901-872e-4240-a8b1-882cceacd675 Page 24 of 37
rotation the coordinate system matches XYZ machine coordinate. For both settings the NC output is correct, so it
just depends on your preferences.
With our HAAS Generic Postprocessor we provide you four different NC code files containing the needed control
macros. You have to choose the proper one matching your machine kinematics of your HAAS machines. We do
support 4 axis (mounted as A- or B-axis setup) and 5 axis (mounted as A&C- or B&C-setup). Independent from your
used machine the macro file name always needs to be renamed to 9007.NC as this is the name of the control macro
we call within our created NC code files. This macro handles the calculation of the local work offsets by using
parameters of your HAAS machine tool and stores them into the parameters G154 P19 of your controller.

Macro Description Rotary Type Control


File Name Macro Name

4 axis
Rotary device is mounted
parallel to X-axis.
9007_A.NC 9007.NC
 HRTA
 HRT
 HCR

4 axis
Rotary device is mounted
parallel to Y-axis.
9007_B.NC 9007.NC
 HRTA
 HRT
 HCR

4 and 5 axis
First Rotary device axis is
mounted parallel to X-
axis. Second rotary device
axis is mounted parallel
to Z-axis.
9007_AC.NC 9007.NC
 TR
 TRT

4 and 5 axis
First Rotary device axis is
mounted parallel to Y-
axis. Second rotary device
9007_BC.NC 9007.NC
axis is mounted parallel
to Z-axis.

 TR160Y

b8bb3901-872e-4240-a8b1-882cceacd675 Page 25 of 37
Working without controller macro P9007

If macro P9007 is not used the zero point moves with the rotation, but the machine doesn’t 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
postprocessor 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

Let’s 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.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 26 of 37
Primary axis:

Secondary axis:

b8bb3901-872e-4240-a8b1-882cceacd675 Page 27 of 37
General operation settings

With active Toolbox Addin, the operation custom settings are replaced with more readable text. Without the
addin you have to enter the desired values in the corresponding custom setting field.

Values
Custom setting 2

G187 Setting the Smoothness Level


G187 is an accuracy command that can set and control both the smoothness and max corner rounding value when
cutting a part. The format for using G187 is G187 Pn Ennnn.
P - Controls the smoothness level, P1(rough), P2(medium), or P3(finish). Temporarily overrides Setting 191.
E - Sets the max corner rounding value. Temporarily overrides Setting 85.
G187 will be canceled whenever RESET is pressed, M30 or M02 is executed, the end of program is reached, or
EMERGENCY STOP is pressed.
-1 -> G187
1,2,3-> G187 P 1,2,3;
1.01-> G187 P1 E0.01

b8bb3901-872e-4240-a8b1-882cceacd675 Page 28 of 37
Air-Spindle (High-Speed Air Motor Milling Spindle)

If you want to use an Air-Spindle you can set this within the Custom Settings of the tool definition by
using Custom Setting 1.

The postprocessor outputs the following sequence

M19 Spindle - Orientation


N10 T123 M06 Tool Change
M51 Activate Air - Spindle
G00 G90 G94 F201.
(Operation 1)
G00 A-90.
G00 X58.485 Y63.485
G43 H123 Z105.
G00 Z7.
..
<operation 1>
..
M61 De-Activate Air – Spindle

b8bb3901-872e-4240-a8b1-882cceacd675 Page 29 of 37
Drilling Cycles
Overview

ESPRIT ESPRIT
Controller Cycle Controller Cycle
Cycle Cycle
Drill G81 Bore 2 G86
Peck G83 Bore 3 G76
Tap G84 Bore 4 G89
Bore G85 Bore 5 Not used
Drill 2 G82 Bore 6 Gundrilling
Peck 2 G73 / G83 Bore 7 Not used
Tap2 G74

b8bb3901-872e-4240-a8b1-882cceacd675 Page 30 of 37
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)
If a tap tool is used, G84 will be called

Peck

All retractmoves are output with G1


If Retract Feed is set to 1.

Tap G84 Z(=absolute Z-depth)


R(=Feature-Surface+Clearance)
S(=Spindle speed)
F(=Z Feedrate)
If Customsetting3(Peckincrement) is
used, multiple G84 will be called.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 31 of 37
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)

Peck 2 Custom setting 1=1:


G83 Z(=absolute Z-depth)
R(=Feature-Surface+Clearance)
S(=Spindle speed)
F(=Z Feedrate) I(=1.Peckincrement)
J(=Decrement)
K(=min. Plunging Depth)
P(=dwell)
Custom setting 1=0:
G73 Z(=absolute Z-depth)
R(=Feature-Surface+Clearance)
S(=Spindle speed)
F(=Z Feedrate)
Q=(Peckincrement)
P(=dwell)

Tap 2 G74 Z(=absolute Z-depth)


R(=Feature-Surface+Clearance)

b8bb3901-872e-4240-a8b1-882cceacd675 Page 32 of 37
S(=Spindle speed)
F(=Z Feedrate)

Bore 2 G86 Z(=absolute Z-depth)


R(=Feature-Surface+Clearance)
S(=Spindle speed)
F(=Z Feedrate)

Bore3 G76 Z(=absolute Z-depth)


R(=Feature-Surface+Clearance)
Q(=Offset)
P(=dwell)
S(=Spindle speed)
F(=Z Feedrate)

Bore 4 G89 Z(=absolute Z-depth)


R(=Feature-Surface+Clearance)
P(=dwell)
S(=Spindle speed)
F(=Z Feedrate)

Bore5 Not used


Bore 6 Gundrilling:
This Cycle is used to output a Custom
sequence of commands for single-lip-

b8bb3901-872e-4240-a8b1-882cceacd675 Page 33 of 37
Tools. The tool feeds into the hole with
reduced spindle speed.

Example:

T47 M06
G94 S100 M3  activate reduced Spindle speed
M08
..
G43 H31 Z3.  Return Plane = Clearance
(*GUNDRILLING*)
G00 X60. Y-20.284

G01 Z-8. F300  Feed to Starting depth with red. Speed and Feed
M88  Activate inner coolant if set
S2500  At Starting Depth: Activate full Spindle Speed
G04 P5.  dwell time of 2 set by offset/First Dwell
G01 Z-15 F550  Feed to depth with full Feed Rate
G04 P2.  Dwell time from operation if set
S100  Reduce Spindle Speed
G01 Z-6. F200  Feed to Starting depth if not 0
M89 Coolant off if activated
G01 Z2. F200  Feed to Clearance if not 0
Rapid to Clearance if 0
M03 Spindledirection if M89 is used
Bore 7 Not used

b8bb3901-872e-4240-a8b1-882cceacd675 Page 34 of 37
Special Settings for Drill Cycles

Peck2: G73 (Q) / G83 (IJK)

Tap and Tap2: G74 and G84

Bore6 Gundrilling

b8bb3901-872e-4240-a8b1-882cceacd675 Page 35 of 37
Alarms

The postprocessor has several checks and outputs some alarms.

1) Feed rate may not be 0


2) Inverse Time Feed rate cannot be bigger than 45000
3) Spindle speed may not be 0
4) Angle bigger/smaller than maximum/minimum C-Angle (13653 degrees)
5) Is Rotate with part in the WCS set to None for simultaneous operations
6) 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 P9007 is used
7) Is Coordinate system set to World if macro P9007 is not used.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 36 of 37
Summary of custom settings in the machine setup

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  Positioning of rotary axes with G01 and feed from operation
= 0  Positioning of rotary axes with G00 (rapid move)
= any other value  Positioning of rotary axes with G01 and this feed value
Custom Setting 7 = 1  rapid moves will be output with G01 and F9999
= 0  rapid moves with G00
= 2  rapid moves will be output with G01 and Feed from machine setup
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 feed output in TC sequence
= 0  Feed output in TC sequence

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 Spindle Stop for Tool Change
Custom String (String) 3 = 1 Output Tool list at program start
Custom String (String) 4 =1 Go to a Safe Z position after EVERY operation
Custom String (String) 5 Max. Inverse Feed
Custom String (String) 6 M0 Stop: =0  no Stop; =1  M0 before TC; =2  M0 after operation
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 controller macro P9009
Important are mainly the Custom Strings 7, 8 and 9 of your Machine Setup as you can store a safe position of your
machine tool there. This safe position will be used if you did a machining using your 4 th or 5th 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.

b8bb3901-872e-4240-a8b1-882cceacd675 Page 37 of 37

Вам также может понравиться