FB_BA_FIFO08_XX

FB_BA_FIFO08_XX 1:

This function block is used to evaluate the FiFo memory from FB_BA_FIFO08. The inputs are linked according to the FIFO table to the corresponding outputs of the function block FB_BA_FIFO08_BOOL or FB_BA_FIFO08_REAL.

Sample:

In the sample the array contains: 4,3,1,2,0,0,0,0. The result output in FB_BA_FIFO08_REAL is

rIn01 at output rVal04

rIn02 at output rVal03

rIn03 at output rVal01

rIn04 at output rVal02

.

VAR_INPUT

arrFIFO          : Array [1..8] OF UDINT;
rIn01 - rIn08    : 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 – rIn08: Setpoints to be linked.

VAR_OUTPUT

rVal01 - rVal08   : REAL;

rVal01 – rVal08: 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