8 CF-ADP Applied Instructions Explanation
8.8 FNC 305 - FLSTRD / FX3U-CF-ADP status read
79
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
Programm
ing
8
C
F
-AD
P
Appl
ied
Ins
tructi
ons
Explanati
o
n
9
Program
Examples
10
T
roubl
esho
oti
n
g
2) Program Example 2
When X000 turns ON, the FLSTRD instruction checks whether or not a file whose ID is "1" exists. M100
turns ON when a file whose ID is "1" exists.
Channel number 1 is used.
3) Program Example 3
When X000 turns ON, the FLSTRD instruction reads the capacity of the CompactFlash
TM
card. D101 and
D100 store the data capacity of the CompactFlash
TM
card, D103 and D102 store the used space of the
CompactFlash
TM
card, and D105 and D104 store the free space of the CompactFlash
TM
card.
Channel number 1 is used.
X000
M0
SET
M0
FNC305
FLSTRD
D0
K1
H100
M100
SET
M200
SET
M8029
D0.1
D0.1
Execution
completion
M8329
Abnormal end
M0
RST
M0
RST
X000
M0
SET
M0
FNC305
FLSTRD
D0
K1
H200
M8029
D100
D0
D102
D2
FNC 12
DMOV
FNC 12
DMOV
D104
D4
FNC 12
DMOV
Execution
completion
M8329
Abnormal end
M0
RST
M0
RST