Thursday, March 22, 2012

Custom M-codes

I once created an M40 to use on a VMC instead of M30.
This custom M-code would home Z axis, stop spindle, turn off coolant, move table forward for loading, and turn on chip conveyor.
With a couple parameters you can easily attach sub programs to any free M-codes.

No comments:

Post a Comment