Multiplexer - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Multiplexer

MUX(_E)
High
Basic
Process
performance
Structured ladder/FBD
MUX_E
EN
ENO
n
s1
s2
to
s28
The following function(s) can go in the dotted squares.
MUX, MUX_E
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
• Selects the value to be output among the values input to variables (s1) to (s28) according to the value input to n, and
outputs the operation result from (d) in the same data type as that of variables (s1) to (s28).
When the input value of n is 1, the value input to (s1) is output from (d).
When the input value of n is n, the value input to (sn) is output from (d).
Ex.
Word (signed) type data
n
1
Word (signed) type
1234
s1
to
s28
Word (signed) type
5678
Word (signed) type
• If a value input to n is outside the range of number of pins of variable 's', an undefined value is output from (d).
(No operation error occurs. In case of MUX_E, FALSE is output from ENO.)
• The value to be input to n is word (signed) type data within the range from 1 to 28. (within the range of the number of pins
of variable 's')
• The value to be input to variable 's' is bit, word (signed), double word (signed), word (unsigned)/16-bit string, double word
(unsigned)/32-bit string, single-precision real, double-precision real, string, time, structure, or array type data.
• Rounding error may occur when specifying single-precision real or double-precision real type data to (s1) through (s28) by
programming tool.
For precautions when setting an input value using a programming tool, refer to the following.
 MELSEC-Q/L/F Structured Programming Manual (Fundamentals)
• The number of pins of (s) can be changed in the range from 2 to 28.
5 APPLICATION FUNCTIONS
150
5.5 Standard Selection Functions
Redundant Universal
LCPU
ST
ENO:=
MUX_E
d
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
n(_K)
Output value selection
s1 to s28(_IN)
Input
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
MUX
_K
OUT
_IN
_IN
(EN, n, s1, s2 ... s28, d);
d
1234
Word (signed) type
Data type
Bit
Word (signed)
ANY
Bit
ANY

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents