Siemens programming the cpu 314c-2dp manual Writing A Program, Assignment list

Models: programming the cpu 314c-2dp

1 25
Download 25 pages 11.77 Kb
Page 21
Image 21
4.WRITING A STEP 7 PROGRAM

Automation and Drives - SCE

4.WRITING A STEP 7 PROGRAM

We are writing the program to be tested in the statement list language (STL), and it only contains two lines.

Here, the frequencies of the MB100 clock memory byte activated in the hardware are to be read out on an output byte.

Assignment list:

MB100

Clock

Clock memory byte

AB0

AB

Display

A cycle duration/frequency is assigned to each bit of the clock memory byte. Assignment is as follows:

Bit:

7

6

5

4

3

2

1

0

Clock duration (s):

2

1.6

1

0.8

0.5

0.4

0.2

0.1

Frequency (Hz):

0.5

0.625

1

1.25

2

2.5

5

10

14. In the 'SIMATIC Manager', mark the 'Blocks' folder.( SIMATIC Manager Blocks)

Foreword

Notes

Hardware configuration

STEP 7 program

Testing

 

 

 

 

 

 

 

 

 

T I A Training Document

 

Page 21 of 25

 

 

Module

 

 

 

 

 

A5

Issue date: 02/2008

 

 

Programming the CPU

314C-2DP

Page 21
Image 21
Siemens programming the cpu 314c-2dp manual Writing A Program, Assignment list