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