Siemens Simatic S7-300 Erste Schritte - Seite 29

Blättern Sie online oder laden Sie pdf Erste Schritte für Industrielle Ausrüstung Siemens Simatic S7-300 herunter. Siemens Simatic S7-300 32 Seiten. Automation systems, controlling a physical axis
Auch für Siemens Simatic S7-300: Benutzerhandbuch (34 seiten), Handbuch (21 seiten), Betriebsanleitung (4 seiten), Betriebsanleitung (5 seiten), Handbuch (35 seiten), Erste Schritte (8 seiten), Erste Schritte (16 seiten), Beschreibung der Anwendung (24 seiten), Handbuch (18 seiten), Handbuch (32 seiten), Installations- und Hardware-Handbuch (20 seiten)

Siemens Simatic S7-300 Erste Schritte
3.11

10. Step: Controlling the axis with the STEP 7 user program

Procedure
Step
Activity
1
In SIMATIC Manager, open the sample project
"\Examples\PROJECT-CPU317T". Copy the blocks listed
below to your project:
OB1
FB 100 (SimplePositioning)
FB401 (MC_Power)
FB402 (MC_Power)
FB405 (MC_Halt)
FB410 (MC_MoveAbsolute)
DB 100 (IDB_SimplePositioning)
AxisData (variable table for axis control)
Confirm the message "The object 'OB1' already exists. Do
you want to overwrite it?" with "Yes".
Also copy the inputs (I), outputs (O) and flags (F) from the
example symbol table to the project, so that the symbols are
displayed completely in the variable table.
Important: The sample program does not contain DB 1 to
DB 4! Create these technology DBs in STEP 7 (see the step
"Creating the technology DBs"), in order to maintain
consistency between the user program and the technology
objects.
2
Double-click the FB 100 if you want to edit the program
example.
3
Select these settings:
View > LAD,
View > Overviews, and
View > Details.
4
Load the entire user program to the CPU selecting Target
system > Download user program to memory card in the
SIMATIC Manager.
5
Confirm the message box with "Yes".
CPU 317T-2 DP: Controlling a physical axis
Getting Started, 03/2008, A5E00251786-05
3.11 10. Step: Controlling the axis with the STEP 7 user program
Result
The sample program is copied to the project.
The LAD/STL/FBD editor opens.
You have now opened an extended and
clear view for editing the STEP 7 user
program.
The STEP 7 user program is now stored in
the CPU. This download of your SDBs may
take longer (up to a few minutes), because
of their larger data volume.
Learning units
29