EasyManua.ls Logo

Haas 96-8000 - Alphabetic Addressing; Integer Argument Passing (no Decimal Point)

Haas 96-8000
269 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
92
96-8000 Rev AC
May 2010
0.25.
The following two tables indicate the mapping of the alphabetic address vari-
ables to the numeric variables used in a macro subroutine.
Alphabetic Addressing
Address:
Variable:
A
1
B
2
C
3
D
7
E
8
F
9
G
-
H
11
I
4
J
5
K
6
L
-
M
13
Address:
Variable
N
-
O
-
P
-
Q
17
R
18
S
19
T
20
U
21
V
22
W
23
X
24
Y
25
Z
26
Alternate Alphabetic Addressing
Address:
Variable:
A
1
B
2
C
3
I
4
J
5
K
6
I
7
J
8
K
9
I
10
J
11
Address:
Variable:
K
12
I
13
J
14
K
15
I
16
J
17
K
18
I
19
J
20
K
21
I
22
Address:
Variable:
J
23
K
24
I
25
J
26
K
27
I
28
J
29
K
30
I
31
J
32
K
33
Arguments accept any oating-point value to four decimal places. If the control
is in metric, it will assume thousandths (.000). In Example 3, local variable #7
will receive .0004. If a decimal is not included in an argument value, such as:
G65, P9910, A1, B2, C3, the values are passed to macro subroutines accord-
ing to the following table:
Integer Argument Passing (no decimal point)
Address:
Variable:
A
.001
B
.001
C
.001
D
1.
E
1.
F
1.
G
-
Address:
Variable
H
1.
I
.0001
J
.0001
K
.0001
L
1.
M
1.
N
-
Address:
Variable:
O
-
P
-
Q
.0001
R
.0001
S
1.
T
1.
U
.0001
Address:
Variable:
V
.0001
W
.0001
X
.0001
Y
.0001
Z
.0001
All 33 local macro variables can be assigned values with arguments by using
the alternate addressing method. The following example shows how one could
send two sets of coordinate locations to a macro subroutine. Local variables #4
through #9 would be set to .0001 through .0006 respectively.
Example 3: G65 P2000 I1 J2 K3 I4 J5 K6;

Table of Contents

Related product manuals