I basics S7 - Siemens

Automation? and Drive Technology- SCE

Training document for the company-wide automation solution

Totally Integrated Automation (T I A) Appendix I

Fundamentals of PLC programming with SIMATIC S7-300

T I A Training document Last revision: 02/2002

Page 1 of 45

Appendix I PLC ? Programming basics with SIMATIC S7-300

Automation? and Drive Technology- SCE

This document was provided by Siemens A&D SCE (automation and drive technology, Siemens A&D Cooperates with Education) for training purposes. Siemens does not make any type of guarantee regarding its contents.

The passing on or duplication of this document, including the use and report of its contents, is only permitted within public and training facilities.

Exceptions require written permission by Siemens A&D SCE (Mr. Knust: E-Mail: michael.knust@hvr.siemens.de). Offences are subject to possible payment for damages caused. All rights are reserved for translation, and any case of patenting or GM entry.

We thank the company Michael Dziallas Engineering and the instructors of vocational schools as well as further persons for the support with the production of the document.

T I A Training document Last revision: 02/2002

Page 2 of 45

Appendix I PLC ? Programming basics with SIMATIC S7-300

1.

2.

2.1 2.1.1 2.1.2

2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6

2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8

2.4

2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6

2.6 2.6.1

Automation? and Drive Technology- SCE

Forward ........................................................................................................

Function and Design of a PLC ......................................................................

Types of Signals in Control System Technology.......................................... Binary Signals ................................................................................................ Analog Signals................................................................................................

Number Systems........................................................................................... Decimal system.............................................................................................. Binary System................................................................................................ BCD - Code (8-4-2-1-Code)............................................................................... Hexadecimal Number System .......................................................................... Demonstration of the Number Systems ............................................................. Conversion Rules ............................................................................................

Terms from Computer Science ..................................................................... Bit .......................................................................................................... Byte .......................................................................................................... Word .......................................................................................................... Double-word .................................................................................................. Bit address..................................................................................................... Byte Address.................................................................................................. Word Address................................................................................................. Double-word Address.......................................................................................

Configuration of a PLC .................................................................................

Basic Function Modules of a PLC ................................................................. The CPU Module............................................................................................. The Bus System ............................................................................................. The Power Supply Module................................................................................ Program Memory ............................................................................................ RAM .......................................................................................................... Flash- EPROM ...............................................................................................

Automation System SIMATIC S7................................................................... SIMATIC S7-300 .............................................................................................

PAGE:

5

6

6 6 8

10 10 11 11 12 13 14

16 16 16 16 17 17 17 18 18

19

21 21 22 23 23 23 23

24 24

T I A Training document Last revision: 02/2002

Page 3 of 45

Appendix I PLC ? Programming basics with SIMATIC S7-300

2.7 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5

3.

3.1

3.2

3.3

3.4

3.5

3.6 3.6.1 3.6.2

3.7 3.7.1 3.7.2

3.8 3.8.1 3.8.2 3.8.3

3.9 3.9.1 3.9.2

Automation? and Drive Technology- SCE

Program Processing ..................................................................................... Program Memory ............................................................................................ Linear Program Processing .............................................................................. Structured Program Processing........................................................................ User Blocks.................................................................................................... System Blocks for Standard- and System Functions ..........................................

Programming Language STEP 7 ..................................................................

The Programming Language STEP 7 in General..........................................

Converting STEP 5 STEP 7.......................................................................

The Standard IEC 61131................................................................................

Directory Structure........................................................................................

Configuration and Parameterization ............................................................

Control Statement......................................................................................... Operation Part ................................................................................................ Operand Part ..................................................................................................

Addressing.................................................................................................... Symbolic Addressing....................................................................................... Absolute Addressing .......................................................................................

Program Description..................................................................................... Ladder Diagram LAD ....................................................................................... Function Block Diagram FBD........................................................................... Statement List STL .........................................................................................

Bit Memories................................................................................................. Retentive Bit Memory ..................................................................................... Non Retentive Bit Memory ...............................................................................

PAGE:

30 30 30 31 32 32

33

33

33

34

35

37

38 38 40

41 41 41

43 43 43 44

45 45 45

T I A Training document Last revision: 02/2002

Page 4 of 45

Appendix I PLC ? Programming basics with SIMATIC S7-300

Automation? and Drive Technology- SCE

1.

FORWARD

Appendix I is the requirement for the processing of the module of the theme Basics of STEP 7Programming.

Basics of STEP 7- Programming 2 - 3 days A modules

Additional functions of STEP 7- Programming 2- 3 days B modules

Industrial field bus system

2- 3 days D modules

Sequencer programming 2- 3 days C modules

Process visualization 2- 3 days F modules

IT- Communication with SIMATIC S7

1- 2 days E modules

Learning goal:

Programmable logic controllers (PLC in brief), are considered today as a principal item of automation. With these controllers, most diverse tasks of automation can be implemented depending on the definition of the problem.

These documents give you an overview of the automation system SIMATIC S7-300 and the appropriate programming software STEP 7.

Requirements: Since the basics are found within this appendix, no special requirements are necessary.

Forward

Function and design of a PLC

Program language STEP 7

T I A Training document Last revision: 02/2002

Page 5 of 45

Appendix I PLC ? Programming basics with SIMATIC S7-300

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download

To fulfill the demand for quickly locating and searching documents.

It is intelligent file search solution for home and business.

Literature Lottery

Related searches