74
4-1
Variables Used for Data Processing
4-1-1
Arrays
The CJ2 and other traditional PLCs use Data Memory Area as a memory area for data
processing and storage.
The NX1P does not have Data Memory Area and uses variables as memory used for data
processing.
Arrays
All_Data[n] shown above is called an “array”.
The elements of an array are expressed by adding a [subscript] to the name of the variable
that represents the entire array.
An element expressed by “variable name [subscript]” (e.g., All_Data[3]) is used as a
variable in programs.
Only one data type can be set for an array variable.
One name can be used for multiple variables, making the program easy to understand and
read.
Summary of Contents for NX1P
Page 106: ...2017 0917 0917 P122 E1 01...