FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
23-3
23: F
ILE
D
ATA
P
ROCESSING
I
NSTRUCTIONS
FIEX (First-In Execute)
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
Make sure that FIEX instructions are executed after the corresponding FIFOF instruction has initialized the FIFO data file. If FIEX instructions are
executed without executing the corresponding FIFOF instruction, a user program execution error will result, turning on special internal relay M8004
and the ERR LED on the FC6A Series MICROSmart.
When a user program execution error occurs, the execution of the instruction is canceled and the next instruction is executed. For details about the
user program execution errors, see "User Program Execution Errors" on page 3-10.
Since the FIEX instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used.
Valid Data Types
FOEX (First-Out Execute)
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
Make sure that FOEX instructions are executed after the corresponding FIFOF instruction has initialized the FIFO data file. If FOEX instructions are
executed without executing the corresponding FIFOF instruction, a user program execution error will result, turning on special internal relay M8004
and the ERR LED on the FC6A Series MICROSmart.
When a user program execution error occurs, the execution of the instruction is canceled and the next instruction is executed. For details about the
user program execution errors, see "User Program Execution Errors" on page 3-10.
Since the FOEX instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used.
Valid Data Types
When input is on, the data stored in data registers starting with the device assigned by S1 is stored to the
corresponding FIFO data file.
FIEX(W)
*
S1
*****
Device
Function
I
Q
M
R
T
C
D
P
Constant
Repeat
N (File Number)
File number
—
—
—
—
—
—
—
—
0-9
—
S1 (Source 1)
First data register to store data to FIFO data file
—
—
—
—
—
—
X
—
—
—
W (word)
X
When a D (data register) is assigned as the source, as many data registers as the value stored in device S1 of
the corresponding FIFOF instruction are used.
I (integer)
—
D (double word)
—
L (long)
—
F (float)
—
When input is on, the data is retrieved from the corresponding FIFO data file and stored to the data
registers starting with the device assigned by D1.
FOEX(W)
*
D1
*****
Device
Function
I
Q
M
R
T
C
D
P
Constant
Repeat
N (File Number)
File number
—
—
—
—
—
—
—
—
0-9
—
D1 (Destination 1)
First data register number to store data
—
—
—
—
—
—
X
—
—
—
W (word)
X
When a D (data register) is assigned as the destination, as many data registers as the value stored in device S1
of the corresponding FIFOF instruction are used.
I (integer)
—
D (double word)
—
L (long)
—
F (float)
—
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...