Boolean Operators

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

Boolean operators always evaluate to 1.0 (TRUE) or 0.0 (FALSE). There are six Boolean operators. These operators are not restricted to conditional expressions, but they most often are used in conditional expressions. They are:

EQ - Equal To

NE - Not Equal To

GT - Greater Than

LT - Less Than

GE - Greater Than or Equal To

LE - Less Than or Equal To

Here are four examples of how Boolean and Logical operators can be used:

Example Explanation
IF [#10001 EQ 0.0] GOTO100 ;
Jump to block 100 if value in variable #10001 equals 0.0.
WHILE [#10101 LT 10] DO1 ;
While variable #10101 is less than 10 repeat loop DO1..END1.
#10001=[1.0 LT 5.0] ;
Variable #10001 is set to 1.0 (TRUE).
IF [#10001 AND #10002 EQ #10003] GOTO1 ;
If variable #10001 AND variable #10002 are equal to the value in #10003 then control jumps to block 1.

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.