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

 

 

 

 

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