EasyManua.ls Logo

Omron NJ Series

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
Loading...
A-113
Appendices
NJ-series CPU Unit Software User’s Manual (W501)
A-10 Size Restrictions for the User Program
App
A-10-1 User Program Object Restrictions
*1 The NULL character at the end must be counted. Therefore, there are 1,985 single-byte characters in a
string that has a size of 1,986 bytes.
Data type definitions are subject to the following restrictions.
*1 Refer to Number of Data Type Definitions on page A-115 for information on counting data types.
The constants (literals) are subject to the following restrictions.
Restriction
CPU Unit model
NJ501- NJ301-
Maximum number of elements per array 65,535 65,535
Maximum number of dimensions in an array 3 3
Maximum value of a subscript (element number) for an
array
65,535 65,535
Maximum size in bytes
*1
of a string variable
1,986 1,986
Restrictions to Data Type Definitions
Restriction
CPU Unit model
NJ501- NJ301-
Maximum number
*1
of data type definitions
2,000 1,000
Maximum number of levels in a structure defi-
nition
88
Maximum number of members in a structure
definition
2,048 2,048
Maximum number of members in a union defi-
nition
44
Maximum number of enumerators in an enu-
meration definition
2,048 2,048
Restrictions to Constants (Literals)
Restriction
CPU Unit model
NJ501- NJ301-
Maximum size in bytes of a constant (literal) 1,985 1,985

Table of Contents

Other manuals for Omron NJ Series

Related product manuals