Open Mode; Close Type - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Open mode

Specify whether the specified file is open for reading or for writing with the 'open file' (command: 1827).
Item
For reading
For writing

Close type

Specify a target to be closed with the 'close file' (command: 182A).
File to unlock
A file specified by the file pointer
All files
When all files are specified for unlock, the external device that executes the close (command: 182A) closes all files being
open regardless of the hierarchy of drive No. or directory (folder). (There is no difference between 0001H and 0002H.)
The files which were opened by the other devices cannot be closed.
Executing the command to files locked by the other external device results in abnormal completion of the command.
Files are closed by restarting a module (such as resetting CPU module).
12 FILE CONTROL
210
12.3 Data to be specified in commands
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
0
1
0
0
30
31
30
30
H
H
H
H
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
0
0
0
1
30
30
30
31
H
H
H
H
0
0
0
2
30
30
30
32
H
H
H
H
Binary code
00
00
H
H
00
01
H
H
Binary code
00
00
H
H
01
00
H
H
02
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents