Mitsubishi Electric MELSEC IQ-R series Reference Manual page 153

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

Advertisement

Communication example
Write data to three labels.
• Lbl1 (bit type) = 1 (ON)
• Lbl2.Lbl[2] (word type array element of structure label) = 0031H
• Lbl3 (word type) = 0001H
The notation of each label when using abbreviation specification (Lbl2 = %1) is as follows.
(1) Lbl2 (abbreviation specification)
Item
Value of code corresponds to character
Label name
L
UTF-16
004C
ASCII code
30303443
Binary code
4C00
(2) Lbl1
Item
Value of code corresponds to character
Label name
L
UTF-16
004C
ASCII code
30303443
Binary code
4C00
(3) Lbl2.Lbl[2]
Item
Value of code corresponds to character
Abbreviated notation
%
UTF-16
0025
ASCII code
30303235
Binary code
2500
(4) Lbl3
Item
Value of code corresponds to character
Label name
L
UTF-16
004C
ASCII code
30303443
Binary code
4C00
b
l
2
0062
006C
0032
30303632
30303643
30303332
6200
6C00
3200
b
l
1
0062
006C
0031
30303632
30303643
30303331
6200
6C00
3100
1
.
L
0031
002E
004C
30303331
30303245
30303443
3100
2E00
4C00
b
l
3
0062
006C
0033
30303632
30303643
30303333
6200
6C00
3300
b
l
[
0062
006C
005B
30303632
30303643
30303542
6200
6C00
5B00
9.3 Random Read and Write
2
]
0032
005D
30303332
30303544
3200
5D00
9 LABEL ACCESS
151
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents