Welcome to Our Community

Unlock hidden features. Sign Up for Free Today!

OX/ TinyG/ Chillipeppr bugs

Discussion in 'CNC Mills/Routers' started by Mitchell Taylor, Aug 5, 2016.

  1. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    Hey guys, a few questions I need to sort out (once the Ox is back running, see TinyG went bangG)
    Firstly the set up,
    As title says I have a 1500x 1000mm OX with a 800W Kress spindle, TinyG running Chillipeppr
    3 limit switches and a touch plate I just put in.
    Ok so when I first got everything powered up I had all the wrong settings in and the unit went super fast but it would jam up after a short distance running fast, it would suddenly stop and make bad noises. I eventually got all the correct step and angle settings in and had it running much slower which is when my second issue occured whilst I installed the limit switches, the Y and X axis would over run the limits as in not slow down fast enough and again a bad noise would happen in the steppers. I think I have solved this with new jerk settings (not 100% as my TinyG just died :(.. )
    I saw another guys post (sorry don't remember the user) and he had all his config file online TinyG V8 on 1000mmx750mm OX CNC Kit W/ GT3 & PWM Spindle - Pastebin.com so I copied those settings into mine as much as I needed which included a much higher max speed of 16000 for both feed and velocity max and gave it a run.
    Again I found the steppers locking up after trying to jog at the faster rate which is when my TinyG gave out. I'm a bit lost to know why the steppers are jamming up?
    Another thing is I set up the Touch plate witch some copper and everything as it should- going into Z min and ground, and even had it go down and chillipeppr makes the audible noise that it has hit the plate but the SPdir goes off and everything stops and needs a reset.. surely that is not right? I have the Z min set as limit and Z max as Homing.
    I think that is enough for one post haha sorry and thanks!

    Please see an edited Config file attached
     

    Attached Files:

  2. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    I just read up about the stepper motor current pots on the TinyG, these are in the middle and haven't been adjusted... Im running nema 23s and a 17 for the Z.. would that be the issue with them 'jamming'? I'm guessing that's what they call stalling?
     
  3. Evan F

    Evan F Journeyman
    Builder

    Joined:
    Oct 13, 2015
    Messages:
    44
    Likes Received:
    9
    I have a similar setup as you. I run my nema23's at about 2/3rd-3/4th turn on the pots. I also run jerk much lower than your config. I am running X & Y jerk maximum at 2500. My x axis did the same as yours until I raised the power and lowered jerk.
    Your Z jerk is way low at 50. I run Z jerk max at 1000.

    For the z homing and touch plate issue, I had the same issues during the initial config. I got it working by adjusting the travel settings for z as follows: z travel min is -150 and z travel max is 150. That way z can move 150 in either direction, no matter where tinyg thinks zero is. Remember Z axis plunges are in the negative direction.

    If you have one limit switch on z wired to z max and the touch plate connected to z min, you should set z max to (3= limit + homing) and set z min to (0 = off). It will still read the touch plate with the setting = off. If you turn it on and accidentally touch the probe/touchplate during a job the tinyg will think you hit a limit switch.

    Is your tinyg fried? If it is stuck against a limit switch, you'll need to back it off before it will run again. You can move it by hand with the power off.
     
  4. Joe Santarsiero

    Joe Santarsiero OB addict
    Staff Member Moderator Builder

    Joined:
    Oct 30, 2014
    Messages:
    645
    Likes Received:
    134
    Sounds like you need to turn down your max vel settings. The faster you drive a stepper the less torque it has and less less force it takes to stop and stall it. 5,000mm/min vel seems a more reasonable starting point imo.
    I don't remember how the TG handles accel and decel, but if both are tied together you might want to try lowering that too. Might allow you to stop sooner.
    Have you read through this page?
    TinyG Tuning · synthetos/TinyG Wiki · GitHub
     
  5. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    Legend thanks, I hadn't tried to Z min limit as off which is why it's going into Spdir angry mode. Yeah those Vels were way high.. I was running 5000 max and 2000 search prior but thought why not if this guy had it working so I'll bring them down when I get a new TinyG... yeah it's dead.. guessing the driver circuitry or some power regulator is dead on it. I'm waiting to hear back from Synthetos now..
     
  6. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    Hey thanks! Yeah I'll lower the velocity down to 5000 or 6000 max which is what it was on previously! I've been reading as much as I can and thought I had read all the most important parts already but I was wrong! Much to learn this one has but with a dead TinyG I can't test for a while... takes time for a new one to get to Sydney. Thanks again
     
  7. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    hey guys, bit of an update. I got the TinyG back up and running (still no idea what happened but disconnected all the limits and outputs and rewired and all ok even with no shorts...) either way, I lowered the velocity which helped, I will play with the current pots a bit more as jogging pressing the up, left right etc is stuttering unless I hold shift.. Now this is my BIG issue as I have nearly had the spindle dig to China when the Z randomly goes the wrong direction?! Watch video here
    The X and Y sometimes do similar things like one motor on the Y will go foward the other backyards and the X going in reverse... is this a Tiny G or Chillipeppr issue?!
     
  8. Evan F

    Evan F Journeyman
    Builder

    Joined:
    Oct 13, 2015
    Messages:
    44
    Likes Received:
    9
    Did you try the settings I suggested above? I had the same issue until I allowed for negative z travel.
    For the X&Y axis, it could be noise on your limit switches. Are you using shielded cable and grounding the shield at a common location? You have normally open limit switches configured, they are more susceptible to noise.
    You could verify running with the limit switch wires disconnected and away from the tinyg to see if problems stop.
     
    Joe Santarsiero likes this.
  9. Mitchell Taylor

    Builder

    Joined:
    Jun 6, 2016
    Messages:
    9
    Likes Received:
    0
    I didn't yet no, I will do that next. I just find the programming strange as I would have thought it shouldn't have any limits (the widget) it should just go - until it hits a limit switch..just like homing does. I'm actually about to raise my Ox considerably off the table so I get more room for my Z.. obviously there could be some small amount of play but it's a bit useless having a long Z axis with so little travel. I keep hearing about NO switches can have noise but I don't understand that at all as noise is only a concern on analog inputs and this is a dry contact digital input and it seems to only happen when the unit has done a touch plate press or after something has been reset or locked up somehow. Thanks for the tips though his guys!
     

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!