Register And Deregister File Locks (Command: 0808) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Register and deregister file locks (command: 0808)

The following examples show the control procedure for registering and deregistering a file lock.
Restarting QnACPU (such as resetting CPU module) with the file lock registered results in the file lock
deregistered state.
Message format
■Request data
Subcommand
Command
■Response data
There is no response data for this command.
Data specified by request data
■Command
ASCII code
0
8
0
8
30
38
30
38
H
H
H
H
■Subcommand
• Register
ASCII code
0
0
0
1
30
30
30
31
H
H
H
H
• Deregister
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
■File lock mode
A data to specify whether a locked file is to be forcefully unlocked in order to allow other devices to access the specified file.
(Page 304 File lock mode)
■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 No.
A data to specify the registration number of files. (Page 298 File 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)
The attribute assigned by a new file creation, etc. is valid as the attribute of the file that will be locked and unlocked. When
registering and deregistering file lock, handle the file attribute as dummy data.
File lock mode
Drive name
Binary code
08
08
H
H
Binary code
01
00
H
H
Binary code
00
00
H
H
File No.
File name Extension Attribute
15 QnACPU DEDICATED COMMANDS
15
321
15.3 File Control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents