FB_BA_FIFO04_XX
This function block is used to evaluate the FiFo memory from FB_BA_FIFO04. The inputs are linked according to the FIFO table to the corresponding outputs of the function block FB_BA_FIFO04_BOOL or FB_BA_FIFO04_REAL.
Sample:
In the sample the array contains: 4,3,1,2,0,0,0,0. The following result is output in FB_BA_FIFO04_REAL:
rIn01 at output rVal04
rIn02 at output rVal03
rIn03 at output rVal01
rIn04 at output rVal02
VAR_INPUT
arrFIFO : Array [1..4] OF UDINT;
rIn01 - rIn04 : REAL;
aFIFO: 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".
rIn01 – rIn04: Setpoints to be linked.
VAR_OUTPUT
rVal01 - rVal04 : REAL;
rVal01 – rVal04: Actuator setpoint, input value linked according to FIFO table.
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.7 | Tc3_BA from v1.1.6.0 |