Page 1 of 4

Spindle does not respond to MDI or program control SOLVED

Posted: Mon Jun 03, 2019 2:53 pm
by Tlempicke
This is a separate problem from what I reported on earlier. With the help of the group my spindle now does just fine in manual control

When I go to the MDI window however I can not get it to do anything. Issuing the command M3 does nothing. As an experiment I drew up a simple geometric shape in Aspire and created a tool path. Upon checking the G code I see that the commands to run the spindle at the speed I selected are there, but when the program is run the spindle does not work. Tried it both in Auto and manual modes.
I created a fresh report, which is attached.
report_F045DA7F1D3D-1211181417_2019-06-03_14-18-09.zip
(317.11 KiB) Downloaded 116 times

Re: Spindle does not respond to MDI or program control

Posted: Mon Jun 03, 2019 3:39 pm
by Sword
Just a quick look/thought, Output #8 is set for SpinFWD, is that output physically connected to the VFD run terminals? Does the output #8 relay click when issuing a M3?

Re: Spindle does not respond to MDI or program control

Posted: Mon Jun 03, 2019 3:44 pm
by cnckeith
are you using a VFD? is so are you typing in M3 S2000 and pressing cycle start?

and post the G code program you mentioned and the commands you are using in MDI mode.

Re: Spindle does not respond to MDI or program control

Posted: Mon Jun 03, 2019 6:28 pm
by Ken Rychlik
There is another param setting for which way it gets it's commands to run. Usually 00 for keypad and 01 for external input. Then if you have the wiring to the correct places, basically touching those two small control wires together, makes it run.

Re: Spindle does not respond to MDI or program control

Posted: Tue Jun 04, 2019 10:48 am
by Tlempicke
To make this a bit clearer I have made a video of the problem. You can see it at

https://www.youtube.com/watch?v=wMC5vQVN_Ck

I am also attaching a copy of the G code file that I referenced in my earlier message.
test.cnc
(4.57 KiB) Downloaded 168 times

Re: Spindle does not respond to MDI or program control

Posted: Tue Jun 04, 2019 11:02 am
by cncman172
One thing to check is on the spindle setup page. What speed range did you populate. If you put the minimum speed as say 9000 RPM, since you have an air cooled spindle, and you issue the command M3 S6000 it will not turn on the spindle since it does not meet the minimum RPM. Check this out and I think you will find your issue.

Russ

Re: Spindle does not respond to MDI or program control

Posted: Tue Jun 04, 2019 3:14 pm
by cncsnw
If you set your minimum spindle speed to 9000 RPM, then program M3 S6000, it should start and run at 9000 RPM, and it should display a warning message similar to "5038 SPECIFIED SPIN SPEED < MIN SPIN SPEED".

Re: Spindle does not respond to MDI or program control

Posted: Tue Jun 04, 2019 3:20 pm
by cncsnw
The reason the spindle does not start with M3 or M4, is that your M3 and M4 macro files "mfunc3.mac" and "mfunc4.mac" are corrupt.

The simple fix is to just delete them, since M3 and M4 are built-in functions that don't actually require custom macros.

Re: Spindle does not respond to MDI or program control

Posted: Wed Jun 05, 2019 6:36 am
by Tlempicke
Where are the files? How do I get to them?

Re: Spindle does not respond to MDI or program control

Posted: Wed Jun 05, 2019 6:39 am
by martyscncgarage
Tlempicke wrote: Wed Jun 05, 2019 6:36 am Where are the files? How do I get to them?
Cncm directory