Chapter 3
General Specifications
3.6
Local and global variables
[Local variable]
If new variable name is used in POU, Auto Declare window appears as below. If the field "Address" is remained as
empty, this variable will be assigned in a certain memory area of CPU.
Click [OK] button, this variable is registered in declaration part of POU as below.
This variable is valid only in the POU. Even if same variable name is used in another POU, Auto Declare window will
appear and it will be assigned in another memory location and handled as different variable.
3 – 19