EasyManuals Logo

Haas VF Series Operator's Manual

Haas VF Series
564 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
Page #383 background imageLoading...
Page #383 background image
38396-8000
MACROS
June 1999
A decimal point is printed out between the whole part and the fractional part. The fractional part is rounded to
the least significant place. When zero places are reserved for the fractional part, then no decimal point is
printed out. Trailing zeros are printed as necessary if there is a fractional part. At least one place is reserved for
the whole part, even when a zero is used there. If the value of the whole part has fewer digits than have been
reserved, then leading spaces are output. If the value of the whole part has more digits than has been reserved,
then the field is expanded so that these numbers are printed.
A carriage return is sent out after every DPRNT block.
DPRNT[ ] Examples
Code Output
îš—îš—îš—îš— îš—îš—îš—îš—îš—
N1 #1= 1.5436 ;
N2 DPRNT[X#1[44]*Z#1[03]*T#1[40]] ; X1.5436 Z 1.544 T 1
N3 DPRNT[***MEASURED*INSIDE*DIAMETER***] ; MEASURED INSIDE DIAMETER
N4 DPRNT[] ; (no text, only a carriage return)
N5 #1=123.456789 ;
N6 DPRNT[X-#1[25]] ; X-123.45679 ;
EXECUTION
DPRNT statements are executed at block interpretation time. This means that the programmer must be careful
about where the DPRNT statements appear in the program, particularly if the intent is to print out positional
information. Generally, a program is interpreted many blocks ahead in order to prevent the machine from
pausing between movements.
G103 is useful for limiting lookahead. If you wanted to limit lookahead interpretation to one block, you would
include the following command at the beginning of your program: (This actually results in a two block
lookahead.)
G103 P1 ;
To cancel the lookahead limit, then issue a G103 P0 ;. G103 can not be used when cutter compensation is
active.
OPERATION N OTES
This section explains the additional screens and operator actions that come with macros.
Macro variables can be saved and restored to RS-232 or the optional floppy, much like parameters, settings,
and offsets. Refer to the "Part Program Input / Output" section for RS-232 sending and receiving of macro
variables, or the "Floppy Operation" section for sending and receiving them with this method.
Variable Display Page
The macro variables are displayed and can be modified through the current commands display. The variable
display is located after the operation timers display. To get to this page, press CURNT COMDS and use the
page up/down key.

Table of Contents

Other manuals for Haas VF Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Haas VF Series and is the answer not in the manual?

Haas VF Series Specifications

General IconGeneral
Machine TypeVertical Machining Center
ControlHaas CNC Control
Z-Axis Travel20-30 inches (varies by model)
Y-Axis Travel16 - 30 inches (varies by model)
Spindle Motor20-30 hp (depending on model)
Tool Capacity20-40 tools (varies by model)

Related product manuals