Boolean Operators

Classic Control - Lathe 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 [#1 EQ 0.0] GOTO100 ;
Jump to block 100 if value in variable #1 equals 0.0.
WHILE [#101 LT 10] DO1 ;
While variable #101 is less than 10 repeat loop DO1..END1.
#1=[1.0 LT 5.0] ;
Variable #1 is set to 1.0 (TRUE).
IF [#1 AND #2 EQ #3] GOTO1 ;
If variable #1 AND variable #2 are equal to the value in #3 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.

Feedback