Notes on Functions

Next Generation Control Mill Operator's Manual

The Online Interactive Operator's Manual is currently available in English only.

A PDF version of the Operator's Manual is available for download in multiple languages. Click the link below to view the Operator's Manual in your language. Click "Continue" to view the online version in English.

Get a translated PDF Download Continue

The function ROUND works differently depending on the context that it is used. When used in arithmetic expressions, any number with a fractional part greater than or equal to .5 is rounded up to the next whole integer; otherwise, the fractional part is truncated from the number.

% #1=1.714 ; #2=ROUND[#1] (#2 is set to 2.0) ; #1=3.1416 ; #2=ROUND[#1] (#2 is set to 3.0) ; %

When ROUND is used in an address expression, metric and angle dimensions are rounded to three-place precision. For inch dimensions, four-place precision is the default.

% #1= 1.00333 ;
G00 X[ #1 + #1 ] ;
(Table X Axis moves to 2.0067) ;
G00 X[ ROUND[ #1 ] + ROUND[ #1 ] ] ;
(Table X Axis moves to 2.0067) ;
G00 A[ #1 + #1 ] ;
(Axis rotates to 2.007) ;
G00 A[ ROUND[ #1 ] + ROUND[ #1 ] ] ;
(Axis rotates to 2.007) ;
D[1.67] (Diameter rounded up to 2) ;

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.