Technical data

Tips and Tricks
26.6 Modifying Variables With the Program Editor
Programming with STEP 7
554 Manual, 05/2010, A5E02789666-01
26.6 Modifying Variables With the Program Editor
In the program editor, you can program buttons for binary inputs and memory bits that offer you a
quick and easy way to modify these addresses with mouse click.
Requirements
In the symbol table, you have assigned this property to the address you want to modify via the
menu command Special Object Properties > Control at Contact
You have selected the "Control at Contact" option in the "General" tab of the LAD/STL/FBD
program editor (Menu command Options > Customize).
You have selected the menu command Debug > Monitor.
Triggering condition is here "permanent/at the cycle start".
The inputs actually available in your plant will be monitored for as long as you keep the button
pressed. You can also modify multiple inputs via multiple selection (CTRL key).
In the case of bit memories or unavailable inputs, pressing the button will cause the status to be set
to 1. The status will only be reset to 0 if this is explicitly requested through a shortcut menu entry or
in the variable table, or if the address is reset by the STEP 7 program.
In the case of a non-negated input or bit memory, pressing the button will cause the modify value
"1" to apply; in the case of a negated input or bit memory, the modify value "0" will apply.
Note on WinCC
If you have started the program editor in WinCC via the operator control and monitoring of a
variable, only the control options of WinCC are allowed. Otherwise, if the operator has been
granted "Maintenance rights" of WinCC, both modify options are allowed.