Search Directory/File Information (Command: 1811) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Search directory/file information (command: 1811)

Read the file No. of the specified file.
The file No. indicates the registration number of a file when the file is written to the module.
Message format
The following shows the message format of the request data and response data of the command.
■Request data
Command
Subcommand
■Response data
File No. is stored. (Page 199 File No.)
If the file with the specified name does not exist, the command completes abnormally.
Data specified by request data
■Command
ASCII code
1
8
1
1
31
38
31
31
H
H
H
H
■Sub command
Item
For MELSEC-Q/L series
For MELSEC iQ-R series
■Fixed value 1
Specify the following fixed value.
• MELSEC iQ-R series (when using subcommand '0040'): Specify '0'.
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
• MELSEC-Q/L series (when using subcommand '0000'): Specify 20H in 4 bytes.
ASCII code, binary code
20
20
20
20
H
H
H
H
■Drive No.
Specify the access target drive. (Page 198 Drive No.)
Fixed values 1
Drive No.
Binary code
11
18
H
H
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
0
0
4
0
30
30
34
30
H
H
H
H
Binary code
00
00
00
00
H
H
H
H
Number of file
Fixed values 2
name characters
Binary code
00
00
H
H
40
00
H
H
File name
12 FILE CONTROL
217
12.4 File Check
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents