Mitsubishi Electric MELSEC IQ-R series Reference Manual page 309

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Procedure for creating a new file and write data to it (creating a file by copying)
1.
Check for file existence.
Check with any of the following commands.
• Page 308 Read file information table without header statement (command: 0201)
• Page 311 Read file information table with header statement (command: 0202)
• Page 314 Read file presence (Search file) (command: 0203)
2.
Check unused file No. only when copying a file.
• Page 316 Read file No. usage status (command: 0204)
3.
Check the capacity of consecutive free area.
• Page 293 Read drive memory usage status (command: 0205)
4.
Delete an unnecessary file when free area is insufficient. Or, increase consecutive free area.
• Page 307 Procedure for deleting files
• Page 295 Defragment drive memory (command: 1207)
5.
Register a file name and reserve the capacity.
• Page 323 Create new file (Register file name) (command: 1202)
6.
Prohibit access from other devices. (Prohibit file content modification.)
• Page 321 Register and deregister file locks (command: 0808)
7.
Write data to the file.
Write data with any of the following commands.
• Page 325 Write to file (command: 1203)
• Page 337 Copy file (command: 1206)
8.
Modify the file creation date and time. (Can be skipped.)
• Page 329 Modify file information (command: 1204)
9.
Allow access from other devices. (Allow file content modification.)
• Page 321 Register and deregister file locks (command: 0808)
10.
Check the file No. of the created file only when creating a new file.
• Page 314 Read file presence (Search file) (command: 0203)
*1 Use the remote STOP function (Page 175 Remote STOP (command: 1002)) to place the QnACPU into the STOP status before
defragmenting the memory. After the completion of the processing of this section, the remote RUN function (Page 173 Remote RUN
(command: 1001)) can be used to set the QnACPU to the RUN status.
Procedure for deleting files
1.
Check for file existence.
Check with any of the following commands.
• Page 308 Read file information table without header statement (command: 0201)
• Page 311 Read file information table with header statement (command: 0202)
• Page 314 Read file presence (Search file) (command: 0203)
2.
*1
Delete a file.
• Page 335 Delete file (command: 1205)
*1 Determine the file deletion timing for the entire system, including the QnACPU and related devices.
*1
15 QnACPU DEDICATED COMMANDS
15.3 File Control
15
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents