Download Print this page

Registering And Clearing File Locks (Command: 0808): For The Qnacpu - Mitsubishi MELSEC Q Series Reference Manual

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

3.8.18 Registering and clearing file locks (command: 0808): for the QnACPU

[Control procedure]
(Data name)
External device
side
(Example)
(Data name)
Programmable controller CPU side
(Example)
3 - 214
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
The examples shown in this section explain the control procedure for registering and
clearing the following file locks:
• File lock registration (Disable access from other devices)
Registers file lock so that the contents of the file cannot be changed from another
device and the same file cannot be accessed from another device while the
designated file is being accessed.
• File lock clear (Enable access from other devices)
Clears file lock of a file that was locked so that the same file can be accessed from
other devices.
The order and contents of data items of the area marked by " " shown in the control
procedure diagram differ depending on the module used as well as the frame and
format used for communication.
Refer to the detailed information described in Section 3.1.
(1) When performing file lock registration in normal execution mode for
the memory card A (RAM area, drive name: 01
filename "ABC12.QPG" by communication in ASCII code
Registration to "0001"
H
-
-
L
H
-
-
L
H
-
-
0
8
0
8
0
0
0
1
0
0
0
30
38
30
38
30
30
30
31
30
30
30
H
H
H
H
H
H
H
H
H
H
Normal execution
Memory card A
(Refer to Section 3.8.1.)
Filename with extension
L
H
-
-
L
L
-
-
H
H
-
-
-
0
0
0
0
1
0
0
0
1
A
B
C
1
30
30
30
30
31
30
30
30
31
41
42
43
31
H
H
H
H
H
H
H
H
H
H
H
H
H
H
) file No. 1 with
H
-
-
-
L
H
-
L
2
_
_
_
Q
P
G
32
20
20
20
51
50
47
20
H
H
H
H
H
H
H
H
3- 214

Hide quick links:

Advertisement

loading