[DMUX_101] Demultiplexer 101, 15 real and multistate and bool values

Function block DMUX_101 converts serial data into parallel data.

DMUX_101 converts serial data into parallel data.

Functioning

DMUX_101 converts serial data into parallel data. Values received at input [In] are decoded and provided at the corresponding outputs. DMUX_101 has outputs for 15 real, 15 multistate and 15 boolean values. Inputs [NumOutR], [NumOutMs] and [NumOutB] specify how many of the real, multistate and boolean outputs are used. Unused outputs are set with substitution values.

Output [ErSta] provides diagnostic information for the received values.

After start-up, outputs are set with substitution values until all values are received.

Once the values are received, the version and the used outputs configuration are validated. The version and the used outputs configuration must match the version and the used inputs configuration at the corresponding MUX_101. If the version or used outputs configuration does not match, the outputs are set with substitution values.

A value at input [Rlb] greater than 0 or an unchanged value at input [In] for more than 10 seconds is considered as communication loss. In such a case, outputs are set with substitution values.

When a value outside the allowed range (real [-99999.0...99999.0]; integer [-257...257]) is received, it is limited to the range and an error is indicated at output [ErSta]. Invalid values at input [In] are ignored without indication at [ErSta]. Substitution values are not limited in range.

Pins

Input

Description

Data type

Default value
Value range

VersNr

Version number

Real

0.07

NumOutR

Number of real outputs

Integer

1

NumOutMs

Number of multistate outputs

Integer

1

NumOutB

Number of boolean outputs

Integer

1

In

Input

Real

0.0

Rlb

Reliability

Integer

0: No fault detected

SbstR1...SbstR15

Substitution value of real input 1...Substitution value of real input 15

Real

0.0

SbstMs1...SbstMs15

Substitution value of multistate input 1...Substitution value of multistate input 15

Integer

1

SbstB1...SbstB15

Substitution value of boolean input 1...Substitution value of boolean input 15

Boolean

0

 

Output

Description

Data type

Default value
Value range

OutR1...OutR15

Real output 1...Real output 15

Real

0.0

OutMs1...OutMs15

Multistate output 1...Multistate output 15

Integer

1

OutB1...OutB15

Boolean output 1...Boolean output 15

Boolean

0

ErSta

Error state

Integer

1: No fault

1: No fault
2: Version error
3: Checksum error
4: Communication failure
5: Value out of range
6: Initialization

Application

DMUX_101 can be used to transfer multiple values between different devices via one reference in cases when the communication speed is not essential. We recommend that the sending device uses MUX_101.