Integration into the User Program
4-12
C7-613 Control System
A5E00138934-03
4.3.4 Integrating the HMI FBs and DBs into a User Program
To create the program, do the following:
Step Action
1 In SIMATIC Manager, open the “C7 613” library and copy the following objects
to the block container of your project.
• The required functions (FBs)
• The user-defined data types (UDTs)
If the block numbers have already been assigned, assign new numbers. The
block names are copied unchanged to the symbol table of your S7 program.
2 Insert the data block “CONFIG” of the type UDT 15 with the “unlinked” property
in the block container of your project.
3 Insert the data block “EVENT_BUFFER” of the type UDT 16 with the “unlinked”
property in the block container of your project.
4 Select the “CONFIG” data block and open it by double-clicking on it. The
configuration interface is opened in which you can set up the basic configuration
and create screens, messages, info texts and the screen hierarchy.
5 Call the FBs either in OB 1 or the time-controlled OB 35.
6 Assign parameters to the FBs. The parameters are described in Sections 4.5 to
4.7.