419
FIFR, FIFRP
1
2
3
4
4
6
7
8
7.7
D
ata T
able Ope
ration Instructio
ns
7.7.2
F
IF
R, FIF
R
P
Program Example
(1) The following program stores the data at D0 to the data table following R0 when X10 is turned ON.
[Ladder Mode]
[List Mode]
[Operation]
(2) The following program stores the data at X20 to X2F to data table of D38 to D44 table when X1B is turned ON, and, if
there are more than 6 data blocks to be stored, turns Y60 ON and disables the FIFW instruction.
[Ladder Mode]
[List Mode]
[Operation]
: Head number of the devices where the data read from the table will be stored (BIN 16 bits)
: Head number of the table (BIN 16 bits)
FIFR, FIFRP
Reading oldest data from tables
7.7.2
FIFR, FIFRP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
––
––
––
––
Step
Instruction
Device
R1
R2
R3
R
4
T
ab
l
e
123
55
4
4
321
11
257
R5
R0
R1
R2
R3
R
4
T
ab
l
e
123
55
5
4
321
11
R5
R0
D0
Data
tab
l
e
range
257
N
umber
of
stored
data
b
l
oc
k
s
0
Step
Instruction
Device
D39
D
4
0
D
4
1
D
4
2
T
ab
l
e
1000
8100
5
4
321
123
4
0
4444
D
4
3
0
D
44
D
4
5
D38
D39
D
4
0
D
4
1
D
4
2
T
ab
l
e
1000
8100
6
4
321
123
4
0
D
4
3
4444
D
44
D
4
5
D38
X20
to
X2
F
Data
tab
l
e
range
123
N
umber
of
stored
data
b
l
oc
k
s
123
Basic
Process
High
performance
Redundant Universal
LCPU
Command
Command
FIFRP
FIFR
S
S
FIFR
FIFRP
D
D
S
D
S
D