Page 1 of 1

m code for the spindle brake and release? <answered>

Posted: Mon Dec 25, 2017 3:37 pm
by frijoli
I can't seem to find it in the manual.

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 4:37 pm
by martyscncgarage
frijoli wrote: Mon Dec 25, 2017 3:37 pm I can't seem to find it in the manual.
Try M94/M95
They are supposed to turn on and off outputs.
Depends on which output you have the brake assigned to.
Let us know how it goes

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 4:55 pm
by frijoli
martyscncgarage wrote: Mon Dec 25, 2017 4:37 pm
frijoli wrote: Mon Dec 25, 2017 3:37 pm I can't seem to find it in the manual.
Try M94/M95
They are supposed to turn on and off outputs.
Depends on which output you have the brake assigned to.
Let us know how it goes
Thanks Marty!
I didn't realize it was optional code.

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 5:03 pm
by martyscncgarage
frijoli wrote: Mon Dec 25, 2017 4:55 pm
martyscncgarage wrote: Mon Dec 25, 2017 4:37 pm
frijoli wrote: Mon Dec 25, 2017 3:37 pm I can't seem to find it in the manual.
Try M94/M95
They are supposed to turn on and off outputs.
Depends on which output you have the brake assigned to.
Let us know how it goes
Thanks Marty!
I didn't realize it was optional code.
Let us know if it works. I have not tested it myself.
I would have the the spindle brake turns off and on with M3 and M5

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 5:24 pm
by frijoli
I'm still working on the post processor and wiring for bench testing! lol

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 6:17 pm
by lilb93
The brake you talk about is on the head to slow down the spindle?
I will be doing a bridgeport clone a Millport Knee mill. It has the air control for the brake on the spindle. I am just going to remove it and install an external brake from on the VFD and make it simple.

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 7:33 pm
by frijoli
lilb93 wrote: Mon Dec 25, 2017 6:17 pm The brake you talk about is on the head to slow down the spindle?
I will be doing a bridgeport clone a Millport Knee mill. It has the air control for the brake on the spindle. I am just going to remove it and install an external brake from on the VFD and make it simple.
To be clear. I am not using a brake. I am working on a post processor for Fusion 360 and needed to know what the code was.

I have only seen a brake on a CNC used to hold the spindle AFTER it has stopped.

Clay

Re: m code for the spindle brake and release?

Posted: Mon Dec 25, 2017 8:14 pm
by martyscncgarage
frijoli wrote: Mon Dec 25, 2017 7:33 pm
lilb93 wrote: Mon Dec 25, 2017 6:17 pm The brake you talk about is on the head to slow down the spindle?
I will be doing a bridgeport clone a Millport Knee mill. It has the air control for the brake on the spindle. I am just going to remove it and install an external brake from on the VFD and make it simple.
To be clear. I am not using a brake. I am working on a post processor for Fusion 360 and needed to know what the code was.

I have only seen a brake on a CNC used to hold the spindle AFTER it has stopped.

Clay
Correct, spindle brake locks the spindle motor when not in operation. It is energized to unlock it when in operation.
When a spindle has a brake, you do need a manual method to unlock it to sweep a part. So an Auxillary button would be handy to lock and unlock it.
Toggling the output on and off.

Re: m code for the spindle brake and release?

Posted: Tue Jan 09, 2018 1:22 pm
by Centroid_Tech
Just wanted to make this clear that the standard Centroid control does not have a custom M code that deals with releasing the brake. If you select the SpindleBrakeRelease as an output in the Wizard, the standard PLC program will turn that output on and off based on when the SpindleEnableOut is turning on and off. You can also manually turn that output on and off by pressing the Aux7 button. So, as far as the post processor, all you should have to do is turn the spindle on with either an M3 or an M4 and the Centroid control will automatically engage or disengage the spindle brake.

If you wanted to, you can create a custom M code to turn that on and off but because the standard PLC program has that logic built into it, it wouldn't make sense.

Re: m code for the spindle brake and release?

Posted: Tue Jan 09, 2018 8:17 pm
by frijoli
Centroid_Tech wrote: Tue Jan 09, 2018 1:22 pm Just wanted to make this clear that the standard Centroid control does not have a custom M code that deals with releasing the brake. If you select the SpindleBrakeRelease as an output in the Wizard, the standard PLC program will turn that output on and off based on when the SpindleEnableOut is turning on and off. You can also manually turn that output on and off by pressing the Aux7 button. So, as far as the post processor, all you should have to do is turn the spindle on with either an M3 or an M4 and the Centroid control will automatically engage or disengage the spindle brake.

If you wanted to, you can create a custom M code to turn that on and off but because the standard PLC program has that logic built into it, it wouldn't make sense.
Good information.
Thank you.