Retract planes in canned cycles

If the control allows the changing of retract planes during a canned cycle you must adjust the post with the following steps:

  1. In XBUILD, select CNC Info > NC Codes, and enter the G-codes for each rapid plane under Z rapid retract(this is the higher plane, G98 on a Fanuc) and R plane retract (this is the lower plane, G99 on a Fanuc).
  2. In the Canned Move and all the Drilling Canned cycles, the reserved word <CYCLE-RTRCT> must be included.

For example, for Fanuc, the G98 and G99 G-codes are entered in the NC Codes dialog, and a sample drilling cycle would be:

{N<SEQ> }<CYCLE> <CYCLE-RTRCT> Z
<ABS-DEPTH> R <ABS-ZCLEAR> F <FEED><EOB>
{N<SEQ> }{X<X-COORD>}{ Y<Y-COORD>}<EOB>