Справочник Пользователя для Mitsubishi Electronics FX3U-CF-ADP

Скачать
Страница из 124
8 CF-ADP Applied Instructions Explanation
8.4 FNC 301 - FLDEL / File delete•CF card format
51
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
8.4
FNC 301 - FLDEL / File delete•CF card format
Outline
The FLDEL instruction deletes files stored in the CompactFlash
TM
 card, or formats the CompactFlash
TM
card.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (FLDEL)
The FLDEL instruction deletes files stored in the CompactFlash
TM
 card, or formats the CompactFlash
TM
 card
in the following method.
• Specify file deletion or file formatting using 
.
- When 
 is "K-1 (H0FFFF)", the FLDEL instruction deletes all files whose ID is 0 to 63.
- When 
 is "K0" to "K63", the FLDEL instruction deletes the file associated with the specified file ID. 
- When 
 is "K512 (H200)", the FLDEL instruction formats the CompactFlash
TM
 card.
• Specify the file deletion method or format type using 
.
- When 
 is "K-1 (H0FFFF)" or "K0" to "K63", specify the deletion method
K0: The FLDEL instruction deletes the specified file.
K1: The FLDEL instruction deletes the association between the file name and the file ID (, but does not
       delete the file itself).
However, when the file ID specified in 
 is "0", the FLDEL instruction deletes the file without regard 
to the setting of 
.
- When 
 is "K512 (H200)", specify the format type. 
k256(H100) : The FLDEL instruction formats the CompactFlash
TM
 card in FAT16 format.
For details, refer to Subsection 8.4.1.
Operand Type
Description
Data Type
File ID (Refer to Subsection 8.4.1)
16-bit binary
File delete method (Refer to Subsection 8.4.1)
16-bit binary
n
Used channel number [contents of setting : K1 = ch1, K2 = ch2]
16-bit binary
Operand 
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special 
Unit
Index
Con-
stant
Real 
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T
C
D
R U \G
V
Z Modify K
H
E
"
"
P
n
FNC 301
FLDEL
Mnemonic
Operation Condition
16-bit Instruction
7 steps
FLDEL
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
  
S
1
  
S
2
  
S
1
  
S
2
S
1
S
2
Command
input
FNC301
FLDEL
n
Used channel number
File delete method
File ID
  
S
1
  
S
1
  
S
1
  
S
1
  
S
2
  
S
1
  
S
1
  
S
2
  
S
1