This functionality is only available for certain module packages.

You are here: Tutorial > Mechatronic > Generation of variants via parameterization > Create parameter

Create parameter

Parameters are typed, i.e., there are different types of parameters that differ from each other in terms of the values assigned to them. For example, there are parameters for integers, strings or truth values (Boolean). To distinguish between two variants, one truth value will be enough, that is, a parameter of the Boolean type, which can assume the two values true or false.

Since the function groups Inspect and Discard, and the position sensors Position_2, Position_3, and Position_4 are to be either available or not, parameters of the Boolean type will be enough.

  1. In the popup menu of the Parameter unit, select New > Parameter.
  2. In the editor, enter the name Option_Inspect_available.
  3. Specify Boolean as the type: The type can either be found by using the Finder [..] or be entered directly.
  4. Repeat the steps 1 to 3, and enter the name Sensor_2_available, Sensor_3_available, Sensor_4_available, and Option_Two_Valves (also of the Boolean type).