Open File (Command: 1827) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Open file (command: 1827)

Open a file and lock the file so that the file contents are not modified from other devices.
The file is unlocked by any of the following.
• Close file (command: 182A)
• Restarting a module. (Resetting the CPU module, etc.)
Message format
The following shows the message format of the request data and response data of the command.
■Request data
Command
Subcommand
■Response data
The file pointer No. is stored. (Page 208 File pointer No.)
Data specified by request data
■Command
ASCII code
1
8
2
7
31
38
32
37
H
H
H
H
■Sub command
Item
For MELSEC-Q series
For MELSEC-L series
For MELSEC iQ-R series
■Password
Specify the password of the access target file. (Page 195 Password)
■Open mode
Specify whether the specified file is open for reading or for writing. (Page 210 Open mode)
• Open for read: 0000H
• Open for write: 0100H
12 FILE CONTROL
236
12.6 File Modification
Password
Open mode
Drive No.
Binary code
27
18
H
H
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
0
0
0
4
30
30
30
34
H
H
H
H
0
0
4
0
30
30
34
30
H
H
H
H
Number of file
File name
name characters
Binary code
00
00
H
H
04
00
H
H
40
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents