Add Variables allows you to add tags, points, and/or vars if needed for the program after being created.
How to use Add Variables
- In the slider menu, click Programs.
- Select a program, and then click Edit.
- Select Add Variables.
- 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.
Tag
- To create a tag variable, select the Tag option.
- The Create New Tag Variable dialog box displays.
- Click Okay.
- The Create New Tag Variable Var Name dialog box displays.
- Pick a name for the variable.
- Click Apply.
Field | Description |
---|---|
Tag Name | Name you want to name the tag (case sensitive). |
On | Select the location of the tag. Target |
Data Type | Specify what type of data the tag is returning. |
Is | Specify if the tag is read-only or read-write |
Point
- 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
- 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
- Select Program Variable,
- The Create New Value dialog box displays.
- Select the Program Variable box.
- Click Okay.
- The Create New Variable Default Value dialog box displays.
- Choose the Default Value.
- Click Apply.
Field | Description |
---|---|
Name | Name of the variable |
Selection box | Program Variable (mostly used) Project Global Variable Ref Variable |
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.
- Select Project Variable.
- The Create New Variable dialog box displays with required fields.
- In the Create New Variable dialog box, select Project Global Variable.
- Click Okay.
- The Create New Variable Default Value dialog box displays.
- Choose the default value, and then click Okay.