Siemens TOA portal module 040-020 manual S7-SCL for S7-300/400, Editor / compiler, Debugger

Page 7

Industry Sector, IA&DT

3.The S7-SCL Development Environment

To use and deploy S7-SCL there is a development environment that is oriented to specific features of both S7-SCL and STEP 7. This development environment consists of an editor/compiler and a debugger.

S7-SCL for S7-300/400

Editor / compiler

Editor / compiler

Debugger

The S7-SCL editor is a text editor with which texts can be edited. The central task you use the editor for is to create and edit blocks for STEP 7 programs. The syntax of the text you input with the editor is checked thoroughly, making error-free programming simple. Syntax errors are displayed in various colors.

The editor offers the following options:

-Programming a S7 block in the S7-SCL language.

-Convenient insertion of language elements and block calls using drag-and-drop operation.

-Direct syntax check during programming.

-Adjustment of the editor to your requirements by, for example, syntax-oriented coloring of the various language elements.

-Checking of the finished blocks by compiling.

-Display of all errors and warnings that occur during compiling.

-Localizing of the faulty position in the block, optionally with description of error and information on debugging.

Debugger

The S7-SCL debugger provides the option of checking how the program runs in the AS and thus finding any possible errors.

S7-SCL offers two different test modes for this:

-Step-by-step monitoring

-Continuous monitoring

With "Step-by-step monitoring" the logical execution of the program is completed. You can execute the program algorithm instruction for instruction and monitor in a result window how the processed tag contents change during the process.

With "Continuous monitoring" you can test a group of instructions within a block. The values of the tags and parameters are displayed in chronological order during the test run and - where possible - updated cyclically.

SCE Training Curriculum

Page 7 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 7
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 Editor / compiler S7-SCL for S7-300/400Debugger Description of task Default tag tableAssignment 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