Download STEP 7 - Working With STEP 7 PDF

TitleSTEP 7 - Working With STEP 7
TagsComputer Program Programmable Logic Controller Variable (Computer Science) Data Type
File Size1.8 MB
Total Pages108
Table of Contents
                            Title
Welcome to STEP 7...
Contents
1.  Introduction to STEP 7
	1.1  What You Will Learn
	1.2  Combining Hardware and Software
	1.3  Basic Procedure Using STEP 7
	1.4 Installing STEP 7
2.  The SIMATIC Manager
	2.1  Starting the SIMATIC Manager and Creating a Project
	2.2  The Project Structure in the SIMATIC Manager and How to Call the Online Help
	F1
3.  Programming with Symbols
	3.1 Absolute Addresses
	3.2  Symbolic Programming
4.  Creating a Program in OB1
	4.1  Opening the LAD/STL/FBD Program Window
	4.2  Programming OB1 in Ladder Logic
	4.3  Programming OB1 in Statement List
	4.4  Programming OB1 in Function Block Diagram
5.  Creating a Program with Function Blocks and Data Blocks
	5.1  Creating and Opening Function Blocks (FB)
	5.2  Programming FB1 in Ladder Logic
	5.3  Programming FB1 in Statement List
	5.4  Programming FB1 in Function Block Diagram
	5.5  Generating Instance Data Blocks and Changing Actual Values
	5.6  Programming a Block Call in Ladder Logic
	5.7  Programming a Block Call in Statement List
	5.8  Programming a Block Call in Function Block Diagram
6.  Configuring the Central Rack
	6.1 Configuring Hardware
7.  Downloading and Debugging the Program
	7.1  Establishing an Online Connection
	7.2  Downloading the Program to the Programmable Controller
	7.3  Testing the Program with Program Status
	7.4  Testing the Program with the Variable Table
	7.5  Evaluating the Diagnostic Buffer
8.  Programming a Function
	8.1  Creating and Opening Functions (FC)
	8.2  Programming Functions
	8.3  Calling the Function in OB1
9.  Programming a Shared Data Block
	9.1  Creating and Opening Shared Data Blocks
10.  Programming a Multiple Instance
	10.1 Creating and Opening a Higher-Level Function Block
	10.2 Programming FB10
	10.3 Generating DB10 and Adapting the Actual Value
	10.4 Calling FB10 in OB1
11.  Configuring the Distributed I/O
	11.1 Configuring the Distributed I/O with PROFIBUS DP
Appendix A
	Overview of the Sample Projects for the Getting Started Manual
Index
	A
	B
	C
	D
	E
	F
	H
	I
	L
	M
	N
	O
	P
	R
	S
	V
Remarks Form
                        
Document Text Contents
Page 1

Important Notes, Contents

Introduction to STEP 7

The SIMATIC Manager

Programming with Symbols

Creating a Program in OB1

Creating a Program with
Function Blocks and
Data Blocks

Configuring the Central Rack

Downloading and Debugging
the Program

Programming a Function

Programming a Shared
Data Block

Programming a Multiple
Instance

Configuring the Distributed I/O

Appendix

Overview of the Sample
Projects for the
Getting Started Manual

Index

SIMATIC

Working with STEP 7 V5.1

Getting Started

This manual is part of the documentation
package with the order number :
6ES7 810-4CA05-8BA0

Edition 08/2000
A5E00069681-03

1

2

3

4

5

6

7

8

9

10

11

A

Page 54

Creating a Program with Function Blocks and Data Blocks

5-18 STEP 7 Getting Started
A5E00069681-03

5.8 Programming a Block Call in Function Block Diagram

All the work you have done programming a function block is of no use unless you
call this block in OB1. A data block is used for each function block call, and in this
way, you can control both engines.

The SIMATIC Manager is open with
your "Getting Started" project.

Navigate to the Blocks folder and
open OB1.

Insert Network 4 in the LAD/STL/FBD
program window. The navigate in the
Program Elements catalog until you
reach FB1 and insert this block.

All the engine-specific input and output
variables are displayed.

Click the ??? sign above "Engine" and
then, keeping the cursor in the same
position, click in the input frame with
the right mouse button.

Select Insert Symbol in the pop-up
menu using the right mouse button. A
pull-down list will appear. The first time
you do this, the procedure may take
some time.

OB1

Call

DB1
Petrol Engine

Data

DB2
Diesel Engine

Data

FB1
"Engine"

Similer Documents