PostHaste for GibbsCam - Format Reference Manual.pdf

(1783 KB) Pobierz
PostHaste for GibbsCAM - Format Reference Manual
PostHASTE
Postprocessor
50408g
Formatting Reference Manual
Have you seen Appendix E? IF NOT, YOU SHOULD! Please see page 119 now.
What is this manual and who is it for?
This is the second of two manuals written for Post HASTE – it contains detailed information regarding the
Post HASTE formatting templates.
This manual was written for people who are already familiar with the basic concepts covered in the manual
entitled Getting Started with PostHASTE. If you haven't already, please read (or review) that manual.
What is Post HASTE ?
Post HASTE (sometimes referred to as “the post” for short) is a software system that translates your CAM
system's tool motion output (CL files) into 'NC program' text (or 'ASCII') files to drive NC or CNC
machines. PostHaste can create programs in any of these formats:
EIA (sometimes referred to as 'ISO') standard :
EIA programs are the most common type of machine control files; they typically use G, X, Y, Z, T
and/or M codes (among others) for various machine movements and functions.
'Conversational' :
Conversational programs are usually somewhat similar to EIA programs, but typically have words
or phrases (such as 'LINE' or 'ARC') in place of some or all of the standard letter codes.
Tab-sequential (or “columnar”):
These types of programs are not very common anymore, but are sometimes needed for older (e.g.
'Bandit less expensive (such as Emco-Maier) machines. These programs have the various
numerical values arranged in columns (instead of using a letter); the location (or spacing) of the
numbers within each line determines the significance of the value. For example the first column
may be an X position, the second column the Y position, and so on.
Limitations of Post HASTE
Some machines do not use the above conventions and therefore PostHaste may not be suitable for use in generating
NC programs for them; among them are some Brother and older Mazak ('Mazatrol' language) machines and several
others. If you have any doubt as to whether or not PostHaste is suitable for your machine, then call us; we will be
able to help you determine its suitability. If it is not, then you may either purchase a postprocessor that has been
customized to the specific machine, or get as close to it as possible by configuring PostHaste, then editing the NC
code (using a text editor) to suit your machine exactly.
Post HASTE Post-Processor Formatting Reference Manual © 1989-2002 Paul Andrews & Ground Support
i
414197614.001.png
Table Of Contents
What is this manual and who is it for? ........................................................................................i
What is Post HASTE ? ..................................................................................................................i
Limitations of Post HASTE ..........................................................................................................i
1. POST HASTE BASICS ......................................................................................................1
1.1 How PostHaste works.............................................................................................................. 1
1.2 Template file extension naming conventions .......................................................................... 1
2. FORMAT TEMPLATES - THE BASICS............................................................................2
2.1 Overall structure of the template file...................................................................................... 2
First - the NAME line ................................................................................................................ 2
The address (letter) formats ....................................................................................................... 2
Commands and 'Switches'.......................................................................................................... 3
Basic rules regarding commands .............................................................................................................. 3
The “Sequences” ....................................................................................................................... 3
2.1.1 Comments in the format ...................................................................................................... 4
3. THE LETTER FORMATS..................................................................................................5
C__ (the COLUMN number - used only for columnar programs - see examples later) ...................... 6
S_ (the “Spaces” number - used only for columnar programs - see examples later) ............................ 6
+ (the plus sign) ......................................................................................................................................... 6
- (the minus sign) ....................................................................................................................................... 6
> (the “up to...” sign) ................................................................................................................................. 6
A numeral (in the above example the number: 3).................................................................................... 6
. (a decimal point) ...................................................................................................................................... 7
> (the “up to...” sign [again]) .................................................................................................................... 7
A number (in the above example the number: 4) .................................................................................... 7
x - the OUTPUT character. ....................................................................................................................... 7
The OUTPUT character for COLUMNAR style programs: ................................................................... 7
3.1 Advanced letter formatting ..................................................................................................... 8
3.1.1 Suppression of a letter (“numbers only” output) .................................................................. 8
3.1.2 Letter format modifiers........................................................................................................ 8
Add __ ........................................................................................................................................................ 8
DivBy _ and DivInto _ ........................................................................................................................ 9
Force ........................................................................................................................................................... 9
ii
Post HASTE Postprocessor Formatting Reference Manual © 1989-2002 Ground Support Numerical Control Systems
Inc 10
IncFrom _ ..................................................................................................................................................10
Limit __ __ ................................................................................................................................................10
Clamp __ __ ..............................................................................................................................................10
Mod __ ......................................................................................................................................................11
Modal.........................................................................................................................................................11
Mult __ ......................................................................................................................................................11
No-Opt .......................................................................................................................................................12
Sub __ ........................................................................................................................................................12
3.1.3 How Letter Format Modifiers are used together................................................................. 12
Hierarchy of Modifiers: ........................................................................................................... 13
Notes re “LIMIT checking”: .................................................................................................... 14
Regarding IncFrom:................................................................................................................. 14
4. COMMANDS AND 'SWITCHES' .................................................................................... 15
What's a Switch ? ...................................................................................................................... 15
4.1 List of Commands and Switches (the ones that are not used inside sequences) ................ 15
Note: See section 5.3 for commands that are used only inside of sequences. ............................ 15
We have listed all of the commands and switches in this section in alphabetical order, except for... 15
4.1.1 Ask ................................................................................................................................... 16
How to make the Ask repeat.....................................................................................................................17
4.1.2 AskPeckClear? .................................................................................................................. 17
4.1.3 ByDiameter? (lathe only) .................................................................................................. 17
4.1.4 Comment........................................................................................................................... 18
4.1.5 Convert ............................................................................................................................. 18
4.1.6 Coolant.............................................................................................................................. 19
Examples:................................................................................................................................ 19
4.1.6.1 Using [Cool] in an IF statement ............................................................................. 19
4.1.7 DComp.............................................................................................................................. 19
4.1.8 Drive ................................................................................................................................. 20
4.1.9 Each .................................................................................................................................. 20
4.1.10 EOB ('End Of Block' characters) .................................................................................... 20
4.1.11 EOF ('End Of File' characters)........................................................................................ 21
4.1.12 Feed and Rapid .............................................................................................................. 21
4.1.13 FeedType ....................................................................................................................... 21
4.1.14 First#?............................................................................................................................ 21
4.1.15 HCode, VCode, DCode and FeedCode........................................................................... 21
4.1.16 HCode2, VCode2, and DCode2...................................................................................... 22
4.1.17 Inc/Abs .......................................................................................................................... 22
4.1.18 Inch/MM........................................................................................................................ 22
4.1.19 Incremental? .................................................................................................................. 22
4.1.20 Ignore ............................................................................................................................ 23
4.1.21 Leading0s?..................................................................................................................... 23
4.1.22 LocalOutput? ................................................................................................................. 23
Important! Make sure your [Work] numbers match! ................................................................ 24
4.1.23 ModalGs ........................................................................................................................ 24
4.1.24 ModalLetters.................................................................................................................. 24
4.1.25 Notes: / EndOfNotes (or EndNotes) ............................................................................... 25
4.1.26 Rename.......................................................................................................................... 26
4.1.27 ReturnPlane or RetPlane ................................................................................................ 26
4.1.28 RevSigns........................................................................................................................ 27
4.1.29 RoundToQuad?.............................................................................................................. 27
Automatic 'round center to startpoint' feature ........................................................................................ 27
4.1.30 RevTurret2? ................................................................................................................... 28
4.1.31 Sequence#s .................................................................................................................... 28
4.1.32 Spaces? .......................................................................................................................... 29
4.1.33 SpeedType (lathe only) .................................................................................................. 29
4.1.34 Spindle........................................................................................................................... 29
4.1.35 SpliceSubs?.................................................................................................................... 29
4.1.36 Thread ........................................................................................................................... 29
4.1.37 TLAxisEnabled? ............................................................................................................ 30
4.1.38 Tolerance ....................................................................................................................... 30
4.1.39 Tools.............................................................................................................................. 30
4.1.40 UpperCaseComments? ................................................................................................... 31
4.1.41 Verbose? ........................................................................................................................ 31
4.1.42 Work.............................................................................................................................. 31
4.1.43 WorkDefault .................................................................................................................. 32
4.1.44 ZRestart? ....................................................................................................................... 32
4.2 Arc processing commands and switches ............................................................................... 33
4.2.1 ArcPlane ........................................................................................................................... 33
Using the [ArcPlane] variable in an ArcCode sequence ....................................................................... 34
4.2.2 Cw and Ccw...................................................................................................................... 35
4.2.3 CtrCode............................................................................................................................. 35
iv
Post HASTE Postprocessor Formatting Reference Manual © 1989-2002 Ground Support Numerical Control Systems
4.2.4 CtrCode>180 and CtrCode360 .......................................................................................... 35
4.2.5 CtrIncremental?................................................................................................................. 36
4.2.6 ByQuadrants?.................................................................................................................... 36
4.2.7 Helical? ............................................................................................................................. 36
4.2.7.1 Helical arcs - Handling special cases...................................................................... 36
So, what value is output with the K? .......................................................................................................37
What if you want some other K value? ...................................................................................................37
4.2.8 MaxRad ............................................................................................................................ 38
4.2.9 MinRad ............................................................................................................................. 38
4.2.10 MinArc .......................................................................................................................... 38
4.3 Special commands for Columnar style formats.................................................................... 39
4.3.1 Spaces ............................................................................................................................... 39
4.3.2 Dummy ............................................................................................................................. 39
5. THE “SEQUENCES” ...................................................................................................... 40
5.1 Using Variables:..................................................................................................................... 40
For a complete list of variable names and descriptions, see Appendix A. ................................. 41
5.2 The Sequence Descriptions.................................................................................................... 42
5.2.1 The standard sequences ..................................................................................................... 42
5.2.1.1 StartCode............................................................................................................... 42
5.2.1.2 1stToolChange....................................................................................................... 43
5.2.1.3 ToolChange ........................................................................................................... 44
5.2.1.4 Infeed .................................................................................................................... 44
5.2.1.5 OutFeed ................................................................................................................. 44
5.2.1.6 EndCode................................................................................................................ 45
5.2.2 Canned Cycles................................................................................................................... 46
5.2.2.1 Two ways to output canned cycles: 'canned' and 'longhand'.................................... 46
You may “mix and match” your drilling cycle methods........................................................................46
5.2.2.2 Cancel ................................................................................................................... 47
“End cancel” vs. “End” ............................................................................................................................47
The 'Cancel' sequence...............................................................................................................................47
5.2.2.3 Peck drilling (The Peck and ChipBreak cycles)...................................................... 47
…but what if my machine does not have a Peck or ChipBreak cycle?.................................................48
5.2.2.4 Advanced canned cycle control.............................................................................. 48
5.2.3 Controlling 'modality' - the “Force?” option ...................................................................... 49
5.2.4 Additional sequences for special purposes ......................................................................... 50
Zgłoś jeśli naruszono regulamin