Mitsubishi Electronics FX3U-CF-ADP Manual Do Utilizador

Página de 124
9 Program Examples
9.3 Program Example 2
96
FX
3U
-CF-ADP User's Manual
Specify the data reading type.
D40
K6
FNC 12
 MOV
D43
K1
FNC 12
 MOV
Number of read data points.
Data reading.
FNC303
FLRD
K0
D40
R140
D50
K1
Specify the data reading type.
D40
K7
FNC 12
 MOV
D43
K1
FNC 12
 MOV
Number of read data points.
Data reading.
FNC303
FLRD
K0
D40
R150
D50
K1
M8405
CF card
is
mounted
M6
M8404
CF-ADP
unit ready
Remains ON
while data is
being read
from the
mixed type
file
Remains ON while data is being
read from the mixed type file
D122
D8418
D123
D8417
FNC 12
 MOV
The error code is stored.
Remains ON while data is being
read from the mixed type file
Turns ON when data is read
successfully from the mixed
type file
The error code details are
stored.
FNC 12
 MOV
M26
SET
M6
RST
M6
RST
M8029
M8329
File delete
K0
K0
FNC 301
 FLDEL
M8405
CF card
is
mounted
M7
M8404
CF-ADP
unit ready
Remains ON
while the
mixed type
file is being
deleted
Remains ON while the mixed
type file is being deleted.
D124
D8418
D125
D8417
FNC 12
 MOV
The error code is stored.
Remains ON while the mixed
type file is being deleted
Turns ON when the mixed type
file is deleted successfully
The error code is stored.
FNC 12
 MOV
M27
SET
M7
RST
M7
RST
M8029
M8329
K0
END
From previous page
From previous page
The mixed type file is deleted
Execution
completion
Abnormal
end
Execution
completion
Abnormal
end