Fiex (First-In Execute); Foex (First-Out Execute) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

FIEX (First-In Execute)

FIEX(W)
*
*****
Valid Devices
Device
Function
N (File Number)
File number
S1 (Source 1)
First data register to store data to FIFO data file
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
W (word)
X
I (integer)
D (double word)
L (long)
F (float)

FOEX (First-Out Execute)

FOEX(W)
*
*****
Valid Devices
Device
N (File Number)
D1 (Destination 1)
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
W (word)
X
I (integer)
D (double word)
L (long)
F (float)
When input is on, the data stored in data registers starting with the device assigned by S1 is stored to the
S1
corresponding FIFO data file.
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.
When input is on, the data is retrieved from the corresponding FIFO data file and stored to the data
D1
registers starting with the device assigned by D1.
Function
File number
First data register number to store data
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.
FC6A S
MICROS
ERIES
MART
23: F
I
Q
M
I
Q
M
L
P
M
ADDER
ROGRAMMING
ANUAL
D
P
ILE
ATA
ROCESSING
R
T
C
D
P
Constant
X
R
T
C
D
P
Constant
X
FC9Y-B1726
I
NSTRUCTIONS
Repeat
0-9
Repeat
0-9
23-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents