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]
_ValColumn1

[ValRow1]
_ValColumn2

[ValRow1]
_ValColumn3

...

2

[ValRow2]
_ValColumn1

[ValRow2]
_ValColumn2

...

...

3

[ValRow3]
_ValColumn1

...

...

...

...

...

...

...

 

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]=
[ValRow1]
_ValColumn2

...

...

[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
_Row1
...
_Row8

pa

Row condition

Assignment table input value -> Row

Specific input values [Row] are assigned to a specific row [_Row..].

Column

 

Column (selector value)

ColumnCnd
_Column1
...
_Column8

 

Column condition

Assignment table input value -> Column

Specific input values [Column] are assigned to a specific row [_Column..].

ValRow1
_ValColumn1
...
_ValColumn8

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
_Row1..8

Row condition


Multistate


Off


Off...Stage15


1


16

Column

Column

Multistate

Off

Off...Stage15, Max

1

32767

ColumnCnd
_Column1..8

Column condition


Multistate


Off


Off...Stage15


1


16

ValRow1
_ValColumn1..8

Value row 1


Multistate


Off


Off...Stage15


1


16

EcptVal

Exeption value


Multistate

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).