S5-115U Manual
Introduction to STEP 5
7
Introduction to STEP 5
This chapter explains how to program the S5-115U. It describes how to write a program, how the
program is structured, the types of blocks the program uses, and the number representation of
the STEP 5 programming language.
7.1
Writing a Program
A control program specifies a series of operations that tell the programmable controller (PLC)
how it has to control a system. You must write the program in a very special language and
according to specific rules so that the PLC can "understand" it. The standard programming
language that has been developed for the SIMATIC S5 family is called STEP 5.
7.1.1
Methods of Representation
The following methods of representation are possible with the STEP 5 programming language:
•
Statement List (STL)
STL represents the program as a sequence of operation mnemonics. A statement has the
following format:
A I 0.1
Operation
Operand
Parameter
Operand ID
002:
Relative address of the statement in a particular block
The operation instructs the PLC what to do with the operand. The parameter indicates the
operand address.
•
Control System Flowchart (CSF)
CSF represents logic operations with symbols.
•
Ladder Diagram (LAD)
LAD represents control functions with circuit diagram symbols.
•
GRAPH 5
GRAPH 5 is a graphic representation of the structure of sequence controls.
The last three methods of representation indicated are only possible with CRT-based pro-
grammers (e.g. PG 635, PG 750).
EWA 4NEB 811 6130-02b
7-1
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...