FB_BA_FIFO08_XX
The function block FB_BA_FIFO08_XX 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.
Example:
In the sample the array contains: 4,3,1,2,0,0,0,0. The following result is output in FB_BA_FIFO08_REAL:
fIn01 on output fVal04
fIn02 on output fVal03
fIn03 on output fVal01
fIn04 on output fVal02
Inputs
VAR_INPUT
aFIFO : Array [1..8] OF UDINT;
fIn01…fIn08 : REAL;
END_VAR
Name | Type | Description |
---|---|---|
aFIFO | ARRAY OF UDINT | 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". |
fIn01…fIn08 | REAL | Setpoints to be linked. |
Outputs
VAR_OUTPUT
fVal01…fVal08 : REAL;
END_VAR
Name | Type | Description |
---|---|---|
fVal01…fVal08 | REAL | Actuator setpoint, input value linked according to FIFO table. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.22 | Tc3_BA2 from v5.2.5.0 |