Hi, i'm quite new in this field of work.

I'm trying to setup an ATC with our CNC.

Right now i'm stuck trying to figure out how to create custom M function. I created a custom Marco witch do the tool change, but i need to link it to the M06 function for our machinist well being.

Could anyone point me how to do this ?

Thanks a lot.