Download Print this page

Create New File (Command: 1820): For The Q/Lcpu - Mitsubishi MELSEC Q Series Reference Manual

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

Advertisement

3.8.10 Create new file (command: 1820): for the Q/LCPU

[Control procedure]
3 - 195
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 creating a new file.
The order and content of data items of the areas 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.
The following conditions apply to the example of creating a new file below:
Keyword
Drive No.
0
Filename
ABC.CSV
File size
1K bytes
(1) Communication in ASCII code
(Data name)
External device
side
H
-
-
(Example)
1
8
2
31
38
32
30
H
H
H
(Data name)
Programmable controller CPU side
(Example)
(2) Communication in binary code
(Data name)
External device
side
L
H
(Example)
20
18
00
H
H
(Data name)
Programmable controller CPU side
(Example)
POINT
(1)
A new file can be created within the size of unused contiguous clusters on the
designated drive memory.
When creating a new file, it is recommended to take data to be added later
into account when deciding the file size.
(2) Designate "20
read/written).
(3) The Q/LCPU management time is registered as the date and time of last
update for a new file created using this function.
(4 spaces, code: 20
L
H
-
-
L
L
-
-
H
H
-
-
L
H
0
0
0
0
0
0
0
0
0
0
30
30
30
30
20
20
20
20
30
30
30
30
30
H
H
H
H
H
H
H
H
H
H
H
H
H
L
-
-
H
L
-
-
H
L
H
L
H
L
H
00
20
20
20
20
00
00
00
40
00
00
07
00
H
H
H
H
H
H
H
H
H
H
H
H
H
" as the attribute of the new file (disk files that can be
H
)
H
-
-
-
-
-
-
L
H
-
-
L
L
-
A
B
0
0
0
4
0
0
0
0
0
0
7
30
30
30
34
30
30
30
30
30
30
37
41
42
H
H
H
H
H
H
H
H
H
H
H
H
H
H
L
-
-
-
-
-
H
A
B
C
.
C
S
V
41
42
43
2E
43
53
56
H
H
H
H
H
H
H
H
-
-
-
-
H
C
.
C
S
V
43
2E
43
53
56
H
H
H
H
H
3- 195

Hide quick links:

Advertisement

loading