Arrays Grid
Use the
Arrays
grid of the Dictionary
to manage the arrays for a project. Perform these tasks from the Arrays grid:
Task | Procedure |
---|---|
Create an array |
|
Edit an existing array |
|
Delete an array |
|
Sort arrays in the grid |
|
Filter arrays in the grid | Filter arrays display on the Arrays tab of Data Types instance. When filtering, create a view displaying only the arrays containing specified characters. The filter row is the top row of the grid. Filter arrays by typing alphabetical and numerical characters in the cells of the filter row. Also select from the drop-down combo box. Matching arrays automatically display.
|
Properties for arrays are:
Property | Description | Possible Values |
---|---|---|
Name | Name of the array | Limited to 128 characters beginning with a letter or single underscore followed by letters, digits, and single underscores. The last character for an array name must be a letter or digit; array names cannot end with an underscore character. Reserved words, defined words, or data types such as, elementary, structures, or arrays are not valid names. Use unique names for the same type of elements within a scope. |
Data Type | Type of the array | BOOL, SINT, USINT, BYTE, INT, UINT, WORD, DINT, UDINT, DWORD, LINT, ULINT, LWORD, REAL, LREAL, TIME, DATE, STRING, User arrays, Structures |
Dimension | The dimension of the array | Example: [1..10] for a one dimensional array, [1..4,1..7], for a two dimensional array. The dimension is defined as a positive double integer (DINT) value.
TIP:
Dimension does not apply to function
block instances. Avoid setting Dimension for function block instances to
help prevent unexpected build results. |
Comment | Comment for the array | Plain text |
String Size | If Data Type is STRING, represents the length | String capacity is limited to 255 characters excluding the terminating null character (0), a byte for the current length of the string, and a byte for the maximum length of the string |
Customize the
Dictionary
environment by arranging the columns to display.Provide Feedback