
Getting Started - Beginners
Training Documents, 07/2007, A5E01031470B 5
Table of contents
Preface................................................................................................................................................... 3
1 Installing the hardware............................................................................................................................ 7
1.1 Assembly and Installation of the Hardware................................................................................. 7
1.2 Details of the S7-200 (CPU 222) ................................................................................................ 8
1.3 Wiring diagrams for the assembled hardware............................................................................. 9
2 Installing the software ........................................................................................................................... 13
2.1 Installing STEP 7-Micro/WIN for Getting Started - Beginners ................................................... 13
2.2 Starting STEP 7-Micro/WIN ...................................................................................................... 14
2.3 Using the Help system.............................................................................................................. 15
3 Basic settings........................................................................................................................................ 17
3.1 Connecting the communication cable ....................................................................................... 17
3.2 Configuring the S7-200 communication.................................................................................... 18
3.3 Performing the first function test ............................................................................................... 19
4 First programming exercise................................................................................................................... 21
4.1 Writing your first program ......................................................................................................... 21
4.2 Opening the first programming exercise ................................................................................... 22
4.3 Downloading the first exercise program to the CPU ................................................................. 23
4.4 Function and Test of the first exercise program........................................................................ 24
4.5 Elements of ladder logic (LAD) ................................................................................................. 25
4.6 Transforming a circuit diagram ................................................................................................. 26
4.7 Elements of the first exercise program...................................................................................... 27
4.8 Status view (online) .................................................................................................................. 28
4.9 Statements ............................................................................................................................... 29
5 More exercises ..................................................................................................................................... 31
5.1 First program modification ........................................................................................................ 31
5.1.1 AND logic operation.................................................................................................................. 31
5.1.2 Inserting a logic gate................................................................................................................. 32
5.1.3 Entering the operand and testing.............................................................................................. 33
5.1.4 Deleting a contact or an operand.............................................................................................. 34
5.2 Second modification to the program .........................................................................................35
5.2.1 OR logic operation.................................................................................................................... 35
5.2.2 Inserting an OR element........................................................................................................... 36
5.3 Third modification to the program ............................................................................................. 37
5.3.1 On-delay timer .......................................................................................................................... 37