Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 281

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

Advertisement

(Data name)
External device
side
L
(Example)
03
1203
(Data name)
Programmable controller CPU side
(Example)
3 - 221
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(b) When writing 416-byte data, beginning from the offset address 7C
memory card A (RAM area, drive name: 01
"ABC12.QPG" by communication in binary code
0000
(Batch write)
H
Keyword valid
Memory card A
(Refer to Section 3.7.1.)
H
L
H
L
-
H
L
H
L
H
H
-
A
B
12
00
00
01
00
23
01
01
00
01
00
41
42
43
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
POINT
(1) The maximum number of bytes per write operation when writing data is fixed.
Write all the data read from the QnACPU and stored in the external device to
the designated file by dividing it into several parts by adjusting the offset
address and number of bytes written.
(2) The attribute designated during file creation, etc. is valid as the attribute of the
file to which data is written.
When writing data, treat the attribute as dummy data.
(3) When the following files are designated while the QnACPU is in operation, an
error occurs and an abnormal completion code will be returned.
• Parameter file
• Currently executing file in the built-in RAM (drive name: 00
(4) Designate the relevant values within the following range.
• Offset address:
• Number of bytes written
(Refer to Section 3.8.1.)
Filename with extension
-
-
-
-
-
L
H
-
L
L
-
-
H
C
1
2
_
_
_
Q P G
31
32
20
20
20
51
50
47
20
7C
00
00
00
H
H
H
H
H
H
H
H
H
H
H
H
H
Data written to address 7C
Data written to address 21B
: 0  address  (file size - 1)
When writing data to a file in the drive named
"00
" (built-in RAM), designate the address in
H
multiples of 4 (0, 4, 8,... in decimal notation)
within the range above.
When writing data to a file in a drive other than
"00
", designate the addresses in even-
H
numbered addresses (0, 2, 4, 6, 8,... in
decimal notation) within the range above.
: 0  number of bytes  960
) file No. 1 with filename
H
Write data
(For 416 bytes)
L
H
to
A0
01
19
99
12
02
5A
DC
H
H
H
H
H
H
H
H
H
H
H
, to the
H
)
H
3- 221

Hide quick links:

Advertisement

loading