6. Function blocks
6.1 Manufacturer function blocks
6.1.5.4 MX - Data multiplexer
General
easyE4 base devices provide 32 data multiplexer function
blocks, MX01 through MX32. You can use a data multiplexer
to select a value from eight input values, I1 through I8. The
function block will then provide this value at output QV for fur-
ther processing.
Use input K (channel number) to specify which input will be
connected through to the output. Channel number 0 will con-
nect input I1 to QV, while channel number 7 will connect
input I8 to QV.
The MX data multiplexer can be used for the sequential con-
trol of up eight to positioning sections that are transferred to
the I1 input of the PO Pulse output function block.
Operating principle
If there is a signal state of 1 at the EN function block input, the data value of the oper-
and connected to input Ix will be connected through to output QV. In this case, the
value at function block input K will reference input Ix.
You can change the channel number and accordingly connect a different input value
through to QV even when the EN input is set.
If there is a signal state of "0" at the EN function block input, output QV will be set to a
signal state of "0". The function block will carry out a selection of one out of eight.
The function block and its parameters
Function block inputs
 Description Note
(bit) 
EN
1: Activates the function block.
The checkbox for the
Function block release by EN is
necessary
parameter must first be enabled
(DWord)
K
Channel number
References the function block input you want
(I1 through I8).
channel
0
1
Function Block Input
I1
I2
Integer value range: 0…7
easyE402/24 MN050009ENEaton.com
429