3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 299

Advertising
background image

5.10 System Function Instructions

5.10.2 First-in First-out (FINFOUT)

5-230

The parameters are described in the following table.

( 3 ) Programming Example

In the following programming example, a FIFO table is created with a data size of 12 words, input size of 4 words, and
an output size of 2 words, and then the FINFOUT instruction is executed.

Parameter Name

Description

I/O

Data input command (In-Cmd)

Data is stored in the FIFO table when this command turns
ON.

IN

Data output command (Out-Cmd)

Data is transferred out of the FIFO table when this com-
mand turns ON.

IN

Reset command (Reset)

The number of words to store is set to 0 when this command
turns ON.

IN

First address of FIFO table (FIFO-Tbl)

+0 word: Data size

IN

+1 word: Input size

IN

+2 word: Output size

IN

+3 word: Data storage size

OUT

+4 word and on: Data

OUT

First address of input data (In-Data)

First address of input data

IN

First address of output data (Out-Data)

First address of output data

IN

FIFO table full (Tbl-Full)

Turns ON when the FIFO table is full.

OUT

FIFO table empty (Tbl-Emp)

Turns ON when the FIFO table is empty.

OUT

FIFO table error (Tbl-Err)

Turns ON when the FIFO table has an error.

OUT

Advertising
This manual is related to the following products: