Technical data
Testing with the Variable Table
20.8 Forcing Variables
Programming with STEP 7
464 Manual, 05/2010, A5E02789666-01
Using Forcible Addresses from the Variable Table
If you want to enter a variable from a variable table in the force value window, select the table and
the required variable. Next, call menu command Variable > Force values to open the force value
window. The variables a module can force will be entered in the force value window.
Using the Force Job from the CPU or Setting Up a New Force Job
If the "Force Values" window is open and active, another message is displayed:
• If you confirm it, the changes in the window are overwritten with the force job existing on the
CPU. You can restore the previous window contents with the menu command Edit > Undo.
• If you cancel it, the current contents of the window are retained.
You can then save the contents of the "Force Values" window as a variable table using the
menu command Table > Save As or select the menu command Variable > Force: this writes
the current contents of the window to the CPU as the new force job.
Monitoring and modifying variables is only possible in the variable table and not in the "Force
Values" window.
Deleting Force Values
Call menu command Variable > Display Force Values to open the force value window. next, you
can call menu command Variable > Delete Force to delete the force values from the selected
CPU.
Saving a Force Values Window
You can save the contents of the force values window in a variable table. Using the Insert >
Variable Table menu command, you can reinsert the saved contents in a force values window.
Notes on Symbols in the Force Values Window
The symbols in the last active window are entered except if you opened the "Monitoring and
Modifying Variables" application from another application which has no symbols.
If you cannot enter symbolic names, the "Symbol" column is hidden. The menu command Options
> Symbol Table is deactivated in this case.