Step: Linking Blocks To The User Program - Siemens Simatic S7-300 31xC Series Getting Started Manual

Positioning with digital output
Table of Contents

Advertisement

Learning units

3.4 4. Step: Linking blocks to the user program

8. When the CPU is in STOP, select "PLC > Download to module ..." to download the
9. Close HW Config with "Station > Close".
3.4
4. Step: Linking blocks to the user program
Procedure
1. Open the project "ZDt26_03_TF_____31xC_Pos" in the catalog ...
2. Double-click on the S7 program "Digital 1 First Steps".
3. Double-click on the "Blocks" container.
4. Copy all blocks from this folder to your project under "SIMATIC 300 Station > CPU 3xx >
5. In SIMATIC Manager, select "SIMATIC 300 Station > CPU 3xx > S7 Program > Blocks".
6. Download all of the S7 blocks it contains via "PLC > Download to your CPU" (CPU in
16
configuration.
The data are now downloaded from the PG to the CPU.
You are returned to SIMATIC Manager.
\Siemens\STEP7\Examples via "File > Open ... > Sample projects" in SIMATIC Manager.
A window, divided into two sections, opens showing the title of the project.
The "Sources", "Blocks" and "Symbols" folders are displayed in the right-hand window.
All blocks of the S7 program are displayed.
S7 Program > Blocks".
Block
Name (in the toolbar)
OB 1
CYCLE_EXC
OB 100*
COMPLETE RESTART
FC 1
GETST_A
SFB 46
DIGITAL
DB 6
DI_DIGITAL
VAT_GETST_A
VAT_GETST_A
* Adjust the values for the switchover and shutdown difference in the block COMPLETE
RESTART (OB 100).
All blocks of the S7 program are displayed.
STOP mode).
The program and configuration are downloaded from the PG to the CPU.
Description
Cyclic program
Complete restart: Reset the control signals
Getting Started DIGITAL
System function block POS DIGITAL
Instance DB for the SFB DIGITAL
Variable table
First Steps in Commissioning CPU 31xC: Positioning with digital output
Getting Started, 08/2011, A5E00105533-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents