Add Variables allows you to add tags, points, and/or vars if needed for the program after being created.

How to use Add Variables

  1. In the slider menu, click Programs.
Slider menu > Programs
  1. Select a program, and then click Edit.
  1. Select Add Variables.
Add Variables
  1. Once selected, there are three options:
  • Tag – If you want to add a tag variable.
  • Point – Allows you to pick a point from under the target or from a ref that the program is running on.
  • Var - Creating a virtual variable to be used within the program.
Add Variables options

Tag

  1. To create a tag variable, select the Tag option.
  • The Create New Tag Variable dialog box displays.
  1. Click Okay.
  • The Create New Tag Variable Var Name dialog box displays.
  1. Pick a name for the variable.
  1. Click Apply.

Field

Description

Tag Name

Name you want to name the tag (case sensitive).

On

Select the location of the tag.

Target
Tag that exists on the target that the program is running on.
Target Reg
Ref on the current target
Binding
Queries for anything in the database
Point
Tag from a point under target that the program is running on.

Data Type

Specify what type of data the tag is returning.

Is

Specify if the tag is read-only or read-write

 

Point

  1. To add a point, select the Point option.
  • The Add Points to bLine Program dialog box displays, allowing you to pick point(s) to add.
    If there are refs on the current target equip, the points from those refs will be available to select from those points.
    They indicates the ref they are from before the point name
  1. Click Okay to add the points.

Var

If you want to create a virtual variable to use within the program, select the Var option.

Program Variable

  1. Select Program Variable,
  • The Create New Value dialog box displays.
  1. Select the Program Variable box.
  1. Click Okay.
  • The Create New Variable Default Value dialog box displays.
  1. Choose the Default Value.
  1. Click Apply.
Create New Value dialog box fields.

Field

Description

Name

Name of the variable

Selection box

Program Variable (mostly used)
to make a virtual variable to use within the program, the user would select this option

Project Global Variable
to create a virtual variable that can be used across multiple programs, the user would select this option

Ref Variable
to create a virtual variable that would look at a variable in another program that runs on a ref of current target

Data Type

Data type that the variable will be utilizing

 

Project Global Variable

If you want to create a Project Global Variable, create a numeric variable that grabs the value of x variable to use this project variable in other programs.

  1. Select Project Variable.
  1. The Create New Variable dialog box displays with required fields.
  1. In the Create New Variable dialog box, select Project Global Variable.
  1. Click Okay.
  • The Create New Variable Default Value dialog box displays.
  1. Choose the default value, and then click Okay.