
9/13/2005
Programming the SMLC
93
CoDeSys - Adding a visualization - Editing a pushbutton
•
Select the Input
Category
•
Check the Tab
variable input and in
the text box type a ‘.’
to get the popup list.
•
The list shows all
global variables in our
program.
•
Select gbResetPB
•
In visualizations you
should leave the ‘.’ in
front of the variable.
•
A Tap variable is TRUE as long as you are clicking on the button.
•
You can also access variables in PLC_PRG by typing PLC_PRG followed
by the ‘.’