FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
23-1
23: F
ILE
D
ATA
P
ROCESSING
I
NSTRUCTIONS
Introduction
File data processing instructions implement the first-in first-out (FIFO) data structure. FIFOF (FIFO Format) instructions initialize
the FIFO data files storing the data. FIEX (First-In Execute) instructions store new data to the FIFO data files, and FOEX (First-Out
Execute) instructions retrieve the stored data from the FIFO data files. The first data to be stored to the FIFO data files by FIEX
instructions will be the first data to be retrieved by FOEX instructions.
NDSRC (N Data Search) instructions search a designated value through a specified range.
FIFOF (FIFO Format)
Applicable CPU Modules
Valid Devices
For the valid device address range, see pages 6-1 and 6-2
(Basic Vol.).
Special internal relays cannot be designated as D2.
Since the FIFOF instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used as required.
Valid Data Types
When input is on, FIFOF instruction initializes an FIFO data file. Each data
file has unique number 0 through 9. A maximum of 10 data files can be used
in a user program.
FIFOF(W)
*
S1
***
S2
***
D1
*****
D2
*****
FT1A-12
FT1A-24
FT1A-40
FT1A-48
FT1A-Touch
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
N (File Number)
File Number
—
—
—
—
—
—
—
0-9
—
S1 (Source 1)
Quantity of data registers per record
—
—
—
—
—
—
—
1-255
—
S2 (Source 2)
Quantity of records
—
—
—
—
—
—
—
2-255
—
D1 (Destination 1)
First data register to store FIFO data file
—
—
—
—
—
—
X
—
—
D2 (Destination 2)
FIFO status output
—
—
—
—
—
—
—
—
W (word)
X
When an M (internal relay) is designated as the D2, three internal relays starting with the device designated by
D2 are used.
I (integer)
—
D (double word)
—
When a D (data register) is designated as the D1, S1
S2+2 data registers starting with the device designated by
D1 are used.
L (long)
—
F (float)
—
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...