Object Recipe Definition

Symbol: Object Recipe Definition 1:

Within a recipe definition you define various value sets for the variables, which are called recipes.

Create object Recipe Definition

1. Select the object Recipe Manager in the Solution Explorer in the PLC project tree.
2. Select the command Add > Recipe Definition... in the context menu.
The dialog Add Recipe Definition opens.
3. Enter a name.
4. Click on Open.
The recipe definition is added underneath the recipe manager and opened in the editor.

Structure of a recipe definition

The value sets are displayed in tabular form in the recipe definition editor. You can switch the view of the recipe definition between the simple view and the structured view. TwinCAT displays the variables belonging to a structure grouped together in the structured view.

Object Recipe Definition 2:

Variable

Name of the variable

Type

Entered automatically

Name

Optional

Minimum value

Maximum value

If the variable value is smaller than the minimum value or larger than the maximum value, TwinCAT sets the value to the minimum or maximum value respectively.

Comment

Additional information, for example the unit of the value.

Current value

Current variable value; displayed in online mode only.

Recipe (e.g. R1)

Variable values of the recipe