Reserved words (WIRE)

Reserved words

Type

Definition

<ARC-U>

Numeric

Same as <ARC-X> but for the upper curve.

<ARC-V>

Numeric

Same as <ARC-Y> but for the upper curve.

<ARC-X>

Numeric

Used in the circular interpolation block to specify the signed X distance from the start point of the arc, to the center of the arc along the X axis.

<ARC-Y>

Numeric

Used in the circular interpolation block to specify the signed Y distance from the start point of the arc, to the center of the arc along the Y axis.

<ARM-POS>

Numeric

Reproduces the upper arm position from FeatureCAM.

<ARM-STR>

Numeric

The upper guide travel distance (entered as Arm Stroke in the Machine Constants dialog in XBUILD).

<AWTH>

Numeric

Reproduces the additional work table height from FeatureCAM.

<COMP-END>

Logical

TRUE if the move represents the end section for compensation (last element, or move of path), otherwise FALSE.

<COMP-ON>

Logical

TRUE if cutter diameter compensation is enabled in FeatureCAM, otherwise FALSE.

<COMP-MID>

Logical

TRUE if the move represents the middle section for compensation (between the first and last moves of path), otherwise FALSE.

<COMP-NUM>

Numeric

Compensation register passed from FeatureCAM.

<COMP-NUM-CH>

Logical

TRUE if wire radius compensation status (On or Off) or value (0.15) or register number (1) has changed.

<COMP-START>

Logical

TRUE if the move represents the start section for compensation (first element, or move of path), otherwise FALSE.

<COMP-STAT>

String

When cutter diameter compensation status is selected, <COMP-STAT> establishes a right/left tool relationship with the part, and outputs the cutter compensation code at the first feed move of the profile path.

<COMP-VAL>

Numeric

Copies the wire compensation value from FeatureCAM.

<CONT-END>

Logical

TRUE if the move is the last move on a contour.

<CONT-START>

Logical

TRUE if the move is the first move on a contour.

<CURVID>

String

Returns the curve ID from FeatureCAM.

<CUT-NUMBER>

Numeric

Identifies the pass number for multi-pass contouring.

<DATE>

String

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

<DIRECT-LEAD>

Logical

TRUE if direct lead-ins.

<DWELL>

Numeric

Returns the Dwell value passed from FeatureCAM.

<DWELL+>

Logical

TRUE if dwell is greater than 0.0.

<EOB>

Other

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

<FEED>

Numeric

Feed rate value identifier passed from FeatureCAM.

<FIRST-ANG>

Numeric

Reproduces the taper angle at the motion start from FeatureCAM.

<FIRST-CUT>

Logical

TRUE for the first pass of multi-pass contouring.

<FM-NAME>

String

Returns the FeatureCAM file name.

<G-SPAN>

Numeric

The distance between the wire guides (entered as Guide Span in the Machine Constants dialog in XBUILD).

<IS-DIE>

Logical

TRUE for a Die feature.

<IS-INC-MAC>

Logical

TRUE if incremental macros are enabled.

<IS-LEFT>

Logical

TRUE for a Side feature with normal machining side.

<IS-METRIC>

Logical

TRUE if the NC code is in metric units.

<IS-PUNCH>

Logical

TRUE for a Punch feature.

<IS-RAPID>

Logical

TRUE for a Rapid feature.

<IS-TAP-ISO>

Logical

TRUE if taper is ISO or rounded-ISO.

<IS-TAP-LEFT>

Logical

TRUE if taper is left or ISO left.

<IS-TAPER>

Logical

TRUE for tapered features.

<IS-XYUV>

Logical

TRUE for 4-axis XY UV features.

<ISO-ON>

Logical

TRUE if ISO tapering (cylindrical tapering for arc) is on for the next move. Some posts need this to output the ISO tapering code one move prior. To check the status of the current move, use <$ISO-ON>.

<ISO-RAD>

Numeric

The radius of an iso taper arc.

<LEAD-IN>

Numeric

TRUE during all motions on a lead-in move. Used for Agie posts.

<LEAD-OUT>

Numeric

TRUE during all motions on a lead-out move. Used for Agie posts.

<LOWER-LEN>

Numeric

Length of the lower curve for the current operation.

<MACRO#>

Numeric

Macro number identifier (system-generated). Macros are not user definable, however, some Macros are generated automatically, especially with multiple fixture parts and for repeated features. This number starts at 00 and increments automatically up to the Max Macros number specified in the General Information dialog.

<MATERIAL>

String

Outputs the name of the material.

<MCSID>

String

Returns the current Setup name, as set in FeatureCAM.

<MOTION>

String

Produces the correct motion-type (that is, Rapid, Linear, Circular CW/CCW) for the various program formats.

<MOTION> is specified in the Motions frame of the CNC Info-NC Code dialog in XBUILD.

<OP-PASS>

String

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>

String

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>

String

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>

String

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

<PROG-NAME>

String

Returns the part name from the Setup definition in FeatureCAM.

<Q-ANGLE>

Numeric

Angle between wire and Z-Axis in the plane perpendicular to wire motion.

<R-ANGLE>

Numeric

Angle between wire and Z-Axis in the plane parallel to wire motion.

<RADIUS>

Numeric

Returns the arc radius in a circular block.

<REGION-DATE>

String

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

<ROUNDED-ON>

Logical

TRUE if Rounded tapering (conical tapering for sharp corner) is on at the corner of the current move and the next.

<S-RAD>

Numeric

Generates the signed arc radius value in a circular block, +R<180 degrees and R>180 degrees.

<SEG-CMT>

String

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>

String

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

<SEQ>

Numeric

This is a line sequence number identifier (when the word appears in a line, it is substituted with the current sequence number, and is subsequently incremented by the sequence step value).

<STOCK-ID>

Numeric

Inner diameter of the stock - for round (tube) stock only - 0 for other types of stock.

<STOCK-OD>

Numeric

Outer diameter of the stock - for round stock only - 0 for other types of stock.

<STOCK-TYPE>

Numeric

Type of stock: 1.0 for block, 2.0 for round, 3.0 for N-sided, 4.0 for user-defined.

<STOCK-XMAX>

Numeric

Bounding box - maximum X value, or X coordinate of the upper most corner of the bounding box for the stock in space.

<STOCK-XMIN>

Numeric

Bounding box - minimum X value, or X coordinate of the lower most corner of the bounding box for the stock in space.

<STOCK-YMAX>

Numeric

Bounding box - maximum Y value, or Y coordinate of the upper most corner of the bounding box for the stock in space.

<STOCK-YMIN>

Numeric

Bounding box - minimum Y value, or Y coordinate of the lower most corner of the bounding box for the stock in space.

<STOCK-ZMAX>

Numeric

Bounding box - maximum Z value, or Z coordinate of the upper most corner of the bounding box for the stock in space.

<STOCK-ZMIN>

Numeric

Bounding box - minimum Z value, or Z coordinate of the lower most corner of the bounding box for the stock in space.

<STOP>

Logical

TRUE if the stop commands needs to be output.

<STOP-LENGTH>

Numeric

Contains the value of Stop Length on the strategy tab. Used for Agie posts.

<SUFFIX>

String

Inserts a program stop (M0) if a stop is programmed.

<TAB-HT>

Numeric

The distance from the work table down to the lower guide (entered as Table Height in the Machine Constants dialog in XBUILD).

<TAP-ANG>

Numeric

Returns the taper angle at the motion end from FeatureCAM.

<TAP-REG>

Numeric

Returns the taper register number from FeatureCAM.

<TAP-REG-CH>

Logical

TRUE if a taper angle status (On or Off) or value (3.7) or register number (1) has changed.

<TAP-STAT>

String

When taper function is used, <TAP-STAT> returns the right or left wire relationship with the part specified in FeatureCAM.

<TAP-VAL>

Numeric

Tangent of <TAP-ANG>.

<TIME>

String

Returns the time when the NC code was posted.

<TOTAL-LOWER>

Numeric

Total length of the lower curves for all operations.

<TOTAL-UPPER>

Numeric

Total length of the upper curves for all operations.

<U-CEN>

Numeric

Same as <X-CEN> but for the upper curve.

<U-CEN-RELAT>

Numeric

Result of <U-CEN> - <X-CEN>

<U-COORD>

Numeric

Returns the value of the current U coordinate.

<U-RELAT>

Numeric

Result from <X-COORD> - <U-COORD> = Incremental distance from X-position of lower contour.

<UDF-COMMENT>

String

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

<UDF-TEXT>

String

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

<UPPER-LEN>

Numeric

Length of the upper curve for the current operation.

<UNITS>

String

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

<V-CEN>

Numeric

Same as <Y-CEN> but for the upper curve.

<V-CEN-RELAT>

Numeric

Result of <V-CEN> - <Y-CEN>

<V-COORD>

Numeric

Returns the value of the current V coordinate.

<V-RELAT>

Numeric

Result from <Y-COORD> - <V-COORD> = Incremental distance from Y-position of lower contour.

<WATER>

Numeric

Reproduces the water value identifier from FeatureCAM

<WIRE>

String

Outputs the name of the wire.

<WIRE-CUT>

Logical

TRUE if the Wire Change parameter is set to Cut in FeatureCAM.

<WIRE-DIA>

Numeric

Outputs the diameter of the wire.

<WIRE-THRD>

Logical

TRUE if the Wire Change parameter is set to Thread in FeatureCAM.

<X-ANGLE>

Numeric

The polar angle of the upper toolpath point in the YZ plane.

<X-CEN>

Numeric

Returns the absolute X coordinate position from the X axis origin to the arc's center in a circular block.

<X-COORD>

Numeric

Returns the value of the current X coordinate.

<XYUV-ARC>

Logical

TRUE if outputting arc moves in 4-axis.

<Y-ANGLE>

Numeric

The polar angle of the upper toolpath point in the XZ plane.

<Y-CEN>

Numeric

Returns the absolute Y coordinate position from the Y axis origin to the arc's center in a circular block.

<Y-COORD>

Numeric

Returns the value of the current Y coordinate.