9/13/2005
Programming the SMLC
61
CoDeSys - Global Variables
•
Global variables are
declared in the Global
Variables section on the
Resources tab.
•
Global variables can be
seen by all POUs
•
Local variables can only be
seen within the POU in
which they are defined.
•
You can create a global
variable in the Auto Declare
dialog by changing the class
to VAR_GLOBAL before
hitting OK