316
15 QnACPU DEDICATED COMMANDS
15.3 File Control
Read file No. usage status (command: 0204)
The following examples show the control procedure for reading the usage status of a file No.
Message format
■Request data
■Response data
The file No. of usage status is stored. (Page 304 File No. usage)
When a drive memory that cannot store maximum of 256 files is specified, the file No. of which file cannot be
stored (shortage) will be in use (the corresponding bit will be '1').
Data specified by request data
■Command
■Subcommand
■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.)
ASCII code Binary code
ASCII code Binary code
ASCII
Subcommand Keyword Setting flag Drive name
Binary
Setting
flag
Keyword
Drive name
Subcommand
04
H
02
H
00
H
00
H