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

Page 6

Industry Sector, IA&DT

2.Notes on S7-SCL Programming Language

S7-SCL (Structured Control Language) is a high-level programming language based on PASCAL, which allows structured programming. The language corresponds to the SFC "Sequential Function Chart" language specified in the standard DIN EN-61131-3 (IEC 61131-3). In addition to high-level programming language elements, S7-SCL contains typical elements of the PLC such as inputs, outputs, timers, bit memories, block calls etc. as language elements. It supports the block concept of STEP 7 and allows data blocks to be programmed according to standard as well as using STL, LAD and FBD. In other words, S7-SCL supplements and extends the STEP 7 programming software with its LAD, FBD and STL programming languages.

You do not have to create every function yourself. Instead, you can used already prepared blocks such as system functions or system function blocks that are present in the operating system of the CPU.

Blocks that are programmed with S7-SCL can be mixed with STL, LAD and FBD. This means that a block programmed with S7-SCL can call another block programmed in STL, LAD or FBD. In turn, S7-SCL blocks can also be called in STL, LAD and FBD.

The test functions of S7-SCL allow searching for logical programming errors in an error-free compilation.

SCE Training Curriculum

Page 6 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 6
Contents TIA Portal Module Suitable SCE trainer packages for these training curriculums Industry Sector, IA&DT Learning objective RequirementsRequired hardware and software Industry Sector, IA&DT S7-SCL for S7-300/400 Editor / compilerDebugger Default tag table Description of taskAssignment list / tag table Structure of the tank content sample task Program structureInterface of the block calculatetankcontent FC140 Type Designation FunctionInterface of the function FC140 Calculatetankcontent Function call Representation in FBDCreating 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 program Expanding the assignment list / tag tableIndustry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT