Read File Presence (Search File) (Command: 0203) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Read file presence (Search file) (command: 0203)

The following examples show the control procedure for searching for the specified file, and reading its file No. and file size.
Message format
■Request data
ASCII
Subcommand
Binary
Setting
Subcommand
flag
■Response data
File No.
File size
If the specified file does not exist, an error occurs and the end code at the occurrence of error is returned.
Data specified by request data
■Command
ASCII code
0
2
0
3
30
32
30
33
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)
■Drive name
A data to specify the drive in a CPU module of which files are to be managed. (Page 298 Drive name, Drive No.)
■File name
Character string data of a file name. (Page 299 File name, extension, and attribute)
■Extension
A character string data of extension of a file. (Page 299 File name, extension, and attribute)
■Attribute
A data to specify the file attribute (applicability of data read/write). (Page 299 File name, extension, and attribute)
Handle the file attribute to be read as dummy data.
15 QnACPU DEDICATED COMMANDS
314
15.3 File Control
Keyword
Setting flag
Keyword
Drive name File name
Extension Attribute
Binary code
03
02
H
Binary code
00
00
H
Drive name
File name
Extension Attribute
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents