363
96-8000
MACROS
June 1999
M
ACRO
A
RGUMENTS
The arguments in a G65 statement are a means of sending values to and setting the local variables of a called
macro subroutine.
In Example 2 above, the arguments X and Y are passed to the macro subroutine local variables. Local variable
#24 is associated with X and is set to 0.5. Similarly, Local variable #25 is associated with Y and is set to 0.25.
The following two tables indicate the mapping of the alphabetic address variables to the numeric variables used
in a macro subroutine.
Alphabetic Addressing
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
A
1
B
2
C
3
D
7
E
8
F
9
G
-
H
1
1
I
4
J
5
K
6
L
-
M
3
1
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
N
-
O
-
P
-
Q
7
1
R
8
1
S
9
1
T
0
2
U
1
2
V
2
2
W
3
2
X
4
2
Y
5
2
Z
6
2
Alternate Alphabetic Addressing
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
A
1
B
2
C
3
I
4
J
5
K
6
I
7
J
8
K
9
I
0
1
J
1
1
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
K
2
1
I
3
1
J
4
1
K
5
1
I
6
1
J
7
1
K
8
1
I
9
1
J
0
2
K
1
2
I
2
2
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
J
3
2
K
4
2
I
5
2
J
6
2
K
7
2
I
8
2
J
9
2
K
0
3
I
1
3
J
2
3
K
3
3
Arguments accept any floating point value to four decimal places. If you are in metric, the control will assume
thousandths (.000). In Example 3 below, 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 according to the following table:
Integer Argument Passing (no decimal point)
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
A
1
0
0
.
B
1
0
0
.
C
1
0
0
.
D
.
1
E
.
1
F
.
1
G
-
H
.
1
I
1
0
0
0
.
J
1
0
0
0
.
K
1
0
0
0
.
L
.
1
M
.
1
:
s
s
e
r
d
d
A
:
e
l
b
a
ir
a
V
N
-
O
-
P
-
Q
1
0
0
0
.
R
1
0
0
0
.
S
.
1
T
.
1
U
1
0
0
0
.
V
1
0
0
0
.
W
1
0
0
0
.
X
1
0
0
0
.
Y
1
0
0
0
.
Z
1
0
0
0
.
Summary of Contents for VF Series
Page 1: ...1 INSTALLATION June 1999 96 8000 INSTALLATION FOR THE VF SERIES MILL ...
Page 4: ...4 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINTS Dimensions are in inches ...
Page 5: ...5 INSTALLATION June 1999 96 8000 ...
Page 6: ...6 INSTALLATION June 1999 96 8000 ...
Page 20: ...2 0 INSTALLATION June 1999 96 8000 ANCHOR PATTERN VF 0 E 1 2 ...
Page 21: ...2 1 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 0 E 1 2 ...
Page 22: ...2 2 INSTALLATION June 1999 96 8000 ANCHOR PATTERN VF 3 4 ...
Page 23: ...2 3 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 3 4 ...
Page 24: ...2 4 INSTALLATION June 1999 96 8000 ANCHOR PATTERN VF 5 ...
Page 25: ...2 5 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 5 ...
Page 27: ...2 7 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 6 ...
Page 28: ...2 8 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 7 ...
Page 31: ...3 1 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 8 ...
Page 32: ...3 2 INSTALLATION June 1999 96 8000 MACHINE FOOTPRINT VF 9 ...
Page 138: ...138 OPERATION 96 8000 June 1999 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 153: ...96 8000 CUTTER COMPENSATION 153 June 1999 ...
Page 154: ...154 CUTTER COMPENSATION 96 8000 June 1999 ...
Page 156: ...156 CUTTER COMPENSATION 96 8000 June 1999 CUTTER COMPENSATION ENTRY Yasnac ...
Page 157: ...96 8000 CUTTER COMPENSATION 157 June 1999 CUTTER COMPENSATION ENTRY Fanuc style ...
Page 220: ...220 M CODES 96 8000 June 1999 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 270: ...270 SETTINGS June 1999 96 8000 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 306: ...306 PARAMETERS June 1999 96 8000 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 332: ...332 ALARMS June 1999 96 8000 THIS PAGE INTENTIONALLY LEFT BLANK ...
Page 416: ...416 OPTIONS 96 8000 June 1999 ...
Page 433: ...96 8000 433 OPTIONS June 1999 Recovery from an E Stop initiated during a pallet change ...
Page 435: ...96 8000 435 OPTIONS June 1999 APC DIMENSIONS VF 3 4 WITH APC FOOTPRINT ...
Page 437: ...96 8000 437 OPTIONS June 1999 APC PALLET CLEARANCES ...
Page 443: ...TECHNICAL REFERENCE 443 June 1999 96 8000 SIDE MOUNT TOOL CHANGER RECOVERY FLOW CHART ...
Page 477: ...Assembly Drawings June 1999 477 96 8000 ASSEMBLY DRAWINGS ...
Page 478: ...Assembly Drawings June 1999 478 96 8000 VF O 1 Base ...
Page 479: ...Assembly Drawings June 1999 479 96 8000 VF O 1 Column ...
Page 480: ...Assembly Drawings June 1999 480 96 8000 VF O 1 Saddle ...
Page 481: ...Assembly Drawings June 1999 481 96 8000 VF 3 Base ...
Page 482: ...Assembly Drawings June 1999 482 96 8000 VF 3 Column ...
Page 483: ...Assembly Drawings June 1999 483 96 8000 VF 3 Saddle ...
Page 484: ...Assembly Drawings June 1999 484 96 8000 VF 6 Base ...
Page 485: ...Assembly Drawings June 1999 485 96 8000 VF 6 Column ...
Page 486: ...Assembly Drawings June 1999 486 96 8000 VF 6 Saddle ...
Page 487: ...Assembly Drawings June 1999 487 96 8000 VF 8 Base ...
Page 488: ...Assembly Drawings June 1999 488 96 8000 VF 8 Column ...
Page 489: ...Assembly Drawings June 1999 489 96 8000 VF 8 Saddle ...
Page 490: ...Assembly Drawings June 1999 490 96 8000 VF 10 Base ...
Page 491: ...Assembly Drawings June 1999 491 96 8000 VF 10 Column ...
Page 493: ...Assembly Drawings June 1999 493 96 8000 VF 10 Column ...
Page 495: ...Assembly Drawings June 1999 495 96 8000 Tool Changer Assembly VF 3 4 ...
Page 496: ...Assembly Drawings June 1999 496 96 8000 Tool Changer Assembly VF 3 4 ...
Page 497: ...Assembly Drawings June 1999 497 96 8000 Tool Changer Assembly VF 6 10 ...
Page 498: ...Assembly Drawings June 1999 498 96 8000 Tool Changer Assembly VF 6 10 ...
Page 499: ...Assembly Drawings June 1999 499 96 8000 50 Taper Tool Changer Assembly ...
Page 500: ...Assembly Drawings June 1999 500 96 8000 50 Taper Tool Changer Assembly ...
Page 501: ...Assembly Drawings June 1999 501 96 8000 20 Pocket Tool Changer VF O 1 2 ...
Page 502: ...Assembly Drawings June 1999 502 96 8000 20 Pocket Tool Changer VF O 1 2 ...
Page 504: ...Assembly Drawings June 1999 504 96 8000 32 Tool Carousel Assembly Assembly CT VF 3 10 ...
Page 505: ...Assembly Drawings June 1999 505 96 8000 50 Taper Carousel Assembly CT VF 6 10 ...
Page 506: ...Assembly Drawings June 1999 506 96 8000 VF 1 11 Gearbox Assembly 15 HP ...
Page 507: ...Assembly Drawings June 1999 507 96 8000 VF 1 11 Gearbox Assembly 15 HP ...
Page 508: ...Assembly Drawings June 1999 508 96 8000 VF 1 11 Gearbox Assembly HT10K ...
Page 509: ...Assembly Drawings June 1999 509 96 8000 VF 1 11 Gearbox Assembly HT10K ...
Page 510: ...Assembly Drawings June 1999 510 96 8000 VF 1 11 Gearbox Assembly HT10K TSC ...
Page 512: ...Assembly Drawings June 1999 512 96 8000 Spindle Assembly 7 5 ...
Page 513: ...Assembly Drawings June 1999 513 96 8000 Spindle Assembly 7 5K TSCHP ...
Page 514: ...Assembly Drawings June 1999 514 96 8000 10K Spindle Assembly ...
Page 515: ...Assembly Drawings June 1999 515 96 8000 10K 12K Spindle Assembly ...
Page 517: ...Assembly Drawings June 1999 517 96 8000 Spindle Assembly VF0 10K TSCHP ...
Page 518: ...Assembly Drawings June 1999 518 96 8000 Tool Release Piston Assembly ...
Page 520: ...Assembly Drawings June 1999 520 96 8000 50 Taper Tool Release Piston ...
Page 521: ...Assembly Drawings June 1999 521 96 8000 50 Taper Tool Release Piston ...
Page 522: ...Assembly Drawings June 1999 522 96 8000 TSCHP Tool Release Piston Assembly ...
Page 523: ...Assembly Drawings June 1999 523 96 8000 TSCHP Tool Release Piston Assembly ...
Page 524: ...Assembly Drawings June 1999 524 96 8000 32mmBall Screw Assembly ...
Page 526: ...Assembly Drawings June 1999 526 96 8000 50mm Ball Screw Assembly ...
Page 527: ...Assembly Drawings June 1999 527 96 8000 30 1215 Coupling Assembly ...
Page 528: ...Assembly Drawings June 1999 528 96 8000 30 1219 Coupling Assembly ...
Page 530: ...Assembly Drawings June 1999 530 96 8000 30 1220P Coupling Assembly ...
Page 531: ...Assembly Drawings June 1999 531 96 8000 30 1225 Coupling Assembly ...
Page 532: ...Assembly Drawings June 1999 532 96 8000 APC Assembly ...
Page 533: ...Assembly Drawings June 1999 533 96 8000 APC Assembly ...
Page 534: ...Assembly Drawings June 1999 534 96 8000 APC Assembly ...
Page 535: ...Assembly Drawings June 1999 535 96 8000 VR Series Head Assembly ...
Page 536: ...Assembly Drawings June 1999 536 96 8000 VR Series Head Assembly ...
Page 537: ...Assembly Drawings June 1999 537 96 8000 VF Series Hydraulic Couterbalance System ...
Page 538: ...538 ELECTRICAL DIAGRAMS June 1999 96 8000 ELECTRICAL WIRING DIAGRAMS ...
Page 539: ...539 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 540: ...540 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 541: ...541 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 542: ...542 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 543: ...543 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 544: ...544 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 545: ...545 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 546: ...546 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 547: ...547 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 548: ...548 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 549: ...549 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 550: ...550 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 551: ...551 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 552: ...552 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 553: ...553 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 554: ...554 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 555: ...555 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 556: ...556 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 557: ...557 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 558: ...558 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 559: ...559 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 560: ...560 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 561: ...561 ELECTRICAL DIAGRAMS June 1999 96 8000 ...
Page 562: ...562 ELECTRICAL DIAGRAMS June 1999 96 8000 ...