Automation and Drives - SCE

17.'LAD/STL/FDB Program S7 Blocks’ is an editor which allows you to create your STEP

7program as you require. To this end, the OB1 organization block with the first network has already been opened. In order to create your first logic operations, you must mark the first network. Now you can write your first STEP 7 program. Individual programs are usually divided

into networks in STEP 7. You open a new network by clicking on the network symbol, .

Note: Comments regarding program documentation are separated from the program commands by the characters "//".

The network

L

MB 100

 

T

AB 0

loads the clock memory byte activated in the hardware configuration and transfers it to an output byte. As a consequence, the 8 bits of the output byte flash in the different frequencies of the clock memory bits.

Note: The address of the output byte can be different from case to case, depending on the hardware configuration.

Foreword

Notes

Hardware configuration

STEP 7 program

Testing

 

 

 

 

 

 

 

 

 

T I A Training Document

 

Page 23 of 25

 

 

Module

 

 

 

 

 

A5

Issue date: 02/2008

 

 

Programming the CPU

314C-2DP

Page 23
Image 23
Siemens programming the cpu 314c-2dp manual Automation and Drives SCE