Drive Name Assignment And Format - Mitsubishi Electric MELSEC Q Series User Manual

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

18.4.3

Drive name assignment and format

The following memories can be accessed from FTP, Telnet and user programs.
For access from the user program, and file reading/writing by FTP, the target memory is specified by a drive
name.
The procedure for drive name assignment to the memory, supported file systems, and formatting methods are
described below.
Memory
System ROM
Standard ROM
*1
Work RAM
Standard RAM
CompactFlash card
*1 :
A RAM disc can be created by using VxWorks function from the user program.
*2 :
Do not assign the same name as any other drives. Otherwise, the system may fail.
(1) Format operation of standard ROM
1.
Write the following script file "STARTUP.CMD" to the CompactFlash card, insert it into the C
Controller module, and then start the C Controller module.
(The RUN LED flashes during processing the script file "STARTUP.CMD".)
*1 :
The sample script file for standard ROM formatting is registered to the development environment (personal computer)
after installation of SW4PVC-CCPU.
2.
When the RUN LED stopped flashing and the MODE LED started flashing, the standard ROM
formatting and shutdown processing is completed. Power OFF the C Controller module.
If the formatting of the standard ROM is terminated in error, the ERR. LED flashes.
In this case, initialize C Controller module. (Page 62, Section 6.1)
3.
Power OFF the C Controller module, and remove the CompactFlash card.
● Do not format the standard ROM using a command from Workbench Shell.
● Do not perform any of the following operations. Doing so may cause the data corruption or file system abnormal error.
• Power OFF
• Reset
(a) After formatting standard ROM
After formatting a standard ROM, the files such as parameters and user programs are deleted. Write the
default parameters (or desired parameters) after the connection.
(After formatting the standard ROM, resetting the module causes a parameter error (no parameters) and the
ERR. LED flashes.)
332
Drive name
File systems
/SYSTEMROM
FAT16
/ROM
FAT16
*2
(FAT16/FAT32)
(arbitrary)
/RAM
FAT16
/CF
FAT16/FAT32
<Sample script file for standard ROM formatting
STARTUP.CMD
diskFormatForCCPU("/ROM")
CCPU_ShutdownRom()
Formatting method
Cannot be formatted.
Page 332, (1) in this section
Page 333, (2) in this section
Page 333, (3) in this section
*1
>

Advertisement

Table of Contents
loading

Table of Contents