Mitsubishi Electric MELSEC iQ-R Series User Manual page 182

Programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Specification method for label names
The following shows the specification method for accessible label names.
Label type
*1
Label
of a simple data type
*1
Element specification
of an
array label
*1
Member
of a structure label
*1
Array member
of a structure
label
Label of timer type, retentive timer
type, and counter type
*1 Cannot be accessed by the following specification:
Label type
Bit specification of a label
Digit specification of a label
Label of array specified type
Label of structured type
17 LABEL COMMUNICATION FUNCTION
180
Specification method
Specify the label name.
Specify in the following format:
• One-dimensional array: Label name [m]
• Two-dimensional array: Label name [m, n]
• Three-dimensional array: Label name [m, n, l]
Specify in the following format:
Label name.Element name. to Element name
Specify in the following format:
Label name.Element name [m]
Specify in the following format:
• Contact: Label name.S
• Coil: Label name.C
• Current value: Label name.N
Description
Bit cannot be specified for a label name.
Digits cannot be specified for a label name.
A label name cannot be specified for the element number of
an array.
The label name of a structured type that is not the end
member cannot be specified.
Specifying a label which has the following conditions is not
available: a device is manually assigned and the label type
is a structured type which has a member of a structured
type label.
Specification example
Label1
• One-dimensional array: Label1 [10]
• Two-dimensional array: Label2 [10, 20]
• Three-dimensional array: Label3 [10, 20, 30]
Str1.Elem1. to Elem3
Str1.Elem [10]
• Contact: Label1.S
• Coil: Label2.C
• Current value: Label3.N
Specification example
Label1.3
K4Label1
• Label1 [Str1]
• Label1 [Str1, Str2]
• Label1 [Str1, Str2, Str3]
■When defining the structure label 'Str1' and defining
'Elem1' and 'Elem2' for members
Specifying only 'Str1' is not available.
To specify the structured type label, specify 'Str1.Elem1' or
'Str1.Elem2.'
Str1.Elem1.Elem2
(Only for a label to which a device is manually assigned)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r melsecwincpu

Table of Contents