7-3
Primer: S7-300 Programmable Controller, Quick Start
C79000-G7076-C500-01
The following prerequisites must be fulfilled before you can download the
user program to your S7-300:
S There must be an online connection between your programming device
and your S7-300.
S The program to be downloaded must have been compiled without errors.
S The CPU of your S7-300 must be in the STOP state.
To test individual blocks, you must always load OB1 with all the blocks
called in it. These blocks must be in reverse call order.
For the TLIGHT sample
program, download the FC1 you
have created and the OB1 to your
CPU.
The table below shows you the procedure for downloading your user
program:
Step Procedure Result
1.
Select FC1 and OB1 in the project window of
the SIMATIC Manager (offline view) in the
“Blocks” container while holding the SHIFT key
down, and select the menu command PLC →
Download.
Both blocks are downloaded to the CPU of your
S7-300.
2.
Select the menu command View → Online and
open the containers of the TLIGHT project up to
“S7 Program” (online). Change the operating
mode of the CPU with the menu command PLC
→ Operating Mode...
Click on “Complete Restart” in the dialog box
which then appears, and then on “OK” and
“Close”.
The CPU goes to RUN via complete restart.
The TLIGHT sample program you have created
will now be executed cyclically.
Prerequisites
What to Load, and
Order of Calls
How Do You
Proceed?
Downloading and Testing Your User Program
How Do You Download the User Program to Your S7-300?