
9.2 First-in First-out Function (FINFOUT)
9-4
9.2 First-in First-out Function (FINFOUT)
[Outline]
This is a first-in first-out type block data transfer function. The FIFO data table is composed of a 4-
word header part and a data buffer. 3 words of the header part (data size, input size, output size) must
be set before this function is referenced.
• When the data input command (In-Cmd) becomes ON, the designated number of data is
sequentially stored from the designated input data area to the data area of the FIFO table.
• When the data output command (Out-Cmd) becomes ON, the designated number of data are
transferred from the head of the data area of the FIFO table to the designated output data area.
• When the reset command (Reset) becomes ON, the number (amount) of data stored is set to zero
and the FIFO table empty output (Tbl-Emp) becomes ON.
•
If "size of available space for data (empty size) < input size" or if "data size < output size," the
FIFO table error (Tbl-Err) becomes ON.
[Format]
Symbol : FINFOUT
Full Name : First-in First-out
Category : SYSTEM
Icon :
[Parameter]
I/O
Definition
Parameter Name
I/O
Designation
Setting
In-Cmd B-VAL Data input command (IN-CMD)
Out-Cmd B-VAL Data output command (OUT-CMD)
Reset B-VAL Reset command
FIFO-Tbl Address input Head address of FIFO table
(MW or DW address)
In-Data Address input Head address of input data
(MW or DW address)
Input
Out-Data Address input Head address of output data
(MW or DW address)
FIFO Table
Configuration
0 : data size
1 : input size
2 : output size
3 : number of
data stored
4 : data
Tbl-Full B-VAL FIFO table is full.
Tbl-Emp B-VAL FIFO table is empty.
Output
Tbl-Err B-VAL FIFO table error.
Komentarze do niniejszej Instrukcji