Use the declaration editor for:
assigning a program to a task
creating (DUTs)
declaring global variables
declaring local variables
declaring arrays
creating function block instances
Variables can also be declared very comfortably in the POU body (using LD/FBD, ST/IL or SFC) or in the Variables pane.
Checking your declarations frequently with
will help you to find errors at an early stage.