Programming Languages; Optimized Machine Code - Siemens S7-1200 Programming Manualline

Step 7 tia portal, background and system description
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

2 S7-1200/1500 Innovations

2.3 Programming languages

2.3
Programming languages
For the programming of a user program, various different programming languages
are available. Each language has its own advantages, which can be variably used,
depending on the application. Every block in the user program can therefore be
created in any programming language.
Table 2-2: Programming languages
Ladder (LAD)
Function block diagram (FBD)
Structured control language (SCL)
Graph
Statement list (STL)
Note
You will find further information in the following entries:
SIMATIC S7-1200 / S7-1500 Comparison list for programming languages
http://support.automation.siemens.com/WW/view/en/86630375
What has to be observed when migrating a S7-SCL program in STEP 7
(TIA Portal)?
http://support.automation.siemens.com/WW/view/en/59784006
What instructions cannot be used in STEP 7 V11 in an SCL program?
http://support.automation.siemens.com/WW/view/en/58002710
How can the constants be defined under STEP 7 V11 in a S7-SCL program?
http://support.automation.siemens.com/WW/view/en/58065411
2.4

Optimized machine code

TIA Portal and S7-1200/1500 allow an optimized runtime performance in any
programming language. All languages are compiled the same, directly into the
machine code.
Advantages
All programming languages have the same high performance (with the same
access types)
No reduced performance through additional compiling with an intermediate
step via STL
Properties
The following figure displays the difference of the compilation of S7 programs into
machine code.
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
Programming language
S7-1200
S7-1500
planned
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1500

Table of Contents