FB_HVACMux8Ex

FB_HVACMux8Ex 1:

This function block evaluates the FIFO memory from FB_HVACRedundancyCtrlEx. The inputs are mapped to the respective outputs according to a FIFO table.

Sample:

In the sample the array contains: 4,3,1,2,0,0,0,0. As a result the following are now output in FB_HVACMux8Ex

rIn1 on the output rQ4

rIn2 on the output rQ3

rIn3 on the output rQ1

rIn4 on the output rQ2

VAR_INPUT

arrFiFo         : Array[1..8] of INT;
rIn1 - rIn8     : REAL;

arrFiFo: Contains the assignment table with a maximum of eight values. The first value indicates where the first input was copied to, the second value where the second input was copied to and so on. No assignment takes place with "0".

rIn1- rIn8: Setpoints to be mapped.

VAR_OUTPUT

rQ1 – rQ8      : REAL;

rQ1 – rQ8: Actuator setpoint, input value mapped according to the FIFO table.

Requirements

Development environment

required library

required function

TwinCAT 3.1 build 4022.22 or higher

Tc2_HVAC V3.3.4.0

TF8000 | TC3 HVAC V1.0.1.0