This functionality is only available for certain module packages.

You are here: Tutorial > SIMATIC Step 7 > Task 2 - Allocating addresses for the inputs and outputs > Test 5 - Creating input and output addresses

Test 5 - Creating input and output addresses

This test is intended to check whether all of the addresses can be allocated for the inputs and outputs with reference to the parameter values and formulas that were entered in the previous sections.

Importing the T_IOGenerator_UI library adds commands for creating (GenerateFieldbusCommand), resetting (ResetFieldbusCommand), and updating (UpdateFieldbusCommand) to the mechatronic module.

The commands are called up by means of the popup menu for the mechatronic root object of the project, here Mechatronic.

  1. Select the project component Mechatronic.
  2. Select the item IO_Generator > GenerateFieldbusCommand from the popup menu.

The correct allocation of the addresses can be checked by opening all of the project components of type Actuator and Sensor.

The following figure shows the address allocated to the project component Feeder.Mechatronic.Feeder.Insert.Separator.Cylinder.Valve_1:

The project component Feeder.Mechatronic.Feeder.Insert.Separator.Cylinder.Valve_1 is after the Cylinder the second actuator in the project structure and is thus given the address O0.1.