Siemens TOA portal module 040-020 ユーザーズマニュアル

ページ / 30
 
 
 
Industry Sector, IA&DT 
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 
 
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. 
 
 
 
 
 
 
 
 
 
Editor / compiler 
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.  
S7-SCL for S7-300/400 
Editor / compiler 
Debugger