Mitsubishi Electric MELSEC Q Series Programming Manual page 30

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

Advertisement

3 HANDLING OF CHARACTERS AND NUMERIC VALUES IN ST PROGRAMS
3 - 6
Precaution for use of the specification numbers of the array elements
When an array has n elements, the specification numbers of the array elements
are 0 to n-1. Hence, if n or more is specified, an error will occur at the time of
conversion.
Example: When an array has four elements
Unit price [4]: = 100;
Precaution for use of arrays in the specification number of the array element
Arrays can be used in the specification number of the array element. Up to five
arrays can be nested. Using 17 or more arrays will result in a conversion error.
Example: When five arrays are nested
Unit price [Unit price [Unit price [Unit price [Unit price [D1]]]]] = 100;
Precaution for setting the specification number of the array element
Since there is a possibility that the data of the other devices may be corrupted,
be careful so that the value specified as the array element number does not
exceed the number of array elements.
Precaution for setting the number of array elements
Enter the number of elements on the global (local) variable setting screen. The
number of elements that can be entered is 256.
Error occurs.
3 - 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents