User Manual UMAX030541. Version V1 27-116
Not every evaluation is going to need all three conditions. For example, check if the
Engine RPM is below a certain value only has one condition listed. Therefore, it is
important to understand how the logical operators would evaluate an Error or N/A result
for a condition, as outlined in Table 17.
Logical
Operator
Select Conditions Criteria
Default Table
Associated table is automatically selected as soon as it is evaluated.
Cnd1 And Cnd2
And Cnd3
Should be used when two or three conditions are relevant, and
all must be True to select the table.
If any condition equals False or Error, the table is not selected.
An N/A is treated like a True.
If all three conditions are True (or N/A), the table is selected.
If((Cnd1==True) &&(Cnd2==True)&&(Cnd3==True)) Then Use
Table
Cnd1 Or Cnd2
Or Cnd3
Should be used when only one condition is relevant. Can also
be used with two or three relevant conditions.
If any condition is evaluated as True, the table is selected.
Error or N/A results are treated as False
If((Cnd1==True) || (Cnd2==True) || (Cnd3==True)) Then Use Table
(Cnd1 And
Cnd2) Or Cnd3
To be used only when all three conditions are relevant.
If both Condition 1 and Condition 2 are True, OR Condition 3 is True,
the table is selected. Error or N/A results are treated as False
If( ((Cnd1==True)&&(Cnd2==True)) || (Cnd3==True) ) Then Use
Table
(Cnd1 Or Cnd2)
And Cnd3
To be used only when all three conditions are relevant.
If Condition 1 And Condition 3 are True, OR Condition 2 And
Condition 3 are True, the table is selected. Error or N/A results are
treated as False
If( ((Cnd1==True)||(Cnd2==True)) && (Cnd3==True) ) Then Use
Table
Table 17
– LB(x-3) Conditions Evaluation Based on Selected Logical Operator
If the result of the function logic is TRUE, then the associated lookup table (see object
3x01h) is immediately selected as the source for the logic output. No further conditions
for other tables are evaluated. For this reason, the
‘Default Table’
should always be setup
as the highest letter table being used (A, B or C) If no default response has been setup,
the Table A automatically becomes the default when no conditions are true for any table
to be selected. This scenario should be avoided whenever possible so as to not result in
unpredictable output responses.