Share
 
 

Milling string reserved words

Reserved word

Definition

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

Returns the proper coolant cancellation code from the XBUILD Coolant dialog.

COMP-STAT

Returns the appropriate code from the CNC-Info > NC Codes dialog for cutter diameter compensation.

COOLANT

Returns the proper coolant code from the XBUILD Coolant dialog.

COOLANT-OFF-1 through COOLANT-OFF-10

Returns the proper coolant cancellation code from the XBUILD Coolant dialog. Use these reserved words instead of the simpler <COOLANT> if your post is using one-pass posting or if you have complex logic for the codes and need more control.

COOLANT-ON-1 through COOLANT-ON-10

Returns the proper coolant code from the XBUILD Coolant dialog. Use these reserved words instead of the simpler <COOLANT> if your post is using one-pass posting or if you have complex logic for the codes and need more control.

CYCLE

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

CYCLE-RTRCT

Returns the appropriate retract code for canned drilling cycles 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.

FIXTURE

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

Note: It is important to include this reserved word in the Segment Start format to ensure that correct Z values are produced.

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.

FM-NAME

Returns the FeatureCAM file name.

HOLDER-NAME

Returns the tool holder name from the Manufacturing > Spindles and Toolholders dialog in FeatureCAM.

INDEX-AXIS

Returns the index axis (X, Y, or Z) for 4th-axis indexed parts, otherwise returns None.

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, 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.

PLANE

Returns the appropriate code for an active plane from the CNC-Info > NC Codes dialog.

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.

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.

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).

Was this information helpful?