|
Turning Operations: General and Machine Definitions for Turning
Turning Enabled Flag
To tell GPP2 that this post supports Turning, the following flag must be set in the STARTUP block:
TURNING_ENABLED = TRUE_;
Otherwise, GPP2 will not output posts for any Turning procedure, and will stop the execution with an error. This is in order to protect the users from outputting turning procedures using post processors, which do not support it.
Define 4/5 Axis Machine with Turning
In many machines, one of the rotary axes of a 4/5 axes machine also has turning capabilities and can be used as the Turning spindle. In other machines, there is an additional axis, which is used for Turning. GPP2 needs to be informed which axis is the Turning spindle.
Therefore, one (and only one) of the following new variables must be set in the post:
M5_A_TURNING – set to TRUE if the Alpha axis is used as the Turning spindle.
M5_B_TURNING – set to TRUE if the Beta axis is used as the Turning spindle.
M5_TURNING_OTHER – set to value 1 to 9 if one of the extra axes is used as the Turning spindle.
The definition of the machine in GPP2 should be:
GPP_PROCDEF DefineMachine;
// Alpha axis properties
M5_A_LETTER = "B";
M5_A_MIN_ANG = -5;
M5_A_MAX_ANG = 110;
M5_A_CYCLIC = FALSE_;
// Beta axis properties
M5_B_LETTER = "C";
M5_B_MIN_ANG = 0;
M5_B_MAX_ANG = 360;
M5_B_CYCLIC = TRUE_;
M5_B_TURNING = TRUE_;
//Machine definition statement
DEFINE_MACHINE TABLE_TABLE AX5_MY AX5_MZ;
|