220
12 FILE CONTROL
12.5 File Creation and Deletion
12.5 File Creation and Deletion
Create a new file or delete a file.
Create new file (command: 1820)
Specify the size to create a new file.
A folder cannot be created with this command. Create a folder with an Engineering tool.
The time on a module is registered as the last edit date and time in a file created using this function.
Message format
The following shows the message format of the request data and response data of the command.
■Request data
■Response data
There is no response data for this command.
Data specified by request data
■Command
■Sub command
■Password
Specify the following fixed value.
• MELSEC iQ-R series (when using subcommand '0040'): Specify '0'.
• MELSEC-Q/L series (when using subcommand '0000'): Specify 20H in 4 bytes.
ASCII code Binary code
Item ASCII code Binary code
For MELSEC-Q/L series
For MELSEC iQ-R series
ASCII code Binary code
ASCII code, binary code
Command Subcommand Password Drive No. File size
Number of file
name characters
File name