Download Print this page

Device Memory Read/Write - Mitsubishi MELSEC Q Series Reference Manual

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

Advertisement

3.3 Device Memory Read/Write

3.3.1 Commands, character area contents and device range
Command (
(subcommand)
Function
Multiple
block batch
Word units
0406 (00 0)
read
Multiple
block batch
Word units
1406 (00 0)
write
Bit units
0401 (00 1)
Batch read
Word units
0401 (00 0)
Bit units
1401 (00 1)
Batch write
4
(refer to
in
Section 3.2) Word units
1401 (00 0)
Random
read
Word units
0403 (00 0)
2
(
)
3 - 62
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
This section describes what to designate in the control procedure when reading and
writing to the device memory by explaining with some examples.
The following describes the commands, character areas (in binary code, data fields) of
the control procedures, and the range of accessible devices when reading and writing
to device memory.
(1) Commands
1
)
Description of processing
Reads data by treating n
points of word devices or bit
devices (one point is
equivalent to 16 bits) as one
block by specifying multiple
blocks randomly.
Writes data by treating n
points of word devices or bit
devices (one point is
equivalent to 16 bits) as one
block by specifying multiple
blocks randomly.
Reads bit devices in 1-point
units.
Reads bit devices in 16-point
units.
Reads word devices in 1-point
units.
Writes to bit devices in 1-point
units.
Writes to bit devices in 16-
point units
Writes to word devices in 1-
point units.
Reads bit devices in units of
16 points and 32 points by
designating the devices at
random.
Reads word devices in 1-point
and 2-point units by
designating the devices at
random.
Number of points processed per
communication
7
9
(refer to
to
in Section 3.2)
Access
Access
Access
station-1
station-2
station-3
960 points
480 points
(Disabled)
960 points
480 points
(Disabled)
3584 points
1792 points
7168 point
3584 point
256 points
7904 point
3952 point
960 words
480 words
32 words
(15360
(7680 points)
(512 points)
points)
960 points
480 points
64 points
3584 points
1792 points
7168 point
3584 point
160 points
7904 point
3952 point
960 words
480 words
10 words
(15360
(7680 points)
(160 points)
points)
960 points
480 points
64 points
192 points
96 points
(Disabled)
Programmable controller
CPU status
1
(refer to
in
Reference
Section 3.2)
During RUN
During
Write
Write
STOP
enabled
disabled
Sections 3.3.2
Sections 3.3.3
and 3.3.6
Sections 3.3.4
and 3.3.7
Section 3.3.9
3 - 62

Hide quick links:

Advertisement

loading