SELT_MS: Table value selection for MS value
Block SELT_MS (FB880) provides a parameterized value based on two input values (selectors).
Principle of operation
The block is parameterized in the value table containing rows [ValRow1..8] at max. 8 Multistate values [ValColumn1..8] each.
Row | Column | |||
1 | 2 | 3 | ... | |
1 | [ValRow1] | [ValRow1] | [ValRow1] | ... |
2 | [ValRow2] | [ValRow2] | ... | ... |
3 | [ValRow3] | ... | ... | ... |
… | ... | ... | ... | ... |
A single Multistate value is selected at runtime where input value [Row] determines row [ValRow1..8], and input value [Column] determines column [ValColumn1..8]. The block provides a Multistate value at output [Out].
Example: [Row]=1; [Column]=2
Row | Column | |||
[Column]=1 | [Column]=2 | 3 | ... | |
[Row]=1 | ... | [Out]= | ... | ... |
[Row]=2 | ... | ... | ... | ... |
Table [RowCnd] contains the input value assignment of [Row] to the value table rows.
Example: If input value [Row]=7, row [RowCnd] _Row2 is evaluated.
| Value | |
[RowCnd] | _Row1 | 1 |
_Row2 | 7 | |
_Row3 | 2 | |
... | ... | |
Table [ColumnCnd] determines column assignment in a similar fashion.
Inputs
Pin | E | Description |
Row | pa | Row (selector value) |
RowCnd | pa | Row condition Assignment table input value -> Row Specific input values [Row] are assigned to a specific row [_Row..]. |
Column |
| Column (selector value) |
ColumnCnd |
| Column condition Assignment table input value -> Column Specific input values [Column] are assigned to a specific row [_Column..]. |
ValRow1 | pa | Value row 1 8 parameterizable Multistate values of a row 8 Multistate values [_ValColumn1]..[_ValColumn8] are assigned to one row [ValRow1..8]. |
EcptVal | pa | Exception value |
Outputs
Pin | E | Description |
Out | a | Output |
Ecpt |
| Exception. |
DataBlkItf |
| Data block interface |
Input values
Pin | Description | Data type | Standard value | E.g. engineering unit or text group | Min. | Max. |
Row | Row | Multistate | Off | Off...Stage15, Max | 1 | 32767 |
RowCnd | Row condition |
|
|
|
|
|
Column | Column | Multistate | Off | Off...Stage15, Max | 1 | 32767 |
ColumnCnd | Column condition |
|
|
|
|
|
ValRow1 | Value row 1 |
|
|
|
|
|
EcptVal | Exeption value |
| Off | Off...Stage15, Max | 1 | 32767 |
Output values
Pin | Description | Data type | Standard value | E.g. engineering unit or text group | Min. | Max. |
Out | Output | Multistate |
| Off...Stage15, Max | 1 | 32767 |
Ecpt | Exception | Boolean | Inactive | Inactive, Active |
|
|
DataBlkItf | Data block interface |
|
|
|
|
|
Process response
Standard (see General rules and information).
Troubleshooting
Standard (see General rules and information).