■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, current value: LTN)
• Long retentive timer (contact: LSTS, coil: LSTC, current value: LSTN)
• 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 written within the following range in word units. (Page 72 Number of device
points)
Access target
MELSEC iQ-R series module
MELSEC-Q/L series module
MELSEC-QnA series module
Module on other station via MELSEC-QnA series network module
MELSEC-A series module
For bit device, read 16-point bit device by specifying one point of "Number of device points".
Set the head device number for MELSEC-A series module with a multiple of 16.
■Write data
Specify the data to be written for the number of device points in hexadecimal. (Page 74 Read data, write data)
Communication example (Writing bit device)
Write the values to M100 to M131 (for 2 words). (Subcommand: for MELSEC-Q/L series)
■Data communication in ASCII code
Subcommand
1
4
0
1
0
0
0
31
34
30
31
30
30
30
H
H
H
H
H
H
H
■Data communication in binary code
Device
Subcommand
Head device
number
01
14
00
00
64
00
00
H
H
H
H
H
H
H
4
7
2
3
0 1 0 0 0 1 1 1 0 0 1 0 0 0 1 1 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1
to
to
M107
M100 M115
M108 M123
Device
Head device number
code
0
M
*
0
0
0
1
30
4D
2A
30
30
30
31
30
H
H
H
H
H
H
H
code
Number of
device points
Write data
90
02
00
47
23
96
AB
H
H
H
H
H
H
H
9
6
A
B
to
to
M116 M131
M124
Range
Word device
1 to 960 points
1 to 480 points
1 to 64 points
Number of device points
0
0
0
0
0
2
2
3
30
30
30
30
32
32
33
H
H
H
H
H
H
H
H
2
3
4
7
0 0 1 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 0
M115
M100 M131
to
0 OFF
1 ON
Bit device
Double word device
1 to 960 words
1 to 960 words
(1 to 15360 points)
(1 to 480 points)
1 to 480 words
(1 to 7680 points)
1 to 10 words
(1 to 160 points)
Write data
4
7
A
B
9
6
34
37
41
42
39
36
H
H
H
H
H
H
A
B
9
6
0 OFF
1 ON
M116
to
8 DEVICE ACCESS
8.2 Batch Read and Write
8
95