FB_HVACMux8_BOOL

This function block evaluates the FIFO memory from FB_HVACRedundancyCtrlEx. The inputs are mapped to the respective outputs according to a FIFO table.
The functions blocks FB_HVACRedundancyCtrlEx, FB_HVACMux8_BOOL and FB_HVACMux8Ex enable the sequential control of up to 8 units with automatic changing of the switch-on sequence.
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_HVACMux8_BOOL
bIn1 on the output bQ4
bIn2 on the output bQ3
bIn3 on the output bQ1
bIn4 on the output bQ2
ausgegeben.
VAR_INPUT
arrFiFo : Array[1..8] of INT;
bIn1 - bIn8 : BOOL;
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. Identical values are permitted. No assignment takes place with "0".
bIn1- bIn8: Variables to be mapped.
VAR_OUTPUT
bQ1 – bQ8 : BOOL;
bQ1 – bQ8: Output variable; mapped input variable according to 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 |