Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 257

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

Advertisement

(Data name)
External device
side
(Example)
(Data name)
Programmable controller CPU side
(Example)
3 - 197
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(2) Communication in binary code
L
H L
H
L
H
29
18
00
00
00
00
00
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 Q/LCPU 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) When the following files are designated while the Q/LCPU is in operation, an
error occurs and an abnormal completion code will be returned.
• Parameter file
• Files in the program memory (drive name: 00
currently in operation.
(3) Designate the relevant values within the following range.
• Offset address
• Number of bytes written : 0  number of bytes  1920
(4) When writing data to a file, the volume of the data must be within the file
size reserved in the new file creation.
Writing data exceeding the file size may result in the write error (error code:
402B
).
H
L
-
-
H
L
H
L
-
-
-
H
00
00
00
00
04
H
H
H
H
H
H
: 0  address  (file size - 1)
When writing data to a file in the drive named
"00
" (program memory), designate the
H
address in 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
L
H
00
04
H
H
) of the QCPU that is
H
3- 197

Hide quick links:

Advertisement

loading