S5-115U Manual
Introduction to STEP 5
7.2.2
Structured Programming
To solve complex tasks, it is advisable to divide an entire program into individual, self-contained
program parts (blocks). This procedure has the following advantages:
This procedure has the following advantages:
•
simple and clear programming, even for large programs
•
capability to standardize program parts
•
easy alteration
•
simple program test
•
simple start-up
•
subroutine techniques (block call from different locations)
The STEP 5 programming language has the following five block types:
•
Organization Block (OB)
Organization blocks manage the control program.
•
Program Block (PB)
Program blocks arrange the control program according to functional or technical aspects.
•
Sequence Block (SB)
Sequence blocks are special blocks that program sequence controls. They are handled like
program blocks.
•
Function Block (FB)
Function blocks are special blocks for programming frequently recurring or especially complex
program parts (e.g., reporting and arithmetic functions). You can assign parameters to them.
They have an extended set of operations (e.g., jump operations within a block).
•
Data Block (DB)
Data blocks store data needed to process a control program. Actual values, limiting values,
and texts are examples of data.
EWA 4NEB 811 6130-02b
7-5
Содержание SIMATIC S5-115U
Страница 6: ...EWA 4NEB 811 6130 02b ...
Страница 16: ...EWA 4NEB 811 6130 02b ...
Страница 18: ...EWA 4NEB 811 6130 02b ...
Страница 26: ......
Страница 62: ...EWA 4NEB 811 6130 02b ...
Страница 64: ...EWA 4NEB 811 6130 02b ...
Страница 67: ......
Страница 74: ......
Страница 79: ......
Страница 80: ......
Страница 81: ......
Страница 82: ......
Страница 83: ......
Страница 84: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 114: ...EWA 4NEB 811 6130 02b ...
Страница 280: ...EWA 4NEB 811 6130 02b ...
Страница 372: ...EWA 4NEB 811 6130 02b ...
Страница 432: ...EWA 4NEB 811 6130 02b ...
Страница 442: ......
Страница 528: ...EWA 4NEB 811 6130 02b ...
Страница 590: ......
Страница 591: ......
Страница 592: ......
Страница 593: ......
Страница 594: ......
Страница 600: ...EWA 4NEB 811 6130 02b ...
Страница 602: ...EWA 4NEB 811 6130 02b ...
Страница 604: ...EWA 4NEB 811 6130 02b ...
Страница 624: ...EWA 4NEB 811 6130 02b ...
Страница 632: ...EWA 4NEB 811 6130 02b ...
Страница 644: ...EWA 4NEB 811 6130 02b ...
Страница 646: ...EWA 4NEB 811 6130 02b ...
Страница 652: ...EWA 4NEB 811 6130 02b ...
Страница 654: ...EWA 4NEB 811 6130 02b ...
Страница 660: ...EWA 4NEB 811 6130 02b ...
Страница 662: ...EWA 4NEB 811 6130 02b ...
Страница 666: ...EWA 4NEB 811 6130 02b ...
Страница 668: ...EWA 4NEB 811 6130 02b ...
Страница 674: ...EWA 4NEB 811 6130 02b ...