Error code Description Cause
Types of detected instructions
and the timing
3
Specified file name
error
Code that cannot be specified for a
file name is used.
There are too many hierarchies for
the specified folder.
Folder access and file access
instructions
4 No specified file The specified file does not exist.
Folder access and file access
instructions
5 File already exists The specified file already exists.
Move, copy, and rename
instructions
6 File read error At the time of reading
7 File write error
A write-protect attribute is set for
the specified file.
Write, delete, move, copy, and
rename instructions
8
File access position
error
The reading position or writing
position is incorrect.
CWT/CRD, CRD1. At the time of
execution.
9
SD memory card
capacity shortage
Cannot be executed because there
is not enough free space on the SD
memory card.
Write, delete, move, copy, and
rename instructions
10 Read format error
Error in the conversion format
when reading a file.
CRD. At the time of execution.
11
File access
contention
A file that is being logged is
specified.
A file that is being accessed via
FTP is specified.
Write, delete, move, copy, and
rename instructions
12
The specified
directory is not empty.
A directory or a file exists under the
directory to be deleted.
CRMDIR. At the time of execution.
-1 to -99 Others All instructions
■
How to specify folder and file names in SD memory card access instructions
● Specify the full path (up to 256 characters). Do not specify the drive name.
Example) When specifying abc.txt directly under the root directory: When specifying def.txt
under the folder A:
\abc.txt \a\def.txt
● When using the SSET instruction;
SSET "\abc.txt" DT0
Specify as above, and specify DT0 in the file name specification of the SD memory card
access instruction.
● When specifying a non-existent folder with CWT, CMKDIR or CPR instruction, only a sub
folder directly under the parent folder can be automatically created. Two or more new folders
cannot be created by one instruction. If specifying more than two files, no specified file error
occurs.
■
SD memory card control specifications
SD SDHC
File system FAT16 FAT32
Max. length of file name Supports long file names (VFAT)
Max. volume size 2GB 32GB
19.9 Common Precautions for SD Memory Card Access Instructions
19-22 WUME-FP7CPUPGR-12