Step 3. Set the Value of a Variable ID

Once you select a Variable ID, there are several ways to set its value and several ways to use it.

  • Value set for a variable ID.
  • Variables in setpoint actions.

Value Set for a Variable ID

One way is to assign values to the variable ID's on the Variables tab of a Properties dialog box. In addition, you can create a: ??

  • Variable Assign action
  • Assign values to the Variable ID's automatically when the user executes the action at runtime.
  • Let the user assign values to the Variable ID's when the user executes the action at runtime.
  • Screen Open event that assigns values to the Variable ID's when a user opens the screen in CimView.
  • Invoke Script procedure and have the script assign values to the Variable ID's. This procedure can be assigned to any event.

Variables in Setpoint Actions

When you use a Variable ID in a Setpoint action, the association between the Setpoint action and the Variable ID is made every time the action is executed.

A major benefit of using variables in setpoint actions is that the Setpoint action can be set to different values at different times.

CAUTION: If you do use Variable IDs in Setpoint actions, especially if you are using nested Variable IDs, make sure that the Variable ID is referencing the correct object and value.