2 first-in first-out (finfout), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 297

Advertising
background image

5.10 System Function Instructions

5.10.2 First-in First-out (FINFOUT)

5-228

5.10.2 First-in First-out (FINFOUT)

( 1 ) Operation

The FINFOUT instruction calls a first-in first-out block data transfer function. The FIFO data table consists of a 4-
word header and a data buffer. Always set the three words with the data size, input size, and output size before you exe-
cute this instruction.

• When the Data Input Command (In-Cmd) turns ON, the specified number of data items from the specified input

data area are stored sequentially in the data area of the FIFO table.

• When the Data Output Command (Out-Cmd) turns ON, the specified number of data items are moved from the

first address in the data area of the FIFO table to the specified output data area.

• When the Reset Command (Reset) turns ON, the number of stored words is set to 0 and Tbl-Emp (FIFO table

empty) turns ON.

• If the data empty size is less than the input size or if the data size is less than the output size, Tbl-Err (FIFO table

error) turns ON.

[ a ] If the Data Input Command (In-Cmd) Is ON

[ b ] If the Data Option Command (Out-Cmd) Is ON

[ c ] If the Reset Command (Reset) Is ON

The number of words stored in the FIFO table is set to 0.

Œ

The contents of the table buffer are retained and not cleared to 0.

1

FIFO table data buffer

Start

2

3

1

Data size (words)

2

3

First address of input data

Input size

(words)

Data In-Cmd = ON

1

FIFO table data buffer

Start

2

3

4

1

2

3

First address of output data

Output size

(words)

Data Out-Cmd = ON

4

After the output is completed, this data is moved to the first address.

Advertising
This manual is related to the following products: