UM AX032200 Version 1.0 16-46
1.9. Programmable Logic Function Block
The Programmable Logic Function Block is a powerful tool. Programmable Logic can be linked to
up to three Lookup Tables, any of which would be selected only under given conditions. Thus, the
output of a Programmable Logic at any given time will be the output of the Lookup Table selected
by the defined logic. Therefore, up to three different responses to the same input, or three different
responses to different inputs, can become the input to another function block.
To
enable any one of the Programmable Logic blocks, the “
Logic Enabled
” setpoint must be set to
‘
True
’
. By default, all Logic blocks are disabled.
T
he three associated tables are selected by setting “
Table Number X
” setpoint to desired Lookup
Table number, for example selecting
1
would set Lookup Table 1 as TableX.
For each TableX there are three conditions that define the logic to select the associated Lookup
Table as Logic output. Each condition implements function
𝐴𝑟𝑔𝑢𝑚𝑒𝑛𝑡1 𝑂𝑝𝑒𝑟𝑎𝑡𝑜𝑟 𝐴𝑟𝑔𝑢𝑚𝑒𝑛𝑡2
where Operator is logical operator defined by setpoint “
Table X
– Condition Y Operator
”. Setpoint
options are listed in Table 11
. Condition arguments are selected with “
Table X
– Condition Y
Argument Z Source
” and “
Table X
– Condition Y Argument Z Number
” setpoints. If ‘
0
– Control
not Used
’ option is selected as “
Table x
– Condition Y Argument Z Source”
the argument is
interpreted as 0.
0
=, Equal
1
!=, Not Equal
2
>, Greater Than
3
>=, Greater Than or Equal
4
<, Less Than
5
<=, Less Than or Equal
Table 11: Table X
– Condition Y Operator Options
The three conditions are evaluated and if the result satisfies logical operation defined with “
Logical
Operator X
” setpoint, given in Table 12, the associated Lookup Table is selected as output of the
Logical block. Option ‘
0
– Default Table
’ selects associated Lookup Table in all conditions.
0
Default Table (Table1)
1
Cnd1 And Cnd2 And Cnd3
2
Cnd1 Or Cnd2 Or Cnd3
3
(Cnd1 And Cnd2) Or Cnd3
4
(Cnd1 Or Cnd2) And Cnd3
Table 12: Table X
– Conditions Logical Operator Options
The three logical operations are evaluated in order and the first to satisfy gets selected, thus if
Table1 logical operation is satisfied, the Lookup Table associated with Table1 gets selected
regardless of two other logical operations. In addition, if none of the logical operations is satisfied
the Lookup Table associated with Table1 gets selected.
1.10. Lookup Table Function Block
Lookup Tables are used to give output response up to 10 slopes per input. If more than 10 slopes
are required, A Programmable Logic Block can be used to combine up to three tables to get 30
slopes as described in Section 0.
Lookup tables have two differing modes defined by “
X-Axis Type
” setpoint, given in Table 13.
Option ‘0 – Data Response’ is the normal mode where block input signal is selected with the “
X-