Machine Simulation (Machine Definition Variables)

System Variable

Default format

Use and Comments

A_SAFE_POS

B_SAFE_POS

2

The machine safe position alpha and beta angles. Only used for machine simulation output.

ASC_COLOR_FEED

0

RGB color for toolpath representation, feed motions.

Default color is light blue ("0 255 255").

ASC_COLOR_RAPID

0

RGB color for toolpath representation, rapid motions.

Default color is yellow ("255 255 0").

ASC_COLOR_MAXFEED

0

RGB color for toolpath representation, air motions in max-feed rate.

Default color is green ("0 255 0").

ASC_COLOR_CYCLE

0

RGB color for toolpath representation, drill cycles.

Default color is dark blue ("0 50 255").

ASC_COLOR_CONNECT

0

RGB color for toolpath representation, pseudo connections between the toolpath segments.

Default color is red ("255 0 0"). The pseudo connections are suppressed if set to the empty string ("").

MACH_SIM_NAME

0

The name of the machine simulator file.

MACH_SIM_ORDER

0

The order of parameters that are sent to the machine simulator for the specific machine (For example, "XYZBA"). Use the letters X,Y,Z, A (alpha) and B (beta) only.

MACH_SIM_TOOLCOMP

6

If set to TRUE_, GPP2 will apply tool length compensation for the simulator (assuming the simulator does not do so).

SIM_DELAY_TOOL_CHANGE

6

The combination of the variables SIM_DELAY_TOOL_CHANGE and SIM_TOOL_CHANGE_HERE (see below) enables the post writer to control the exact tool change point in the simulator.

If the SIM_DELAY_TOOL_CHANGE variable is set as TRUE_ at the end of the TOOL CHANGE block, it will delay the actual tool change in the simulator, which usually takes place at this point.

SIM_HIDE_TOOL_HERE

6

TRUE_ - Hide the tool from the spindle.

The tool will reappear at the next TOOL CHANGE.

SIM_IN_MOTION_CHECK

2

Instructs the machine simulator how to test for collisions in 4/5 axes machines in the middle of linear motions. See Machine Simulation In-motion Collision Checks.

SIM_SAME_ORIENT_CON

6

If set to TRUE in the BEGINNING OF CONNECT block, then the connection will be simulated in relation to the output UCS, (i.e. move up in Z axis, would be in relation to the Z of the output UCS and not the reference UCS).

SIM_SUPPRESS_OUTPUT

6

Temporarily suppress the SIM file output.

SIM_TOOL_CHANGE_HERE

6

The combination of the variables SIM_DELAY_TOOL_CHANGE (see above) and SIM_TOOL_CHANGE_HERE enables the post writer to control the exact tool change point in the simulator.

The SIM_TOOL_CHANGE_HERE variable should be set as TRUE_ at the exact point where you need the tool change to be done.

X_COORD_RESULT

Y_COORD_RESULT

Z_COORD_RESULT

1

The XYZ coordinate conversion results from the commands:

FROM_REF_TO_SIM_COORDS

FROM_SIM_TO_REF_COORDS

X_SAFE_POS

Y_SAFE_POS

Z_SAFE_POS

1

The machine "safe" position, which is usually considered as unknown. Only used for machine simulation output (no G-code is dependent on these variables).

The position is defined relative to the "machine" coordinate system, not to the REF UCS. In the machine simulator, it is defined relative to the table center.

Unlike other positions, the numbers define the position of the spindle center point, ignoring the tool.

X_SIM_OFFSET

Y_SIM_OFFSET

Z_SIM_OFFSET

1

The offset of the tool from the base location (used for reconfiguring, when the tool has changed its position).

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