Siemens TOA portal module 040-020 manual Industry Sector, IA&DT

Page 3

 

 

Industry Sector, IA&DT

 

 

PAGE:

1.

Preface

4

2.

Notes on S7-SCL Programming Language

6

3.

The S7-SCL Development Environment

7

4.

Example Task Tank Content

8

4.1

Description of task

8

4.2

Assignment list / tag table

8

4.3

Program structure

9

4.4

Interface of the block calculate_tankcontent [FC140]

10

4.5

Note on solution

11

5.

Programming the Tank Content Calculation for SIMATIC S7-300 in S7-SCL

12

5.1

Creating a project and configuring hardware

12

5.2

Creating a program

16

5.3

Test program

23

5.4

Expanding the program

26

SCE Training Curriculum

Page 3 of 30

To be used only at Educational and R&D Facilities

TIA Portal Module 040-020, Edition 03/2013

 

Unrestricted / © Siemens AG 2013. All Rights Reserved

SCE_EN_040-020_R1209_Startup Programming in High-Level Languages with S7-SCL and SIMATIC S7-300

 

 

 

 

Image 3
Contents TIA Portal Module Suitable SCE trainer packages for these training curriculums Industry Sector, IA&DT Requirements Learning objectiveRequired hardware and software Industry Sector, IA&DT S7-SCL for S7-300/400 Editor / compilerDebugger Default tag table Description of taskAssignment list / tag table Program structure Structure of the tank content sample taskType Designation Function Interface of the block calculatetankcontent FC140Function call Representation in FBD Interface of the function FC140 CalculatetankcontentCreating a project and configuring hardware Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Creating a program Industry Sector, IA&DT Diagram Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Test program Industry Sector, IA&DT Mode on. → Expanding the assignment list / tag table Expanding the programIndustry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT