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

Page 21

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

Image 21
Contents Module A5 Automation and Drives SCE Foreword SeiteTo 3 days Module C To 3 days Module D ForewordFrequency Converter at Simatic S7 Learning ObjectiveHardware and software needed Automation and Drives SCE Operator control and display elements Operating the Cpus 31XCMode selector Status and fault/error displaysPositions of the mode selector Slot for the Simatic Micro Memory Card MMCIntroduction Memory Areas of the CPU 31XCLoad memory RAMRetention of the memory objects Work memory RAMCPU Creating the Hardware Configuration for the CPU 314C-2DPAutomation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Writing a Program Assignment listBit Automation and Drives SCE Automation and Drives SCE Testing the Program Automation and Drives SCE