EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 142

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...
140
9 LABEL ACCESS
9.2 Batch Read and Write
Communication example (Abbreviate with structure type array)
Read the following data from the structure label 'Typ1', which has the array type element.
8 bytes from Typ1.led[2]
4 bytes from Typ1.No[1]
The notation of each label when using abbreviation specification (Typ1= %1) is as follows.
(1)Typ1
(2)Typ1.led[2]
(3)Typ1.No[1]
Data communication in ASCII code
(Request data)
In the figure (1) to (3), set the value of "ASCII code" indicated in the table of "Value of code corresponds to character" of each
label.
(Response data)
Item Value of code corresponds to character
Label name T y p 1
UTF-16 0054 0079 0070 0031
ASCII code 30303534 30303739 30303730 30303331
Binary code 5400 7900 7000 3100
Item Value of code corresponds to character
Abbreviated notation % 1 . l e d [ 2 ]
UTF-16 0025 0031 002E 006C 0065 0064 005B 0032 005D
ASCII code 30303235 30303331 30303245 30303643 30303635 30303634 30303542 30303332 30303544
Binary code 2500 3100 2E00 6C00 6500 6400 5B00 3200 5D00
Item Value of code corresponds to character
Abbreviated notation % 1 . N o [ 1 ]
UTF-16 0025 0031 002E 004E 006F 005B 0031 005D
ASCII code 30303235 30303331 30303245 30303445 30303646 30303542 30303331 30303544
Binary code 2500 3100 2E00 4E00 6F00 5B00 3100 5D00
30
H
34
H
31
H
41
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
32
H
30
H
30
H
30
H
31
H
0000000A14002001
30
H
31
H
30
H
30
H
30
H
30
H
30
H
34
H
40000010
30
H
30
H
30
H
34
H
(1)4000
30
H
30
H
30
H
39
H
(2)
(3)
9000
30
H
31
H
30
H
30
H
0010
30
H
30
H
30
H
38
H
8000
30
H
30
H
30
H
38
H
8000
Subcommand Array points
Number of abbreviated points
Label name length
Label name
Abbreviation specification
Unit specification
(Fixed value)
Array data length
Label name length Label name
Label name length Label name
Unit specification
(Fixed value)
Array data length

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals