CLEARP/XYPLAN,d-OFF
XYPLAN,d This statement establishes a clearance plane parallel to the XY plane at a distance d. Subsequent RETRCT statements will retrace the tool tip at rapid rate to this plane.
OFF This statement cancels a previously-established clearance plane. Subsequent RETRCT statements will retract the spindle to the Z axis home point, disregarding the tool length. This is the default condition assumed.
Example:
Input:
CLEARP/XYPLAN,5
GOTO/3,3,0
GOTO/6,6,0
RETRCT
GOTO/10,10
CLEARP/OFF
RETRCT
Machine Data File Output:
N0004G01X003Y003Z0F001$
N0005X006Y006$
N0006G00Z0005F0$
N0007G01X01Y01Z0F001$
N0008G00Z03F0$
SPSTCMND.chm