Mitsubishi Electric MELSEC IQ-R series Reference Manual page 141

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

Advertisement

Communication example (Byte specification)
For one-dimensional array type label 'Lbl', read 5-word data from Lbl [2].
■Data communication in ASCII code
(Request data)
Subcommand
0
4
1
A
0
0
0
0
30
34
31
41
30
30
30
30
H
H
H
H
H
H
H
H
In the figure (1), set the value of "ASCII code" indicated in the following table.
(1) Lbl[2]
Item
Value of code corresponds to character
Label name
L
b
UTF-16
004C
0062
ASCII code
30303443
30303632
(Response data)
Data
Unit
Array points
type ID
specification
0
0
0
1
0
2
0
1
30
30
30
31
30
33
30
31
H
H
H
H
H
H
H
H
■Data communication in binary code
(Request data)
Array
Abbreviation
points
Subcommand
specification
1A
04
00
00
01
00
00
00
H
H
H
H
H
H
H
H
(Response data)
Unit specification
Array
Data
Array data
points
type ID
length
01
00
02
01
0A
00
44
00
H
H
H
H
H
H
H
H
Array data (Array one point)
Array points
Abbreviation specification Label name length
0
0
0
1
0
0
0
0
30
30
30
31
30
30
30
30
H
H
H
H
H
H
H
H
l
[
2
006C
005B
0032
30303643
30303542
30303332
Array data length
0
0
0
A
0
0
4
4
30
30
30
41
30
30
34
34
H
H
H
H
H
H
H
H
Array data (Array one point)
Label name
Label name
length
L
b
l
06
00
4C
00
62
00
6C
00
H
H
H
H
H
H
H
H
Array specification (Array one point)
Read data
61
00
74
00
61
00
31
00
H
H
H
H
H
H
H
H
Label name Unit specification (Fixed value)
0
0
0
6
(1)
30
30
30
36
30
H
H
H
H
Array specification (Array one point)
]
005D
30303544
Read data
0
0
6
1
0
0
7
4
30
30
36
31
30
30
37
34
H
H
H
H
H
H
H
H
(Fixed value)
Unit
Array data
specification
length
[
2
]
5B
00
32
00
5D
00
01
00
H
H
H
H
H
H
H
H
Array data length
0
1
0
0
0
0
0
A
31
30
30
30
30
30
41
H
H
H
H
H
H
H
H
0
0
6
1
0
0
3
1
30
30
36
31
30
30
33
31
H
H
H
H
H
H
H
H
0A
00
H
H
9 LABEL ACCESS
9.2 Batch Read and Write
9
139

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents