This functionality is only available for certain module packages.

You are here: Tutorial > SIMATIC Step 7 > Task 1 - Creating the Step 7 program for Feeder > Adding Step 7 discipline to the mechatronic model > Importing T_Step7_Ui library into T_Mechatronic_ModularSystem > Test 4 - Creating the Step7 program

Test 4 - Creating the Step7 program

This test is designed to show how to create the Step7 program on the basis of the created structure.

Before you start, reset the Option_Inspect_available parameter to true.

  1. Generate the Step7 structure again.
  2. Select the Step7 root component.
  3. Select Step7 > Generate Code in the popup menu.

The created files are stored in the following folder:

EC-Installationsordner\workspace\Feeder\Step7\SiemensCPU
  1. Use the navigator view to view the folder contents:
  2. Open the navigator view.

The symbol table and AWL files of all blocks have been created.

The test with the Option_Inspect_available parameter set to false creates the following results:

The file FB_Inspect.AWL is no longer available.

Double-click on an AWL file to open this in an internal EC editor.

In the figure, you can see the created calls that have been inserted for the FB_Insert and FB_Move function blocks.