Mitsubishi Electric MELSEC iQ-R C User Manual page 21

Programmable controller intelligent function module
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

■Creating a folder
Do not create a folder in the root ("/") of a C intelligent function module. If a folder is created, an error may occur or an
unintended folder may be created. (These errors also occur when transferring a folder to the root ("/") from FTP.)
■File names and folder names
Use alphanumeric characters and special characters (excluding \, /, *, ?, <, >, |, :, ", $) for a file name and folder name to be
stored. Otherwise, the following symptoms may occur.
• Garbled file name and folder name
• Loss of file and folder
Special characters (~, ,, space) cannot be used as a first character in the file name or directory name.
When only a special character (.) is used for a folder name, a folder cannot be created.
• A special character (.) following the usable character codes is not included in the folder name.
A folder, "a" is created when a folder name starts with "a...".
When a file name is composed of lower-case characters, it may be displayed all in upper-case characters when referred to
from FTP or Telnet.
■File writing destination
Do not write files to the standard ROM using a user program.
Since the number of writable times (life) of the standard ROM is limited, the available period of a C intelligent function module
is shortened.
When writing a file from a user program, write it to an SD memory card or a network device
*1 For more details, refer to the manual for VxWorks.
■Removing an SD memory card
If an SD memory card is unmounted while writing data to a user file in the memory card, data corruption or file system error
may occur. When writing data to a user file, close the user file before unmounting.
■Formatting an SD memory card
An SD memory card can be formatted by describing the following contents in a user program and execute it.
int fd = 0;
fd = open("/SD", 2, 750);
/*(1)*/
ioctl(fd, 5, 0);
/*(2)*/
close(fd);
/*(3)*/
(1) Opens an SD memory card
(2) Formats the SD memory card
(3) Closes the SD memory card
*1
(via FTP/NFS/netDrv).
2 SPECIFICATIONS
2.2 Drive and File Configuration
2
19

Advertisement

Table of Contents
loading

Table of Contents