Create variables

Create variables that define a motor alarm, temperature, and individual ingredients.

Tip: Instead of creating variables manually, you can import controller variables in the offline mode. See Import controller variables.
  1. In Project view, create five variables by right-clicking Model and selecting New > Variable.
  2. Rename the variables by hovering-over each variable, selecting Edit, and entering:
    • Ingredient01

    • Ingredient02

    • Ingredient03

    • Motor1Alarm

    • Temperature

  3. In Project view, select Motor1Alarm.
  4. In Properties, select Int32 and select Boolean.

    The variable value type changes to Boolean. This is needed for the digital alarm that you will configure later.

Figure 1. Model node

Take a note of the variables location.