File Control; Considerations For File Control - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

15.3

File Control

Read, register, and delete files in QnACPU modules.
Use this function in the following situations:
• Read parameters and sequence programs from an external device
• Write the files read from CPU module to an external device according to the commands.
For the file name, extension, and location of a file stored in CPU module, refer to the user's manual (function explanation,
program fundamentals) of the CPU module used.

Considerations for file control

The following are the considerations when managing files in QnACPU.
Editing files
The files read from CPU module are used for storage on an external device.
The external device cannot edit the content of a file read from CPU module.
Data read/write
When the data of the entire file size cannot be read/written in a single communication, use several communications to read/
write the data.
The file size can be verified using the following functions.
Function
Read file information table function
Read file presence function
System protection
If the CPU module is protected by system protection when using the following functions, an error occurs and an abnormal
completion message is returned.
Function
Create new file (Register file name)
Write to file
Delete file
Copy file
Modify file information (date created, attribute)
Registration of keyword
When registering a keyword in the file, keep the registered keyword.
When accessing the following files, specifying the registered keyword when opening or reading/writing to that file is required.
• Parameter file
• Program files
File attribute
The file attribute is valid only when the following functions are used. For other commands, the attribute is handled as a
dummy.
Function
Read file information table function
Create new file (Register file name)
Modify file information (date created, attribute)
Reference
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)
Reference
Page 323 Create new file (Register file name) (command: 1202)
Page 325 Write to file (command: 1203)
Page 335 Delete file (command: 1205)
Page 337 Copy file (command: 1206)
Page 329 Modify file information (command: 1204)
Reference
Page 308 Read file information table without header statement (command: 0201)
Page 311 Read file information table with header statement (command: 0202)
Page 323 Create new file (Register file name) (command: 1202)
Page 329 Modify file information (command: 1204)
15 QnACPU DEDICATED COMMANDS
15.3 File Control
15
297

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents