8 DEVICE ACCESS
8.2 Batch Read and Write
93
8
■Head device
Specify the head device of the consecutive devices. (Page 67 Devices)
The following devices cannot be specified.
• Long timer (contact: LTS, coil: LTC)
• Long retentive timer (contact: LSTS, coil: LSTC)
• Long index register (LZ)
Page 71 Considerations when accessing long timer, long retentive timer, or long counter
Page 71 Considerations when accessing long index register
■Number of device points
Specify the number of device points to be read within the following range. (Page 72 Number of device points)
Communication example
Read values of M100 to M107. (Subcommand: for MELSEC-Q/L series)
■Data communication in ASCII code
(Request data)
(Response data)
■Data communication in binary code
(Request data)
(Response data)
Access target C24 E71
ASCII code Binary code
MELSEC iQ-R series module
MELSEC-Q/L series module
1 to 7904 points 1 to 3584 points 1 to 7168 points
MELSEC-QnA series module
Module on other station via MELSEC-QnA series network module
1 to 3952 points 1 to 1792 points 1 to 3584 points
MELSEC-A series module 1 to 256 points
0401
30
H
34
H
30
H
31
H
000
30
H
30
H
30
H
1M
*
31
H
4D
H
2A
H
000
30
H
30
H
30
H
100
31
H
30
H
30
H
000
30
H
30
H
30
H
8
38
H
Device
code
Subcommand Head device number
Number of device points
0
M100 M107
001
30
H
30
H
30
H
31
H
001
30
H
30
H
31
H
1
31
H
0=OFF
1=ON
to
01
H
04
H
01
H
00
H
64
H
00
H
00
H
90
H
08
H
00
H
Device
code
Subcommand
Number of
device points
Head device
number
M100
M101
00
H
01
H
00
H
11
H
M106
M107
0=OFF
1=ON
to