419
FIFR, FIFRP
1
2
3
4
4
6
7
8
7.7 Data Table Operation Instructions
7.7.2 FIFR, FIFRP
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)
7.7.2 FIFR, FIFRP Readin g oldest data fro m 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
R4
Table
123
55
4
4321
11
257
R5
R0
R1
R2
R3
R4
Table
123
55
5
4321
11
R5
R0
D0
Data table range
257
Number of stored data blocks
0
Step
Instruction
Device
D39
D40
D41
D42
Table
1000
8100
5
4321
1234
0
4444
D43
0D44
D45
D38
D39
D40
D41
D42
Table
1000
8100
6
4321
1234
0
D43
4444D44
D45
D38
X20 to X2F
Data table range
123
Number of stored data blocks
123
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
FIFRP
FIFR
S
S
FIFR
FIFRP
D
D
S
D
S
D