Programming manual SCU-series
HB-37500-820-10-12F-EN SCU Programming manual
Page 94 of 252
Status: 19.03.2021
4.6.8. Using groups
Function groups connect several function blocks to a superordinate logical structure. This matching
block group is created within the function group, and is connected via this block.
Figure 75 function group
By this grouping, the function block diagram obtains a clear structure. Via the Export function or the
Import function, it allows the creation of an individual function library.
4.6.9. Creating a program
After the program has been completed, compiling can be started by activating the compiler
.
The results are shown in the message window which automatically appears during compilation.
After the compiler has been called, the compilation undergoes the following steps. The result is
shown in the message window which automatically appears when the compiler is started.
Verifying open connections
SafePLC
2
ensures that all connections between function blocks can be opened. Connectors that
are not connected are recognised as errors.
Verifying of non-referenced
“Anschluss ein“
[Connection on] and
“Anschluss aus“
[Connection off]
SafePLC
2
ensures that all terminal blocks entered in the logic plan are used. Open references are
recognised as errors.
Verifying the value ranges of the monitoring functions
Before creating the instruction list, the
SafePLC
2
checks if the parametres of the monitoring
function lie within the rangeof the current encoder configuration.Otherwise, an unnoticed overflow
of the range may occur if the encoder settings are changed with a monitoring function.
Creating an application list (IL)
The IL code that has been created on the basis of the function groups is displayed in the message
window where it also can be verified. Code segments of the corresponding function bleocks are
identified via the corresponding block ID.
Creating the OP code
Generating of a machine-readable code for the system. Afterwards, this code is transmitted
together with the parameters.