This functionality is only available for certain module packages.

You are here: Tutorial > SIMATIC Step 7 > Task 4 - Inserting fault messages into the Step 7 code > Test 7 - Creating input and output addresses, structure and Step7 code

Test 7 - Creating input and output addresses, structure and Step7 code

This test is intended to check whether the structure and the Step7 code with the fragments of the interrupt messages can be created with reference to the parameter values and formulas that were entered in the previous sections.

  1. Select the root object Mechatronic in the project.
  2. Select IO_Generator > GenerateFieldbusCommand from the popup menu.
  3. Select Step7 > Generate Structure from the popup menu.

Then check whether the addresses for the inputs and outputs have been correctly assigned (see Test 5 - Creating input and output addresses).

The result of the discipline structure should look as follows:

All fragments FR_Errors_Dec and FR_Errors_NW are arranged under the function block FB_Errors.