Block: BEGINNING OF TAPE

This Block lists the Special and Stock & Part variables in separate tables.

Variable

Default format

Use and Comments

COMP_MODE

6

Compensation mode of the Milling output, as defined in the Cutter Compensation - Milling Output parameter in the GeneralNC Preferences:

COMP_MODE_NONE = 0

COMP_MODE_TIP_LOCATION = 1

COMP_MODE_GEOM_LOCATION = 2

CUT_MODE

6

Cut mode. May get one of the following values:

CUT_MODE_NONE = 0,

CUT_MODE_CLIMB = 1,

CUT_MODE_CONVENTIONAL = 2

DATE_SDD

6

Current date: day.

DATE_SMM

6

Current date: month.

DATE_SYY

6

Current date: year.

ENABLE_ADDITIONAL_COOLANT

6

0 = Additional coolant not enabled.
1 = Additional coolant enabled.

If Enable Additional Coolant = 0, (OFF ), MCH_COOL will get the value from the DEF values. All the new coolant variables will be 0 (OFF ), and all new pressure variables will be unset.

If Enable Additional Coolant = 1 (ON ), MCH_COOL will contain a concatenated string of all the coolant codes that are checked in this procedure and their pressure values.

ETERNET_ID

0

Local computer Ethernet ID (the physical address of the ethernet adapter – can be used for licensing).

EXT_POST

6

Internal / external post. In GPP2, always set "off"

FACTOR_

18

The FACTOR variable in the DF2 file.

L_COMPMODE

6

Compensation mode of the Turning output, as defined in the Cutter Compensation - Turning Output parameter in the GeneralNC Preferences:

COMP_MODE_NONE = 0

COMP_MODE_TIP_LOCATION = 1

COMP_MODE_GEOM_LOCATION = 2

MACSYS_NAM

0

The MACSYS name.

NODE_ID

0

The workstation Node_ID.

NUM_ORIGS

6

Number of origins (coordinate systems) used in all the toolpaths.

PART_NAME

0

The name of the part (full name, up to 256 characters)

PART_PATH

0

Path name - just the path, without the name itself (full path, up to 256 characters).

PFM_UNITS

0

The PFM units.

PLATFORM_

0

The platform in use (in GPP2, this is always "NT")

POST_FOLDER

0

Full path for the GPP2 post folder.
For reference only and cannot be changed while post run.

POST_NAME

0

Current Post Processor name.

PART_MAXX

1

Maximum X coordinate, measured from the Reference UCS

PART_MAXY

1

Maximum Y coordinate, measured from the Reference UCS

PART_MAXZ

1

The value of the highest part point, measured according to the reference UCS.

PART_MINX

1

Minimum X coordinate, measured from the Reference UCS

PART_MINY

1

Minimum Y coordinate, measured from the Reference UCS

PART_MINZ

1

Minimum Z coordinate, measured from the Reference UCS

PRT_LENGTH

1

Part length in Reference UCS orientation

PRT_WIDTH

1

Part width in Reference UCS orientation

PRT_HEIGHT

1

Part height in Reference UCS orientation

OUT_SIM

6

If TRUE output CIM file (for the machine simulation).

REF_NAME

0

Name of the reference UCS (by default - MACSYS)

REP_MODE

6

For report after post-split.
0 - By procedure. This is the standard mode, all procedures are reported.
1 - By GPP_NAME. In this mode each output program generates only one report line. This line will contain only data which is relevant to the last procedure of the current program.

RUN_IS_PREVIEW

6

If TRUE_, the post is being run to activate machine preview.

RUN_NUMBER

6

Output program numerator. Relevant when splitting post files from the post dialog.

SIM_RAPID_SYNCH

6

If TRUE do not split rapid motions in rapid.

SPLIT_DIG

6

Number of digits for the split file numbering, as was set in the Preferences.

SPLIT_INDX

6

Index beginning from 1.

SPLIT_SEP

0

Separator for the split file numbering (1 character), as was set in the Preferences.

SPLIT_TOT

6

Total number of splits in the session.

SPLIT_TYPE

6

The split mode. May get one of the following values:

SPLIT_TYPE_NONE = 0: No Split.

SPLIT_TYPE_TP = 1: Split by toolpath.

SPLIT_TYPE_TOOL = 2: Split by tool.

SPLIT_TYPE_UCS = 3: Split by UCS.

SPLIT_TYPE_PROC = 4: Split by procedure.

SPLIT_TYPE_GROUP = 5 : Split by group

STK_OFFS

1

Stock offset value as set in the stock dialog. Relevant for "Bounding Box" and "Stock By Surfaces". For "Stock By Contours", it will be that of the smallest contour offset (in case multiple offsets are used).

Not relevant for other stock types.

STK_LENGTH

1

Stock overall length measured according to the stock UCS (including Stock offset).

STK_WIDE

1

Stock overall width measured according to the stock UCS (including Stock offset).

STK_HEIGHT

1

Stock overall height measured according to the stock UCS (including Stock offset).

STK_MINX

1

Minimum X coordinate, measured according to the reference UCS.

STK_MINY

1

Minimum Y coordinate, measured according to the reference UCS.

STK_MINZ

1

Minimum Z coordinate, measured according to the reference UCS.

STK_MAXX

1

Maximum X coordinate, measured according to the reference UCS.

STK_MAXY

1

Maximum Y coordinate, measured according to the reference UCS.

STK_MAXZ

1

Maximum Z coordinate, measured according to the reference UCS.

STK_OFSZN

1

Stock offset Z-

STK_OFSZP

1

Stock offset Z+

TIME_SHH

0

Current time: hour.

TIME_SMM

0

Current time: minute.

TIME_SSS

0

Current time: second.

TOTAL_UCS_CNT

6

This system variable tells the EX2 program how many different origins (UCS’s) are used in the entire toolpath. The count does not include UCS’s that are dynamically created by GPP2 when using transformations. It is available starting at the BEGINNING OF TAPE block.

TOTAL_TOOL_CNT

6

This system variable tells the EX2 program how many different tools are used in the entire toolpath. It is available starting at the BEGINNING OF TAPE block.

TP_ELEC_TYPE

6

Electrode type:
-1 - Unknown
 0 - Rough
 1 - Semi finish
 2 - Finish
 3 - Polish

USER_NAME

0

The logged-in user name

X_HOME
Y_HOME
Z_HOME

1

Home position, in the reference coordinate system.

X_MACH
Y_MACH
Z_MACH

1

The machine physical zero point as was input during the Cimatron PP interaction, presented in the reference coordinate system.

Block: BEGINNING OF Tape - Special Variables

Variable

Default format

Use and Comments

REPORT_OUTPUT_DIR

0

Report output folder.

XML_JOB_NUMBER

6

Job number.

XML_SETUP_COMMENT

0

NC Setup comment.

XML_SETUP_NAME

0

NC Setup name.

Block: BEGINNING OF Tape - Stock & Part XML Variables

Variable

Default format

Use and Comments

XML_PART_MAX_X

1

Part Maximum X coordinate from REF UCS.

XML_PART_MAX_Y

1

Part Maximum Y coordinate from REF UCS.

XML_PART_MAX_Z

1

Part Maximum Z coordinate from REF UCS.

XML_PART_MIN_X

1

Part Minimum X coordinate from REF UCS.

XML_PART_MIN_Y

1

Part Minimum Y coordinate from REF UCS.

XML_PART_MIN_Z

1

Part Minimum Z coordinate from REF UCS.

XML_PART_NUM_FACES

6

Number of Picked Faces Total.

XML_PART_TYPE

1

Part Type.

XML_SET_NAME

0

Part faces set name, if defined.

XML_STOCK_DIAMETER

1

Stock diameter.

XML_STOCK_OFFSET

1

Stock offset.

XML_STOCK_OFFSET

1

Stock XY offset.

XML_STOCK_REVOLVE_TYPE

0

Revolve Type.

XML_STOCK_TYPE

0

Stock Type.

XML_STOCK_Z_BOTTOM

1

Stock Z Bottom.

XML_STOCK_Z_TOP

1

Stock Z Top.

 

Backward Compatibility Notes:

  • In GPP2, the IMS_PRJN1 to IMS_PRJN13 variables are not used.

  • In GPP2, the CIRC_APPRX variable is not used.

  • In GPP2, the *_ORIGIN (X_ORIGIN, etc.) variables are not available in the BEGINNING OF TAPE block. They are only presented in the ORIGIN CHANGE blocks. The same is true for CURR_ORIG.

  • In GPP2, the variables PART_NAM2 to PART_NAM13 have been deleted. The PART_NAME variable is used to hold the full part name (up to 256 characters).

  • In GPP2, the variables PART_PAT2 to PART_PAT13 have been deleted. The PART_PAT variable is used to hold the full path name (up to 256 characters).

  • In GPP2, the variables LAST_TOOL and FIRST_TOOL have been replaced by functions that provide information about any parameter of the first or last tool. See GPP2 Language Reference Manual for details.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.