SELMS_I: Multistate selector for integer value

The SELMS_I (FC429) blocks switches one of 8 integer inputs to the output in dependence of a selector and a corresponding input selector condition.

Functionality

The block switches that input [In0]...[In7] whose selector condition [KCnd0]...[KCnd7] matches selector [K] to output [Out]. If there is no match, default value [DefVal] is output at output [Out].

If several input selector conditions [KCnd0]...[KCnd7] are the same and selector [K] corresponds to a condition, input [In0]...[In7] of the lowest selector condition [KCnd0]...[KCnd7] is switched to output [Out].

Inputs

Pin

E

Description

K

pa

Selector.

In0..In7

pa

Inputs 0..7.

KCnd0..KCnd7

pa

Selector condition for input 0..7.

DefVal

pa

Default value.

Outputs

Pin

E

Description

Out

a

Output.

Input values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

K

Selector

Multistate

1 (Off)

Off...Stage15

 

 

KCnd0..KCnd7

Selector cond. for input 0..7

Multistate

1 (Off)

Off...Stage15

 

 

In0..In7

Input 0..7

Integer

0

 

 

 

DefVal

Default value

Integer

0

 

 

 

Output values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out

Output

Integer

0

 

 

 

 

Process response

Standard (see General rules and information).

Troubleshooting

Standard (see General rules and information).