Siemens SIMATIC STEP 7 V5.2 Getting Started page 70

Table of Contents

Advertisement

Downloading and Debugging the Program
7.4
Testing the Program with the Variable Table
You can test individual program variables by monitoring and modifying them. The
requirement for this is that you have established an online connection to the CPU,
the CPU is in RUN-P mode, and the program has been downloaded.
As with testing with program status, you can monitor the inputs and outputs in
Network 1 (series circuit or AND function) in the variable table. You can also test
the comparator for the engine speed in FB1 by presetting the actual speed.
Creating the Variable Table
7-8
The starting point is the SIMATIC
Manager again with the open project
window "Getting Started Offline."
Navigate to the Blocks folder and click
in the right half of the window with the
right mouse button.
Use the right mouse button to insert a
Variable Table from the pop-up menu.
Apply the default settings by closing
the "Properties" dialog box with OK.
Alternatively, you can assign a symbol
name to the variable table and enter a
symbol comment.
A VAT1 (variable table) is created in
the Blocks folder.
Double-click to open VAT1; the
"Monitoring and Modifying Variables"
window will open.
STEP 7 Getting Started
A5E00171228-01

Advertisement

Table of Contents
loading

Table of Contents