115
96-8000 Rev AC
May 2010
Programming
N5 END1;
M99;
(Return to caller)
Aliasing
Aliasing is a means of assigning a G-code or M-code to a G65 P##### se
-
quence. For instance, in Example 2 it would be easier to write: G06 X.5 Y.25
Z.05 F10. T10;
When aliasing, variable can be passed with a G-code; variable cannot be
passed with an M-Code.
Here, an unused G code has been substituted, G06 for G65 P9010. In order for
the previous block to work the parameter associated with subroutine 9010 must
be set to 06 (Parameter 91). Note that G00, G65, G66, and G67 cannot be
aliased. All other codes between 1 and 255 can be used for aliasing.
Program numbers 9010 through 9019 are reserved for G code aliasing. The
following table lists which HAAS parameters are reserved for macro subroutine
aliasing.
.
Haas Parameter
91
92
93
94
95
96
97
98
99
100
O Code
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
Haas Parameter
81
82
83
84
85
86
87
88
89
90
M Macro Call
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
G Code Aliasing
M Code Aliasing
Setting an aliasing parameter to 0 disables aliasing for the associated subrou
-
tine. If an aliasing parameter is set to a G-code and the associated subroutine
is not in memory, then an alarm will be given.
c
oMMUnication
W
ith
e
xternal
d
eviceS
- dPrnt[ ]
Macros allow additional capabilities to communicate with peripheral devices.
One can do digitizing of parts, provide runtime inspection reports, or synchro-
nize controls with user provided devices. The commands provided for this are
POPEN, DPRNT[ ] and PCLOS.
Communication Preparatory Commands
POPEN and PCLOS are not required on the Haas mill. It has been included so
that programs from different controls can be sent to the Haas control.
Содержание 96-8000
Страница 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Страница 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Страница 41: ...32 96 8000 Rev AC May 2010 ...
Страница 93: ...84 96 8000 Rev AC May 2010 ...
Страница 129: ...120 96 8000 Rev AC May 2010 ...
Страница 133: ...124 96 8000 Rev AC May 2010 ...
Страница 268: ......
Страница 269: ......