8 CF-ADP Applied Instructions Explanation
8.4 FNC 301 - FLDEL / File delete•CF card format
51
FX3U-CF-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Functions
7
Before
Programming
8
CF-ADP Applied
Instructions
Explanation
9
Program
Examples
10
Troubleshooting
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
XYMTCS
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
S1
S2
S1
S2
S
1
S
2
Command
input
FNC301
FLDEL
n
Used channel numbe
r
File delete method
File ID
S1
S1
S1
S1
S2
S1
S1
S2
S1