Mitsubishi Electric MELSEC IQ-R series Reference Manual page 92

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Communication example (Reading bit device)
Read the value of M100 to M131 (for 2 words). (Subcommand: for MELSEC-Q/L series)
■Data communication in ASCII code
(Request data)
Subcommand
0
4
0
1
0
30
34
30
31
30
H
H
H
H
H
(Response data)
1
2
31
32
H
H
1
2
3
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
to
M115
■Data communication in binary code
(Request data)
Subcommand
Head device
number
01
04
00
00
64
H
H
H
H
H
(Response data)
34
3
4
1
0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
M107
M100 M115
to
to
8 DEVICE ACCESS
90
8.2 Batch Read and Write
Device
Head device number
code
0
0
0
M
0
0
*
30
30
30
4D
2A
30
30
H
H
H
H
H
H
H
3
4
0
0
0
2
33
34
30
30
30
32
H
H
H
H
H
H
4
0
0
0
to
M100 M131
Device
code
Number of
device points
00
00
90
02
00
H
H
H
H
H
12
02
00
H
H
H
H
2
0
2
0
M108 M123
M116 M131
to
to
Number of device points
0
1
0
0
0
0
0
30
31
30
30
30
30
30
H
H
H
H
H
H
H
2
0 = OFF
1 = ON
M116
0
0 = OFF
1 = ON
M124
2
32
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents