Mitsubishi Electric MELSEC IQ-R series Reference Manual page 120

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

Advertisement

Communication example
Write values to devices as follows. (Subcommand: for MELSEC-Q/L series)
■Data communication in ASCII code
(Request data)
1
4
0
6
31
34
30
36
H
H
H
H
Device
code
Device number
D
*
0
0
44
2A
30
30
H
H
H
H
Device
code
Device number
W
*
0
0
57
2A
30
30
H
H
H
H
Device
code
Device number
M
*
0
0
4D
2A
30
30
H
H
H
H
Device
code
Device number
M
*
0
0
4D
2A
30
30
H
H
H
H
Device
code
Device number
B
*
0
0
42
2A
30
30
H
H
H
H
8 DEVICE ACCESS
118
8.4 Batch Read and Write Multiple Blocks
Number of word
Number of bit
device blocks
device blocks
Subcommand
0
0
0
0
0
2
0
30
30
30
30
30
32
30
H
H
H
H
H
H
H
Number of
device points
0
0
0
0
0
0
0
30
30
30
30
30
30
30
34
H
H
H
H
H
H
H
Number of
device points
0
1
0
0
0
0
0
30
31
30
30
30
30
30
38
H
H
H
H
H
H
H
Number of
device points
0
0
0
0
0
0
0
30
30
30
30
30
30
30
32
H
H
H
H
H
H
H
Number of
device points
0
1
2
8
0
0
0
30
31
32
38
30
30
30
32
H
H
H
H
H
H
H
Number of
device points
0
1
0
0
0
0
0
30
31
30
30
30
30
30
33
H
H
H
H
H
H
H
3
33
H
Write data
4
0
0
0
8
2
30
30
30
38
32
H
H
H
H
H
to
D0
Write data
0
9
7
0
0
8
30
39
37
30
30
H
H
H
H
H
to
W100
Write data
4
8
2
2
0
3
0
32
38
34
32
30
33
30
H
H
H
H
H
H
H
to
to
M15
M0
M31
Write data
2
C
3
D
E
2
8
43
33
44
45
32
38
30
H
H
H
H
H
H
H
to
to
M143
M128
M159
Write data
3
0
9
7
0
B
30
39
37
30
42
H
H
H
H
H
to
to
B10F
B100
B12F
B
9
A
1
0 1 1
1 0 0 1 1 0 1 0
to
B12F
8
0
0
38
30
30
H
H
H
H
D3
1
3
1
31
33
31
H
H
H
H
W107
4
9
39
H
H
M16
0
0
30
H
H
M144
9
A
F
39
41
46
H
H
H
H
to
B120
F
0 = OFF
1 1 1 1
1 = ON
B120

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents