DMUX8_DI: Demultiplexer 1 of 8 double integer values

The DMUX8_DI (FC414) block switches the double integer input to one of the 8 outputs in dependence of a selector.

Functionality

The block switches the input [In] to the output [Out0] ... [Out7] defined by selector [K]. All other outputs are set to default value [DefVal].

If the value of input [K] is smaller than 0 or greater than 7, all outputs [Out0]...[Out7] are set to [DefVal].

The block can be cascaded e.g. to demultiplex 16 outputs. To do this, several DMUX8_DI blocks can be switched in parallel to the same input value [In]. The output [ReqK] is automatically adjusted by subtraction. This allows any number of DMUX8_DI function blocks to be cascaded.

Selector.

K

Output.

Out0

Out1

Out2

Out3

Out4

Out5

Out6

Out7

ReqK

K < 0

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

-1

K = 0

In

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

-1

K = 1

DefVal

In

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

-1

K = 2

DefVal

DefVal

In

DefVal

DefVal

DefVal

DefVal

DefVal

-1

K = 3

DefVal

DefVal

DefVal

In

DefVal

DefVal

DefVal

DefVal

-1

K = 4

DefVal

DefVal

DefVal

DefVal

In

DefVal

DefVal

DefVal

-1

K = 5

DefVal

DefVal

DefVal

DefVal

DefVal

In

DefVal

DefVal

-1

K = 6

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

In

DefVal

-1

K = 7

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

In

-1

K > 7

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

DefVal

K-8

Inputs

Pin

E

Description

K

pa

Selector.

In

pa

Input.

DefVal

pa

Default value.

Outputs

Pin

E

Description

Out0..Out7

a

Output 0..7

ReqK

 

Request Selector

Input values

Pin

Description

Data type

Default value

E.g. Engineering unit or Text group

Min.

Max.

K

Selector.

Integer

0

 

-32678

32678

In

Input.

Double Integer

0

 

-2147483648

2147483648

DefVal

Default value.

Double Integer

0

 

-2147483648

2147483648

Output values

Pin

Description

Data type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out0..Out7

Output 0..7

Double Integer

0

 

-2147483648

2147483648

ReqK

Request Selector

Integer

0

 

-32678

32678

Application

The block normally is used to reset signals interconnected via a multiplexer.

For example, a communication path featuring an integer and double integer variable only can be used to transmit up to 8 different values in sequence.

Process response

Standard (see General rules and information).

Troubleshooting

Standard (see General rules and information).