UMAX030211 Version 1.0.2. Preliminary Documentation – May be subject to change
36 - 85
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 20 – 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 4x01h) 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 to not to result in unpredictable output responses.
The table number that has been selected as the output source is written to sub-index X of read-only
object 4010h
Logic Block Selected Table.
This will change as different conditions result in different
tables being used.