9 - 16
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
9 - 16
9.3 Device Memory Read/Write
This section explains the designations in the control procedure when reading from
and writing to the device memory by providing an example.
9.3.1 Commands and device range
(1) Commands used for reading from and writing to the device memory
Item
Command/response type
Processing
Number of points processed per
communication
Batch read
Bit units
00
H
Reads bit devices (X, Y, M, S, T, C) in 1-point units.
256 points
Word units
01
H
Reads bit devices (X, Y, M, S, T, C) in 16-point units.
32 words (512 points)
Reads word devices (D, R, T, C) in 1-point units.
64 points
Batch write
Bit units
02
H
Writes to bit devices (X, Y, M, S, T, C ) in 1-point
units.
160 points
Word units
03
H
Writes to bit devices (X, Y, M. S, T, C) in 16-point
units.
10 words (160 points)
Writes to word devices (D, R, T, C ) in 1-point units.
64 points
Test
(random write)
Bit units
04
H
Sets/resets bit devices (X, Y, M, S, T, C ) in 1-point
units by arbitrarily designating the devices and
device number.
80 points
Word units
05
H
Sets/resets bit devices (X, Y, M, S, T, C ) in 16-point
units by arbitrarily designating the devices and
device numbers.
10 words (160 points)
Writes to word devices (D, R, T, C, etc.) in 1-point
units by arbitrarily designating the devices and
device numbers.
Not applicable for 32 bit devices from C200 to C255.
10 points