UMAX140610. LIN
– J1939 CAN Protocol Converter with PWM Output. Version 1
Page: 41-81
Table 24. Conditions Evaluation Based on Selected Logical Operator
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
The default
“Table X, Conditions Logical Operator”
for Table 1 and Table 2 is
‘Cnd1 And
Cnd2 And Cnd3,’
while Table 3 is set to be the
‘Default Table.’