7.7 Data Table Operation Instructions
7.7.3 Reading newest data from data table
7-121
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
FPO
P
FPOP
(2) In the following program, the data in Var_D0 are stored to the data table D38 to D43 when
X1C turns ON, and when the number of stored data reaches 5, and X1D turns ON, the last-
stored data in the data table are stored to Var_R0.
[Structured ladder]
[ST]
FIFWP(X1C,Var_D0,D38);
FPOPP(X1D AND D38=5,Var_R0,D38);
[Operation]
Data
ta
bl
e
-123
-1000
0
1234
55
4
0
D
42
D
41
D
43
D
39
D
40
D
38
D
44
X
IC:ON
0
D
45
4444
Var
_
D
0
Data
ta
bl
e
-123
-1000
4444
1234
55
5
0
D
42
D
41
D
43
D
39
D
40
D
38
D
44
0
D
45
Data
ta
bl
e
0
55
4
0
D
42
D
41
D
43
D
39
D
40
D
38
D
44
0
D
45
1234
Var
_R0
E
xecutes
the
F
P
O
PP
i
nstruct
i
on
w
hen
D
38=5.
-1000
-123
4444
Si
nce
the
num
b
er
of
store
d d
ata
bl
oc
k i
s
4,
the
FIFW
P
i
nstruct
i
on
i
s
execute
d w
hen
X
IC
turns
ON
Data
ta
bl
e
range
X
I
D
:ON
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......