Chapter 9 Label Access; Data To Be Specified In Commands; Labels - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

9
LABEL ACCESS
This section explains the commands to read and write devices using the standard global label of GX Works3.
The commands can be used when the connected station and request target is MELSEC iQ-R series module.
• Local labels and module labels cannot be accessed.
• The global labels set with GX Works2 cannot be accessed.
• Safety global labels, safety local labels, and standard/safety shared global labels of the safety CPU cannot
be accessed.
• Enable "Access from External Device" with the global label setting editor of GX Works3 at the time of label
access. (Disabled by default.)
9.1

Data to be Specified in Commands

This section explains the contents and specification methods for data items which are set in each command related to label
access.

Labels

Specify the global label name to be accessed.
The "Label name" is specified by variable length. Specify the length of character string by "Label name length". (Null is
unnecessary at the end of a label name character string.)
ASCII code
Label name length
Label name
(4 digits)
(Variable length)
Label name length
Specify the number of characters of a label name.
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
*1
Send 2-byte
numerical values from lower byte (L: bits 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Ex.
When the number of characters is three.
ASCII code
0
0
0
3
30
30
30
33
H
H
H
H
Binary code
Label name length
Label name
(2 bytes)
(Variable length)
Binary code
03
00
H
H
9 LABEL ACCESS
9.1 Data to be Specified in Commands
9
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents