2.1
STEP 5 Programming Language
With the STEP 5 programming language, you convert automation
tasks into programs that run on SIMATIC S5 programmable
controllers. You can program simple binary functions, complex
digital functions and arithmetic operations including floating
point arithmetic using STEP 5.
Types of operation
The operations of the STEP 5 programming language are divided into
the following groups:
Basic operations
••
you can use these operations in all logic blocks
••
methods of representation: ladder diagram (LAD), control system
flowchart (CSF), statement list (STL).
Supplementary operations and system operations:
••
can only be used in function blocks
••
only statement list (STL) method of representation
••
system operations: only experienced STEP 5 programmers should
use system operations
2.1.1
The LAD, CSF, STL
Methods of Representation
When programming in STEP 5, you can choose between the three
methods of representation ladder diagram (LAD), control system
flowchart (CSF) and statement list (STL) for each individual logic block.
You can choose the method of representation that best suits your
particular application.
The machine code MC5 that the programmers (PGs) generate is the
same for all three methods of representation.
If you follow certain rules when programming in STEP 5 (see /3/), the
programmer can translate your user program from one method of
representation into any other.
Graphic representation or
list of statements
While the ladder diagram (LAD) and control system flowchart (CSF)
methods of representation represent your STEP 5 program
graphically, statement list (STL) represents STEP 5 operations
individually as mnemonic abbreviations.
STEP 5 Programming Language
CPU 948 Programming Guide
2 - 4
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...