EasyManuals Logo
Home>Omron>Controller>NJ Series

Omron NJ Series User Manual

Omron NJ Series
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #252 background imageLoading...
Page #252 background image
6-65
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-3 Variables
6
6-3-12 Restrictions on Variable Names and Other Program-related Names
The following is a list of restrictions on program-related names.
* For UTF-8, single-byte alphanumeric characters each use 1 byte. Multibyte characters each use more than 1
byte. Japanese characters require approximately 3 bytes.
An error is detected during the program check for the following names.
A name that is the same as any of the instructions that are described in NJ-series Instructions Refer-
ence Manual (Cat. No. W502)
A name that is the same as any of the instructions that are described in NJ-series Motion Control
Instructions Reference Manual (Cat. No. W508)
Words that are reserved by the system
6-3-12 Restrictions on Variable Names and Other Program-related
Names
Character Restrictions
Program-related
name
Applicable characters
Reserved
words
Multibyte
character
compatibil-
ity
Case
sensitiv-
ity
Maximum
size (not
including
NULL)
Charac-
ter
encoding
Variable name
(including POU
instance names)
Usable characters
0 to 9, A to Z, and a to z
Single-byte kana
_ (underlines)
Multibyte characters (e.g., Japa-
nese)
Refer to Reserved Words below
for a list of the reserved words.
Characters that cannot be used
together
A text string that starts with a
number (0 to 9)
Strings that start with “P_”
A text string that starts in an
underline (_) character
A text string that contains more
than one underline (_) character
A text string that ends in an
underline (_) character
Any text string that consists of
an identifier and has a prefix or
postfix which contains more
than one extended empty space
character (i.e., multi-byte spaces
or any other empty Unicode
space characters)
Refer to
Reserved
Words
below.
Supported. Not case
sensitive.
127 bytes UTF-8*
POU definition
names
Data type
Structure member
names and union
member names
Enumerators
Task names 63 bytes
Namespaces 93 bytes
Full paths of vari-
able names
Network vari-
able: 255
bytes
Other: 511
bytes
Device names 127 bytes
Section names Case
sensitive.
Axis names Not case
sensitive.
Axes group names
Cam table names
Reserved Words

Table of Contents

Other manuals for Omron NJ Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ Series and is the answer not in the manual?

Omron NJ Series Specifications

General IconGeneral
BrandOmron
ModelNJ Series
CategoryController
LanguageEnglish

Related product manuals