Delta ISPSoft — 6.2.3 Principles of ARRAY or STRING Symbol

ISPSoft User Manual  Auto-close Dialog If users unselected the Auto-close Dialog checkbox, the Add Symbol window will not be closed automatically after OK is clicked. Please refer to section 2.3.1 for more information.  Insert When selected, the symbol variable declared here will be added on top of the symbol variables for selection in the symbol table; when not selected, it is added to the last row in the symbol table.  Declared in Global Symbol Table If users select the Define Global checkbox, you can click the drop-down list to find the Main Table and self-defined Global Symbol Table with the declared symbols in them.

However, if you are on the Main Table and self-defined Global Symbol Table, this option will not appear. 6.2.3 Principles of ARRAY or STRING Symbol  Symbol Variable - ARRAY If users want to use a symbol whose data type is ARRAY in a program, the expression format is Identifier[Index] . Generally speaking, the index is a decimal constant. If the programming language in a value must be 0, whether the index is a constant or a symbol. The maximum index value cannot be larger project for an AH/AS series CPU module is a structured text, the index can be a symbol. The minimum index than or equal to the number of elements in the array.

For example, if the number of elements in an array is 10, the index value must be within the range between 0 and 9. If the index is a symbol, the value of the symbol cannot be larger than the number of elements in the array. Otherwise, an error will occur during the operation. 6-28