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
  1. Open the global or local variable grid.
  2. In the variable grid, right-click anywhere, and then select
    Quick declaration
    .
  3. Configure the numbering, name, and attributes of the global or local variables.
    The created variables and their attributes appear in the
    Preview
    grid.
  4. Select
    Add
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal