18.7 CFDEL (File Delete)
■
Ladder diagram
■
List of operands
Operand Description
S
Specify the starting address of the device area that stores the path name (folder name + file name:
maximum 256 characters) of the file to be deleted, the number of characters of the path name (data
format: character data), the number of characters for [S], and the path name (folder name + file
name) for [S+1] and successive operand
■
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S ● ● ● ● ● ● ● ●
(Note 1) Only 16-bit devices can be modified. (Character constants cannot be specified.)
■
Outline of operation
● Files in the SD memory card specified by [S] are deleted.
■
Example of processing
Example) When deleting a file "\abc\data1" in an SD memory card
(1) Character count (2) Path name (folder name + file name)
18.7 CFDEL (File Delete)
18-36 WUME-FP7CPUPGR-12