Welcome to Our Community

Unlock hidden features. Sign Up for Free Today!

Quite cut speed control question.

Discussion in 'CNC Mills/Routers' started by Dave Lowry, Jul 31, 2015.

  1. Dave Lowry

    Dave Lowry Well-Known
    Builder

    Joined:
    Dec 18, 2014
    Messages:
    25
    Likes Received:
    4
    Hi folks, I am having problems getting the quiet cut speed controller working.

    I have the tinyg V8, latest firmware, and the common speed controller you see everywhere. I have the version with the small soldered in place pot.

    When I issue the M3 I get a low speed, M4 a high speed. M5 however gets me a low speed also. It is slower than M3.

    I can send p1csl etc. settings and they stick. However the S speed command seems to only round up or down to the hi low, if that makes sense.

    I cannot issue the M957 and get an RPM sent back.

    What can I check, or any advice at all?

    Thanks!
    Dave.
     
  2. Dave Lowry

    Dave Lowry Well-Known
    Builder

    Joined:
    Dec 18, 2014
    Messages:
    25
    Likes Received:
    4
    Got my answers. In case anyone else has trouble, this is what I found:



    Seems tinyg only understands M03, M04, M05.
    I think I have it down now. I could not directly find all the info I needed in one place, so here is my attempt to help future readers. Feel free to comment to correct me where needed.

    The 10 Standard spindle related settings in tinyg as of Tinyg8 firmware ver 0.97 build 440.16 with comments:


    [p1frq] pwm frequency 100 Hz

    I do not see this having any effect.


    [p1csl] pwm cw speed lo 1000 RPM

    [p1csh] pwm cw speed hi 2000 RPM

    These work and should be set to 1000/12000 (match your spindle)


    [p1cpl] pwm cw phase lo 0.125 [0..1]

    not sure if adjusting is required. Seems good at 0.125


    [p1cph] pwm cw phase hi 0.200 [0..1]

    I found I had to go to 1.0 to get a high RPM

    I have no idea what this really means, or if setting to 1.0 is good or bad for the motor/speed controller. I just know it makes my 'hi' RPM go up to about where I can get them under potentiometer control.


    [p1wsl] pwm ccw speed lo 1000 RPM

    [p1wsh] pwm ccw speed hi 2000 RPM

    [p1wpl] pwm ccw phase lo 0.125 [0..1]

    [p1wph] pwm ccw phase hi 0.200 [0..1]

    The ccw settings work as above, except that the spindle does not seem to want to rotate in reverse as intended.

    Is there any setting for this?


    [p1pof] pwm phase off 0.100 [0..1].

    This one confused me the most. Not wanting to play with any settings I did not understand, I tried to get the M5 command to turn off my spindle as it should, but would not work with factory settings on the tinyg. I finally found a ref somewhere that setting this to 0 will do it. It does, not sure why this would be factory set to anything other than zero.


    Note, to change parameters type, for example,→ {“p1csh”=10000} sets CW speed to 10,000 rpm


    Also, M05 seems to be the same as M5 for the tinyg. Both are excepted.


    Another thing, I read somewhere that you need to reset the Tinyg after any PWM setting changes. I did not find this. I found all the above changes were seen with the next command issued.


    The command M3 S10000 should turn your spindle on to 10000 rpm with the above settings.


    Funny thing with mine, With the above settings, (10000 rpm on hi) the spindle would not turn on unless I sent the M3 S command with a value of 9325 or lower. Similar results for any p1csh setting. Maybe it has something to do with the p1cph setting. I do not know yet.


    That's it. Please add or correct if needed.


    Dave.
     
  3. Joe Santarsiero

    Joe Santarsiero OB addict
    Staff Member Moderator Builder

    Joined:
    Oct 30, 2014
    Messages:
    648
    Likes Received:
    135
  4. Dave Lowry

    Dave Lowry Well-Known
    Builder

    Joined:
    Dec 18, 2014
    Messages:
    25
    Likes Received:
    4
    Thanks Joe. I did not know this. I never tried it because it is no longer being developed. I will give it a look.
     
  5. Joe Santarsiero

    Joe Santarsiero OB addict
    Staff Member Moderator Builder

    Joined:
    Oct 30, 2014
    Messages:
    648
    Likes Received:
    135
    No prob. whatever you set for the cw setting set them the same for ccw.
    I believe the cpl and cph settings are to indicate what part of the range the high and low spindle speeds you set. i.e. if the range you indicate is 2000 to 6000rpm then a 0 at low will be 2000 and a 1 at high will be 6000. A .5 at low will be 4000rpm. so if your high setting is at 1 and it only gives you 9300 try to set it at 1.1 for example to try to get the speed into the 10k range. There is probably some voltage loss in the com signal between the two components and a 1.1 or 1.2 setting will compensate.
    I'm just guessing here though. You may have to tinker with the high and low setting themselves.

    Let us know what you find.
    Good Luck
    Joe
     

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Building needs!
  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provide resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop theirs!

    Donate to FairShare!