## Write Variable

The Write Variable command is a new feature for NC Gage 2.0 allowing the user to write measurement data to a macro variable on the NC control. In addition, the Write Variable feature can write to a macro variable the number of out of tolerance features and total number of features. NC Gage will only write these values, no logic will be performed.

1. Press the Measure soft key from the Main screen's Navigation Bar.

2. Press the Forward soft key until you get to the third page of soft keys.

3. Press the Write Variable soft key to display the Write Variable screen.

Features Section

Number Checked: The number of features that were measured and/or constructed.

Number Out Of Spec: The number of features that are not in tolerance.

Feature Location Section

Dimension: The set of axes that have been tolerance for the feature.

Value: The Value field is displayed to the user when a Dimension is selected, but cannot be edited.

Macro Variable: The Macro Variable field is an integer which defines a valid macro variable number. The range of valid macro variables depends on the machine type and purchased options.

The following steps are used to write a macro variable:

1. Select a measured feature from the Features list.

2. The list of valid measured dimensions for that feature should then populate the Dimension combo box. If Number Checked, or Number Out of Spec is selected for the feature, then the combo box is left blank and disabled. Select the Dimension from the drop-down list of the Feature Location section. The current value is displayed for reference.

3. Enter the macro variable number to be used in the Macro Variable field of the Feature Location section. NC Gage will test that the macro number entered will not collide with NC Gage processing.

4. Click on the Confirm soft key to complete the Write Variable procedure.

Available Navigation Bar Soft Keys on this Screen: