EasyManua.ls Logo

Panasonic GM1

Panasonic GM1
650 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...
You can also use user-defined data types such as structure, enumeration, alias, and union. For
details, refer to "6.5.4 Structure, Enumeration, Alias, and Union Data T
ypes".
6.5.2 Array
GM Programmer allows the use of arrays.
Using arrays enables multiple data items to be used as a single variable.
This feature is useful when variables of the same type are handled collectively
.
Example: When one-dimensional array a1 with eight INT type data items is declared
and used in an ST program
Whether indexes are within the declared range can be automatically checked when variables in
an array are accessed. Use a POU for implicit checks that checks boundaries. For details, refer
to "10.7 POU for implicit checks
".
Using the array wizard for auto declaration enables array variables to be declared only by
entering index and base types. For details, refer to "6.2.3 Auto Declaration".
6.5.3 Subrange Types
GM Programmer allows the use of subrange types. Subrange types allow the user to specify
the range of values for standard data types.
The following is a declaration example of subrange type variables in character string format.
If an attempt is made to substitute an out-of-range value for a variable, an error will be
displayed during build.
6.5 Variables
WUME-GM1RTXOP-01 6-19

Table of Contents

Related product manuals