Create New File (Register File Name) (Command: 1202) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Create new file (Register file name) (command: 1202)

The following examples show the control procedure for registering a new file and reserving a file area on the specified disk.
Write data to the file created using this function with the following function.
Page 325 Write to file (command: 1203)
The content of file in which data is not written cannot be read.
• A new file can be created on the specified drive memory within the size of consecutive unused clusters.
Creating a new file considering the rest of the capacity for future use is recommended.
• The QnACPU management time is registered as the last edit date and time to a new file created using this
function.
Message format
■Request data
ASCII
Subcommand
File name
Extension Attribute
Binary
Setting
Keyword Drive name
Subcommand
flag
File name
Extension Attribute
Size
■Response data
File No. is stored. (Page 298 File No.)
Data specified by request data
■Command
ASCII code
1
2
0
2
31
32
30
32
H
H
H
H
■Subcommand
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
■Keyword
Allow/prohibit the access to the file of the target memory. (Page 298 Keyword)
■Setting flag
Data that indicates whether the keyword is registered in the specified drive. (Page 298 Setting flag)
Keyword
Setting flag Drive name
Size
Fixed value
Fixed value Fixed value
Fixed
value
Binary code
02
12
H
H
Binary code
00
00
H
H
Fixed value Fixed value
15 QnACPU DEDICATED COMMANDS
15
323
15.3 File Control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents