Share
 
 

Turn string reserved words

Reserved word

Definition

AIR-BLAST

Returns the Air Blast codes from the CNC-Info > NC Codes dialog according to selections from the Misc. feature creation page.

BOL

Beginning of line identifier. Used to indent line in NC code output. Indents line by spacing amount between <BOL> and rest of line.

CANCEL-COOL

Used to output NC code to turn off coolant at the end of an operation. See the CNC-Info > Coolant dialog.

COMP-STAT

Returns the applicable code from the CNC-Info > NC Codes dialog, when tool nose radius compensation is selected in the Turn Properties dialog (for example G41, G42).

Turns On at the first feed move of the profile path.

COOLANT

Returns the Coolant ON code for the selected turret from the Coolant dialog.

CTRL-TURRET

Indicates which turret has control while the sub-spindle is moving. The values are Main Upper, Main Lower, Sub Upper, or Sub Lower.

CUTOFF-TRT

This indicates which turret has the cutoff operation. The values are empty (no cutoff), Main Upper, Main Lower, Sub Upper, Sub Lower.

CYCLE

Returns the appropriate drill cycle code from the CNC-Info > NC Codes dialog.

DATE

Returns the date that the NC code was posted. See also <REGION-DATE>.

EOB

Specifies the end of block code on each line of a format.

FM-NAME

Returns the FeatureCAM file name.

F-UNITS

Returns the applicable code for feed per revolution or feed per linear unit feed rates from the CNC-Info > Feeds & Speeds dialog. For example, G99, G98.

FIXTURE

Returns the current fixture offset code from the CNC-Info > Fixture ID dialog.

GRAB-TYPE

Returns the Spindle Action value from a Part Handling feature in FeatureCAM.

MACH-TIME

Returns the estimated time needed to machine the part.

MATERIAL

Outputs the name of the material.

MCSID

Returns the current Setup name, as set in FeatureCAM.

MOTION

Returns the motion code for the current move from the XBUILD CNC-Info > NC codes dialog.

NEXT-TL-NAME

For Siemens controls, returns the name of the next tool. See also <NEXT-TL-ID> (numeric).

OP-PASS

Returns Rough or Finish based on the type of pass. Value is always in English in order to support language-independent comparison. See also <OP-PASS-LOCAL>.

OP-PASS-LOCAL

Same as <OP-PASS>, but the value is in the local language, so it can be used for inserting comments in the NC code.

OP-TYPE

Returns the current operation type name.

Value is always in English in order to support language-independent comparison. See also <OP-TYPE-LOCAL>.

OP-TYPE-LOCAL

Same as <OP-TYPE>, but the value is in the local language, so it can be used for inserting comments in the NC code.

P1

Post variable number one. Returns the user-defined string placed in the Post Variables tab in FeatureCAM. Variables up to <P100> may be defined.

PGM-STOP

Returns string from CNC-Info > NC Codes dialog. Used to stop program to flip part in chuck or vise to machine other setups.

PRO-COMP

When tool tip compensation and canned cycle status is selected, <PRO-COMP> returns the applicable code from the CNC-Info > NC Codes dialog to establish a right/left tool relationship with the part, and turns On at the first feed move of the profile path.

PRO-FUNITS

Used within a Turning Canned Cycle format to return applicable code for feed per revolution or feed per linear unit, for example G99, G98.

PROG-NAME

Returns the part name from the Setup definition in FeatureCAM.

PVAR:variablename

Post variable with the name variablename. Returns the user-defined string placed in the Post Variables tab in FeatureCAM. You can edit the variable names using the Post Variable Names dialog.

REGION-DATE

Returns the date in the regional format (for example, British DD/MM/YY instead of MM/DD/YY) as specified in Windows.

SEG-CMT

Returns any Comments entered in a feature's Post Variables dialog in FeatureCAM. For controls that require comments to be a single line, <SEG-CMT> must be only one line.

SEGM-ID

Returns the name of the current feature from the part view in FeatureCAM.

SPINDLE

Returns the applicable code for spindle rotation direction from the CNC-Info > NC Codes dialog, for example M3, M4.

SPNDLE-SEL

Returns the applicable code to select main or sub spindle from the CNC-Info > Spindles dialog.

SPDL-SYNCRN

Spindle synchronization status. Valid in the spindle synchronize format. Returns the synchronize code from the XBUILD Spindles dialog.

SP-RANGE

Returns code to engage applicable speed range from the CNC-Info > Feeds & Speeds dialog.

SUPPRT-TYPE

For use with the Support On and Support Off part handling features. Indicates the type of support being used. Values are SubSpindle, Tailstock, or SteadyRest type.

TIME

Returns the time when the NC code was posted.

TOOL-CMT

Returns any Comments you have entered on the Overrides tab of Tool Properties.

TOOL-ID

Returns the Tool ID value from the FeatureCAM Tool Mapping dialog.

TOOL-NAME

Returns the Name of the current tool from the FeatureCAM Tool Mapping dialog.

TOOL-ORIENT

Returns the tool orientation prefix from the <TOOL-NAME> for turning tools only, for example SW, NE.

TRT-TURN

Returns the applicable code for a CW or CCW turret rotation from the CNC-Info > Turrets dialog.

Corresponds to the Turret Direction parameter from the Feature Properties > Tool Usage dialog.

TURRET

Selects the programmed turret.

Corresponds to the Turret parameter from the Feature Properties > Tool Usage dialog.

UDF-COMMENT

Used in the UDF Text format to return a comment from an add-in macro that creates a user-defined feature.

UDF-TEXT

Used in the UDF Text format to return a specific code from an add-in macro that creates a user-defined feature.

UNITS

Returns the value from the Inch Units or Metric Units field on the CNC-Info > NC Codes dialog (commonly G20 or G21).

XFER-SPINDLE

During a part transfer operation, returns the spindle state as a G-code.

XFER-TYPE

Returns the type of part transfer. Values are slug_xfer, rev_slug_xfer, pre_cutoff, post_cutoff, rechuck, support_on, and support_off.

Was this information helpful?