PostHASTE Formatting Reference Manual.pdf
(
411 KB
)
Pobierz
Post HASTE-Postprocessor-Formatting Reference Manual
30526
PostHASTE
Postprocessor
Formatting Reference Manual
By the way - Have you seen Appendix D? If not, YOU SHOULD! Check it out.
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’) or 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.
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
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 (Flush) ................................................................................................................. 19
Examples:................................................................................................................................ 19
4.1.6.1 Using [Cool] in an IF statement ............................................................................. 19
4.1.7 DComp ............................................................................................................................. 20
4.1.8 Drive................................................................................................................................. 20
4.1.9 Each .................................................................................................................................. 21
4.1.10
EOB (‘End Of Block’ characters)................................................................................... 21
4.1.11
EOF (‘End Of File’ characters) ...................................................................................... 21
4.1.12
Feed and Rapid .............................................................................................................. 21
4.1.13
FeedType ....................................................................................................................... 22
4.1.14
First#?............................................................................................................................ 22
4.1.15
HCode, VCode, DCode and FeedCode........................................................................... 22
4.1.16 HCode2, VCode2, and DCode2 ..................................................................................... 22
4.1.17 Helical? ......................................................................................................................... 22
4.1.18 Inc/Abs .......................................................................................................................... 22
4.1.19 Inch/MM........................................................................................................................ 23
4.1.20 Incremental? .................................................................................................................. 23
4.1.21 Ignore ............................................................................................................................ 23
4.1.22 Leading0s?..................................................................................................................... 23
4.1.23 LocalOutput? ................................................................................................................. 24
Important! Make sure your [Work] numbers match! ................................................................ 24
4.1.24
ModalGs ........................................................................................................................ 25
4.1.25
ModalLetters.................................................................................................................. 25
4.1.26
Notes: / EndOfNotes (or EndNotes) ............................................................................... 26
4.1.27
ReturnPlane or RetPlane ................................................................................................ 26
4.1.28
RevSigns........................................................................................................................ 26
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? .......................................................................................................................... 28
4.1.33
SpeedType (lathe only) .................................................................................................. 29
4.1.34
Spindle........................................................................................................................... 29
4.1.35
Thread ........................................................................................................................... 29
4.1.36
Tolerance ....................................................................................................................... 29
4.1.37
Tools.............................................................................................................................. 30
4.1.38
UpperCaseComments?................................................................................................... 30
4.1.39
Work.............................................................................................................................. 30
4.1.40
WorkDefault .................................................................................................................. 31
4.1.41
ZRestart? ....................................................................................................................... 31
4.2 Arc processing commands and switches ............................................................................... 32
4.2.1 Cw and Ccw...................................................................................................................... 32
4.2.2 CtrCode............................................................................................................................. 32
4.2.3 CtrCode>180 and CtrCode360 .......................................................................................... 32
4.2.4 CtrIncremental?................................................................................................................. 33
4.2.5 ByQuadrants?.................................................................................................................... 33
4.2.6 MaxRad ............................................................................................................................ 34
4.2.7 MinRad ............................................................................................................................. 34
4.2.8 MinArc ............................................................................................................................. 34
4.3 Special commands for Columnar style formats.................................................................... 34
4.3.1 Spaces ............................................................................................................................... 34
4.3.2 Dummy ............................................................................................................................. 35
5. THE “SEQUENCES”...................................................................................................... 36
5.1 Using Variables:..................................................................................................................... 36
For a complete list of variable names and descriptions, see Appendix A. ................................. 37
5.2 The Sequence Descriptions....................................................................................................38
5.2.1 The standard sequences .....................................................................................................38
5.2.1.1 StartCode............................................................................................................... 38
5.2.1.2 1stToolChange....................................................................................................... 39
5.2.1.3 ToolChange ........................................................................................................... 40
5.2.1.4 Infeed .................................................................................................................... 40
5.2.1.5 OutFeed................................................................................................................. 40
5.2.1.6 EndCode................................................................................................................ 41
5.2.2 Canned Cycles .................................................................................................................. 42
5.2.2.1 Two ways to output canned cycles: 'canned' and 'longhand'.................................... 42
You may “mix and match” your drilling cycle methods......................................................................... 42
5.2.2.2 Cancel ...................................................................................................................42
“End cancel” vs. “End” ............................................................................................................................ 42
The ‘Cancel’ sequence ............................................................................................................................. 43
5.2.2.3 Peck drilling (The Peck and ChipBreak cycles)...................................................... 43
5.2.2.4 Advanced canned cycle control.............................................................................. 44
5.2.3 Controlling 'modality' - the “Force?” option ...................................................................... 44
5.2.4 Additional sequences for special purposes:........................................................................ 46
5.2.4.1 Sequences for custom and multi-line movements LineCode, RapidCode and ArcCode
(CwCode, CCWCode) ................................................................................................................ 46
Important notes regarding ArcCode (and CwCode and CcwCode): ...................................................... 47
5.2.4.2 Index ..................................................................................................................... 47
... for machines with ONE rotary axis ...................................................................................... 47
Which letter should I use on my INDEX line? / Do I need the minus sign?...................................... 48
... for machines with TWO (or more) rotary axes ..................................................................... 48
5.2.4.3 Upon, UponRec & Cycle sequences....................................................................... 48
Upon
....................................................................................................................................... 48
The
Every, PreScan
and
Unique m
odifiers.............................................................................................. 49
Plik z chomika:
pawelptb
Inne pliki z tego folderu:
Tworzenie_Geometrii.pdf
(4120 KB)
Rozpoczecie_pracy.pdf
(1903 KB)
narzedzia.pdf
(1177 KB)
Toczenie.pdf
(3084 KB)
Frezowanie.pdf
(4083 KB)
Inne foldery tego chomika:
2009 v9.0.6
2010 v9.5.1
2010 v9.5.24
2013 10.5.19.0
Dodatki
Zgłoś jeśli
naruszono regulamin