Structured programming offers you the following advantages:
•• simple and clear creation of programs, even large ones
•• standardization of program parts
•• simple program organization
•• easy program changes
•• simple, section by section program test
•• simple system start-up
What is a block?
A block is a part of the user program that is distinguished by its
function, structure or application. You can differentiate between
blocks that contain statements (code) i.e. organization blocks,
program blocks, function blocks or sequence blocks, and blocks that
contain data (data blocks).
2.1.3
STEP 5 Operations A STEP 5 operation is the smallest independent unit of the user program.
It is the work specification for the CPU. A STEP 5 operation consists of
an operation and an operand as shown in the following example:
Example
Operation code
Operation
Operand
Parameter
:O F 54.1
(what is to be done?)
(with what is the
operation to be done?)
STEP 5 Programming Language
CPU 948 Programming Guide
2 - 6 C79000-G8576-C848-04