Hello, I need help with my M6start macro. My spindle has these outputs:
spindle stopped - input14 is active
spindle running - input14 not active
tool in spindle - input13 is active
spindle chuck is open - input12 is active
Now I would like to put in some safety. I would like not to do a toolchange if the spindle is running, and also if the tool is stuck in spindle. I noticed yesterday that the tool was stuck in spindle after long cutting. That could be disaster if machine was doing toolchange.
So please can someone help me what code do I need to put in my M6 macro and where in code to prevent this to happen. Attached is the M6 macro. Thanks.
Peter