EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 116

Mitsubishi Electric MELSEC iQ-R Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
114
8 DEVICE ACCESS
8.4 Batch Read and Write Multiple Blocks
Communication example
Read values from device as follows. (Subcommand: for MELSEC-Q/L series)
Data communication in ASCII code
(Request data)
(Response data)
Item Content to be read
Word device Block 1: D0 to D3 (4 points)
Block 2: W100 to W107 (8 points)
Bit device Block 1: M0 to M31 (2 points)
Block 2: M128 to M159 (2 points)
Block 3: B100 to B12F (3 points)
0406
30
H
34
H
30
H
36
H
000
30
H
30
H
30
H
002
30
H
30
H
32
H
03
30
H
33
H
D
44
H
*00
2A
H
30
H
30
H
000
30
H
30
H
30
H
0
30
H
0
30
H
004
30
H
30
H
34
H
W
57
H
*00
2A
H
30
H
30
H
010
30
H
31
H
30
H
0
30
H
0
30
H
008
30
H
30
H
38
H
M
4D
H
*00
2A
H
30
H
30
H
000
30
H
30
H
30
H
0
30
H
0
30
H
002
30
H
30
H
32
H
M
4D
H
*00
2A
H
30
H
30
H
012
30
H
31
H
32
H
8
38
H
0
30
H
002
30
H
30
H
32
H
B
42
H
*00
2A
H
30
H
30
H
010
30
H
31
H
30
H
0
30
H
0
30
H
003
30
H
30
H
33
H
Number of word
device blocks
Number of bit
device blocks
Subcommand
Device
code
Device
code
Device number
Number of
device points
Device number
Number of
device points
Device
code
Device
code
Device number
Number of
device points
Device number
Number of
device points
Device
code
Device number
Number of
device points
0
30
H
008
30
H
30
H
38
H
203
32
H
30
H
33
H
0
30
H
1
31
H
545
35
H
34
H
35
H
280
32
H
38
H
30
H
0
30
H
0
30
H
970
39
H
37
H
30
H
013
30
H
31
H
33
H
1
31
H
D0 D1 D2 D3 W100 W107
2
32
H
030
30
H
33
H
30
H
484
34
H
38
H
34
H
9
39
H
C
43
H
3DE
33
H
44
H
45
H
2
0
20 03
010 000000000011
80
32
H
38
H
30
H
0
30
H
0
30
H
970
39
H
37
H
30
H
B
42
H
9AF
39
H
41
H
46
H
B
42
H
9AF
39
H
41
H
46
H
M15 M0 M31 M16 M143 M128 M159 M144 B10F B100 B11F B110 B12F B120
M15 M0
0=OFF
1=ON
Word device
Data in the first block
Word device
Data in the second block
to
to to
to
to to to to to
Bit device
Data in the first block
Bit device
Data in the second block
Bit device
Data in the third block
M15 Bit order of M0

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals