Spindle max rpm permanently (Milling cutter motor)



  • Ok, so first up, we need to determine what values are set for your spindle speed parameter. Type $$ in a command line interface. We're looking for line $30. If it says 255, for example, then you can set your speed between 0 and 255 and use a command between those numbers.

    Now, you should be able to turn on and off, your spindle speed, using the following command:
    m3 s255
    Sets full speed

    Or, you can vary that, by typing a lower amount
    m3 s200
    Sets partial speed

    m3 s0
    turns off the spindle

    Now, why do I mention that? Because you can edit your gcode before you send it off and make adjustments before you start. I will admit, I am a bit rusty, so I may have the commands slightly off, but I am at work, so I can't test, but I have had great success modifying my speed this way. Will test later today when I get home. But this gets you a head start on what to look for.

    Edited for clarification.


  • Developer of T2Laser Software

    @cesnyderces You are correct, that should work to test it.



  • Thanks, yah, I've been focused on 3D printing, so a tad rusty on GRBL commands.



  • Oh, before I forget, the most you'll get out of the stock setup, in terms of rpm, is about 5000 rpms. You can bump that up, by using a 24v power supply, but I would only plug that into the motor itself. Of course that means bypassing any speed control. Do not plug 24volts straight into the board. This would get you about 10,000 rpms and a bit more torque. IMO, it's often better to run as fast as you can.



  • @cesnyderces Thank you for advice, i'll try these commands. But i think something is already dead on board, because spindle turns on at power up even if arduino board is not pluged in board.



  • @cesnyderces Sad, but commands don't work. I hope i'm not a total noob on such things - i've built Prusa i3 and tuned it to work fine.

    For 24v power on spindel, i think we can read PWM data from arduino and attach small speed/voltage controller based on it.
    But that will be the other story.

    I think we can close this topic. It is hardware problem. I need new MANA board, or somehow repair existing.



  • Don't give up quite yet, let me get home and verify that I have my commands right, I'm doing this from memory. Zax was helpful in confirming that I was right, but I just want to make sure.



  • Hello sheynar
    i have just purchased the Eleksmill at Banggood
    I'm facing the same problem spindle motor or laser running permanently
    I tried the commands M3 SO in elekscamv3.1 with Eleksrom 3.8 firmware but no reaction
    in ts2 laser with gbrl 1.1 spindle off doesn't stop it either,
    I also believe it is a hardware problem,
    did you already solved it and how? new board or new mosfet ?


  • Developer of T2Laser Software

    You don't have them both connected do you?



  • hello Zax no one at the time
    first I tried Elekscam and after that i installed the ts2 lasersoftware and tried this both will not stop the laser or spindle.


  • Developer of T2Laser Software

    @Paul-den-Toom When you tested T2Laser did you install my firmware (Grbl 1.1e) and then reset the machine?



  • I installed Grbl 1.1E and how do you want me to reset the machine?

    0_1503184018647_upload-dc3432eb-19fc-4200-9c6f-b297eba16cab


  • Developer of T2Laser Software

    @Paul-den-Toom It is reset, just by connecting again. So after doing this the laser or motor are both always on. That is very odd, do you have a volt meter to check the outputs?



  • I have measured on the motor output always 12VDC and on the laser output 12VDC and 0 vdc to 3.7 vdc depending on the settings
    the laser output looks good to me but the motor output is always high at 12VDC
    the motor output is also used by the 500mw laser


  • Developer of T2Laser Software

    @Paul-den-Toom The motor output is a 12V PWM signal so you should be able to see it turn on / off, but may not see anything except 12V depending on the meter. An oscilloscope would show the square wave PWM signal.



  • i can do the measurement with an oscilloscope
    Anyway i think i can make the conclusion that the board is broken.
    There is a mosfet IRLR120N on the board is this one responsible for the motor output?
    Are there somewhere schematic drawings available ?
    I can ask Banggood for a new board and in the meantime try to find out what is wrong with this one


  • Developer of T2Laser Software

    @Paul-den-Toom Yes, it switches the ground and is driven by D11 from the Nano. The circuit is very simple, there are schematics of the older design on the Benboxlaser.us forum.



  • it is still running When i take the nano out so i believe the mosfet is failing.


  • Developer of T2Laser Software

    @Paul-den-Toom Without the Nano it is possible the gate input is floating so the motor may be on, you need to short the D11 to ground (with Nano out).



  • Okee , i connected D11 to ground with Nano out , no result still max output


Log in to reply
 

Looks like your connection to Offical Forum was lost, please wait while we try to reconnect.