MUX64
Function - Select one of the inputs - 64 inputs.
Inputs
Input |
Data type |
Description |
K |
DINT |
Selection command. |
IN0 |
ANY |
First input. |
IN1 |
ANY |
Second input. |
IN2 |
ANY |
Third input. |
IN3 |
ANY |
Fourth input. |
IN4 |
ANY |
Fifth input. |
IN5 |
ANY |
Sixt input. |
IN6 |
ANY |
Seventh input. |
IN7 |
ANY |
Eight input. |
IN... |
ANY |
... |
IN63 |
ANY |
Last input. |
Outputs
Output |
Data type |
Description |
Q |
ANY |
IN0 or IN1 ... or IN63 depending on K (see truth table). |
Truth table
K |
Q |
0 |
IN0 |
1 |
IN1 |
2 |
IN2 |
3 |
IN3 |
4 |
IN4 |
5 |
IN5 |
6 |
IN6 |
7 |
IN7 |
... |
... |
63 |
IN63 |
other |
0 |
Remarks
In LD language, the input rung (EN) enables the selection. The output rung keeps the same state as the input rung.
ST Language
Q := MUX64 (K, IN0, IN1, IN2, IN3, IN4, IN5, IN6, IN7, ..., IN63);
FBD Language
LD Language
The selection is performed only if EN is TRUE.
ENO has the same value as EN.
MUX64 |
IEC 61131-3 Automation platform > Programming - Reference guide > Selectors > MUX64 |
Created with the Personal Edition of HelpNDoc: From Word to ePub or Kindle eBook: A Comprehensive Guide