[MUX_101] Multiplexer 101, 15 real data, 15 multistate data, 15 boolean data

Function block MUX_101 converts parallel data into serial data.

MUX_101 converts parallel data into serial data.

Functioning

MUX_101 converts parallel data into serial data. Multiple input values are accepted by MUX_101 at the same time (parallel). The values are then encoded, stored in an internal buffer and one by one (serial) provided to the output. MUX_101 accepts 15 real, 15 multistate and 15 boolean values. Inputs [NumInR], [NumInMs] and [NumInB] specify how many of the real, multistate and boolean inputs are used.

Input values are periodically put in the internal buffer. Changed input values are put in the buffer with priority. When the buffer is prepared, its values are provided sequentially at the output. Each value stays at the output for 1second. During this time, the buffer is not updated until all its values are provided at the output.

Input values are limited in range: real [-99999.0...99999.0]; integer [-257...257]. The precision of real values is limited to 5 digits.

Pins

Input

Description

Data type

Default value
Value range

VersNr

Version number

Real

0.07

NumInR

Number of real inputs

Integer

1

NumInMs

Number of multistate inputs

Integer

1

NumInB

Number of boolean inputs

Integer

1

InR1...InR15

Real input 1...Real input 15

Real

0.0

-99999...99999

Cov1...Cov15

Change of value 1...Change of value 15

Defines the change of value threshold for the corresponding real input.

Real

0.2

InMs1...InMs15

Multistate input 1...Multistate input 15

Integer

1

-257...257

InB1...InB15

Boolean input 1...Boolean input 15

Boolean

0

 

Output

Description

Data type

Default value
Value range

Out

Output

Real

0.0

Application

MUX_101 can be used to transfer multiple values between different devices via one reference in cases when the communication speed is not essential. It's recommended that the receiving device uses DMUX_101.