9/13/2005
Programming the SMLC
104
CoDeSys - Adding I/O - global variables
•
By clicking on the AT before
each I/O point a box appears
where you can type in a variable
name.
•
Whatever you type here
automatically becomes a global
variable in your program.
•
Lets fill in the physical I/O points
that we’ve used in this sample
program.
•
Don’t forget to delete the global
declarations of these variables in
the Global Variables page or you
will get a compiler error for
duplicate definition.