Variable declaration: Where and how?
You can declare variables at the following locations:
• Declaration part of a POU The Auto Declare [1015] dialog helps you with this.
• Variable lists (GVL editor, NVL editor)
• I/O mapping configuration of an I/O device object.