Chapter 3 Programming
3 – 13
[Local variable]
Local variables are defined in each POU and valid only in the POU.
If new variable name is used in the first time, Auto Declare window will appear as below. In this window, there is the
input field “Address”. Enter I/O address in this field according to data types. If it is remained as blank, the variable
will be mapped in memory area.
After clicking [OK] button, declared information is added automatically as below.
Declaration field