Create variables using Quick declaration
Use
Quick declaration
to batch-create local or global variables. The following parameters are the same for variables created using Quick declaration
:- Prefix of the variable name
- Suffix of the variable name
- Data type
- String size
- Direction (available for the local variables of user-defined functions or user-defined function blocks)
To create variables using Quick declaration
- In the variable grid, right-click anywhere, and then selectQuick declaration.
- Configure the numbering, name, and attributes of the global or local variables.The created variables and their attributes appear in thePreviewgrid.
- SelectAdd.
Provide Feedback