Description
Allows you to select one of several analogs as an output.
Function
The function block is used to select one of multiple inputs as an output. Ordinal number of the input to be selected ranges from 0 to 7.
Input
PIN | Description |
---|---|
MU_ITEM | Ordinal number of an input in channels 1...8, ranging from 0 to 7. |
Input 1...8 | Available inputs |
Output
PIN | Description |
---|---|
Output | Takes the input whose ordinal number is specified in MU_ITEM. For example, if MU_ITEM is 2, the output is the value of input 3. |
Input value
PIN | Data type | Unit | Default value | Range |
---|---|---|---|---|
MU_ITEM | Analog | N/A | N/A | 0...7 |
Input 1...8 | Analog | N/A | N/A | N/A |
Output value
PIN | Data type | Unit | Default value | Range |
---|---|---|---|---|
Output | Analog | N/A | N/A | -999999...999999 |
Example 1
In a 2-pipe system, the water valve follows different PI loops in summer and winter: In summer, the winter-summer transfer switch (DI) is closed, the cooling PI loop is followed; in winter, the switch (DI) is open, the heating PI loop is followed.
Example 2
Used as a data latch to store data A in RestoreA at the sampling moment (Rise), and then maintain the value from then on.