Multiplexer - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

5.5.2

Multiplexer

MUX(_E)
Structured ladder
MUX_E
EN
ENO
n
d
s1
s2
to
s27
Input argument,
EN:
Executing condition (TRUE: Execution, FALSE: Stop)
n:
Output value selection
s1 to s27:
Input
Output argument,
ENO:
Output status (TRUE: Normal, FALSE: Error)
d:
Output
Function
Operation processing
(1) Selects the value to be output among the values input to variables
value input to
variables
s1
When the input value of
When the input value of
(Example) Word (signed) type data
Word (signed) type
1234
Word (signed) type
5678
Word (signed) type
(2) If a value input to
value is output from
(No operation error occurs. In case of MUX_E, FALSE is output from ENO.)
ST
(EN, n, s1, s2 ... s27, d);
ENO:=
MUX_E
, and outputs the operation result from
n
to
.
s27
is 1, the value input to
n
is
, the value input to
n
n
1
MUX
K
OUT
IN1
IN2
is outside the range of number of pins of variable 's', an undefined
n
.
d
_E: With EN/ENO
functions.
MUX
:Bit
:Word (signed)
:ANY
:Bit
:ANY
in the same data type as that of
d
is output from
s1
is output from
sn
1234
Word (signed) type
5.5 Standard Selection Functions
5.5.2 Multiplexer
MUX(_E)
MUX(_E)
High
Performance
Universal
UD
indicates any of the following
MUX_E
to
according to the
s1
s27
.
d
.
d
5-151
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents