Advanced System Variables

The following system variables are only used in conjunction with advanced 5X machines. They are also available throughout the post process, and are not specific to any given block.

System Variable

Default format

Use and Comments

VIRTUAL_ANGLE_1

VIRTUAL_ANGLE_2

VIRTUAL_ANGLE_3

2

These angles are calculated by the CALC_VIRTUAL_ANGLES statement when virtual axis rotations are used on the machine to define work planes. The rotation method (Euler or Spatial), the axes used and the order of rotations are all defined by the VIRTUAL_AXES variable.

I_WORKPLANE

J_WORKPLANE

K_WORKPLANE

18

The Z orientation vector of the work plane rotation matrix (calculated by the CALC_WORKPLANE statement).

IX_WORKPLANE

JX_WORKPLANE

KX_WORKPLANE

18

The X orientation vector of the work plane rotation matrix (calculated by the CALC_WORKPLANE statement).

X_OUTPUT_UCS

Y_OUTPUT_UCS

Z_OUTPUT_UCS

1

These variables describe the current origin of the output UCS, relative to the REF UCS. By default, they are set to (0,0,0), and can be modified with the SET_OUTPUT_UCS statement.

I_OUTPUT_UCS

J_OUTPUT_UCS

K_OUTPUT_UCS

18

These variables describe the current output UCS Z orientation vector, relative to the REF UCS. By default, they are set to (0,0,1), and can be modified with the SET_OUTPUT_UCS statement.

IX_OUTPUT_UCS

JX_OUTPUT_UCS

KX_OUTPUT_UCS

18

These variables describe the current output UCS X orientation vector, relative to the REF UCS. By default, they are set to (1,0,0), and can be modified with the SET_OUTPUT_UCS statement.

X_NONROT_UCS

Y_NONROT_UCS

Z_NONROT_UCS

1

These variables are the same as the output UCS origin relative to the REF UCS, but without considering any table rotation. They are set each time the SET_OUTPUT_UCS statement is used.

I_NONROT_UCS

J_NONROT_UCS

K_NONROT_UCS

18

These variables are the same as the output UCS Z axis relative to the REF UCS, but without considering any table rotation. They are set each time the SET_OUTPUT_UCS statement is used.

IX_NONROT_UCS

JX_NONROT_UCS

KX_NONROT_UCS

18

These variables are the same as the output UCS X axis relative to the REF UCS, but without considering any table rotation. They are set each time the SET_OUTPUT_UCS statement is used.

CON_AFTR_RECONFIG

6

Set to TRUE_ if this connection takes place immediately after a machine reconfiguration process. It is FALSE_ in all other cases.

INACCURATE_ORIENT

6

This flag is set by GPP2 to TRUE_ if the tool orientation is inaccurate because the machine contains one or two indexed (non-continuous) axes, and the required tool orientation cannot be achieved.

It is set during the BEGINNING OF CONNECT block if the connection point orientation is inaccurate, and in all motion blocks (For example, LINEAR MOTION). It is always FALSE_ in machines without indexed axes.

INACCURATE_ERROR

2

This variable is meaningful only if the INACCURATE_ORIENT flag is set to TRUE_. It indicates the size of the orientation vector error, in angles (the difference between the required and the resulting tool orientation).

 

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