Fifr, Fifrp; Reading Oldest Data From Tables - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

Program Example
(1) The following program stores the data at D0 to the data table following R0 when X10 is turned ON.
[Ladder Mode]
[Operation]
Table
R0
4
Number of stored data blocks
R1
123
R2
55
4321
R3
Data table range
11
R4
R5
0
D0
257
(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]
[Operation]
Table
D38
5
D39
1000
D40
8100
D41
4321
D42
1234
D43
123
D44
0
D45
0
X20 to X2F
4444
7.7.2

FIFR, FIFRP

Reading oldest data from tables

7.7.2
FIFR, FIFRP
FIFR
FIFRP
: Head number of the devices where the data read from the table will be stored (BIN 16 bits)
S
: Head number of the table (BIN 16 bits)
D
Setting
Internal Devices
Data
Bit
S
––
D
[List Mode]
Step
R0
R1
R2
R3
R4
R5
[List Mode]
Step
Number of stored data blocks
Data table range
Command
Command
R, ZR
Word
Bit
Instruction
Device
Table
5
123
55
4321
11
257
Instruction
Device
Table
D38
6
D39
1000
D40
8100
D41
4321
D42
1234
D43
123
D44
4444
D45
0
High
Basic
performance
FIFR
FIFRP
J
\
U
\G
Word
––
FIFR, FIFRP
Process
Redundant Universal
LCPU
D
S
D
S
Zn
Constants
Other
––
––
1
2
3
4
4
6
7
8
419

Advertisement

Table of Contents
loading

Table of Contents