Abbreviation Specification Of Label - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Abbreviation specification of label

Abbreviation specification can be used when specifying a structure type label as an access target.
When a label name or a structure member name is specified by the abbreviation specification, the character string specified
as a "label name" can be simplified using "%n" (n: offset value).
Ex.
When a structure type label name 'LabelA' and its structure member name 'memberA3' is specified as abbreviation
specification, they can be abbreviated as follows.
(LabelA= %1, memberA3= %2)
Actual label name
LabelA.memberA1
LabelA.memberA2
LabelA.memberA3.memberB1
LabelA.memberA3.memberB2
When do not abbreviate labels
Specify '0'.
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
When abbreviate labels
Specify the points to be specified and label name.
Label names can be abbreviated ('%1' to '%n') as an offset value (1 to n) in the specified order.
Label points
Label name length
(n points)
Label specification (1st point)
The character strings that include a dot (.) cannot be abbreviated. Abbreviate character string in a label name or member
name unit.
The label name and member name of the array type cannot be abbreviated.
Ex.
The example that cannot be abbreviated is as follows:
Actual label name
LabelA.memberA3.memberB1
LabelA.memberA4[1].memberB1
■Label points
Specify the label points which abbreviate a label names by abbreviation specification. (Page 131 Points)
■Label specification
Specify the following items for each label for the points specified by label points. (Page 125 Labels)
• Label name length: Specify the number of characters of a label name or structure member name.
• Label name: Specify a global label name or a structure member name.
Ex.
When a structure type label name 'LabelA' and its structure member name 'memberA3' is specified as abbreviation
specification
Abbreviated label name
%1.memberA1
%1.memberA2
%1.%2.memberB1
%1.%2.memberB2
Binary code
00
00
H
H
Label name
String that cannot be abbreviated
"LabelA.memberA3.memberB1", "LabelA.memberA3"
"memberA4", "memberA4[1]"
Label name
Label name
length
Label specification (nth point)
String that can be abbreviated
'LabelA', 'memberA3', 'memberB1'
"LabelA", "memberB1"
9.1 Data to be Specified in Commands
9 LABEL ACCESS
129
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents