Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
739
FX3G/
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.2 FNC 301 – FLDEL / File delete
CF card format
31
FNC275-FNC279
Data
Transfer 3
32
FNC280-FNC289
High Speed
Processing 2
33
FNC290-FNC299
Extension File
Register
34
FNC300-FNC305
FX
3U
-CF-ADP
35
SFC•STL
Programming
36
Interrupt
Function
37
Special Device
38
Error Code
A
Version Up
Information
B
Execution Times
34.2 FNC 301 – FLDEL / File deleteCF 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 34.2.1.
Operand Type Description Data Type
File ID (Refer to Subsection 34.2.1) 16-bit binary
File delete method (Refer to Subsection 34.2.1) 16-bit binary
n Used channel number [contents of setting : K1 = ch1, K2 = ch2] 16-bit binary
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
33 3 33
33 3 33
n 33
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
FNC270
IVCK
n
Command
input
S
1
S
2
D
S
1
S
2
Command
input
FNC301
FLDEL
n
Used channel numbe
r
File delete method
File ID
S
1
S
1
S
1
S
1
S
2
S
1
S
2
S
1