Precautions On Assigning A Name - Mitsubishi Electric MELSEC Q Series Structured Programming Manual

Fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

4.8

Precautions on Assigning a Name

This section explains the conditions for assigning a name to a label, function block instance, or
structure label.
• Conditions
(1) Specify a name within 32 characters.
(2) Do not use reserved words.
For reserved words, refer to the following section.
Appendix 2 Character Strings that cannot be Used in Label Names and Data Names
(3) Use alphanumeric and underscores (_).
(4) Do not use an underscore at the end of the name.
Do not use two or more underscores in succession.
(5) Do not use spaces.
(6) Do not use a number for the initial character.
(7) Constants cannot be used.
(An identifier that begins with 'H' or 'h' and an expression where a hexadecimal (0 to F)
immediately follows 'H' or 'h' (maximum 9 digits including 'H' or 'h' (excluding 0 that
immediately follows 'H' or 'h')) are also treated as a constant. (Example: 'hab0'))
(8) Elementary data type names cannot be used.
(9) Function/FB names cannot be used.
4.8 Precautions on Assigning a Name
4
4-57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l seriesMelsec-f

Table of Contents