How to get the spindle output with a tool change

This is a simple tool-change shutdown macro that starts the spindle immediately following the tool change, despite where the CAM system might actually output the SPINDL command.

    %L01=$FGET(SPINDL,0,$FGET(GOTO))

    IF/%L01.GT.0

    TAPEWT

    TAPEOP/DELETE,%L01

    ENDOF/IF

To have the spindle command output with the tool change, place the macro code in the tool-change startup macro instead.

Benefit to User
Simple macros can be used to control the order of commands in the NC code, despite how they are ordered in the CAM aptsource file.

For more information or comments, please do not hesitate to contact us at TechTipTuesday@icam.com

Get an ICAM Productivity Tools Demonstration

If you already know which solution you need, and have information on your machine, click on the button below to build your custom quote!

If you wish to get in touch with one of our representatives, click on the button below and we will contact you back shortly.