- Posts: 22010
- Thank you received: 3
Rods "Spaceship" Scratch built Plasma Cutter build
- tommylight
-
- Offline
- Administrator
-
Please Log in to join the conversation.
tommylight wrote: Just a stab in the dark, but what are the chances of Step and Dir wires being reversed?
Well they were right when I turned the connector over to access the terminal screws on the stepper drive end! But totally wrong when I plugged it in! Funny that! Thanks Tommy.
I've still not got properly working yet, I inverted the phases to get it moving the right way and now when jogging, the axis alternates direction every time I jog it.
Its 7:00am here already I am sweating like a pig in my garage, I think it will be a hot day! I'll look at it again this evening. It will be something silly. I think the direction can be inverted in the .ini file, but not sure how. This is what I have now.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
That is a quote from Mythbusters.
You have max_vwlocity at 3000mm/sec, that is 180000mm/minute!!! Do you intend on having Z axis fly off when joging?
Also tje dir setup and dir hold are way to short, but may be ok, depending on the drives, i would set them at 2000 on all axis.
Regards,
Tom
Please Log in to join the conversation.
tommylight wrote: Oh there's your problem !!!
That is a quote from Mythbusters.
You have max_velocity at 3000mm/sec, that is 180000mm/minute!!! Do you intend on having Z axis fly off when joging?
Also tje dir setup and dir hold are way to short, but may be ok, depending on the drives, i would set them at 2000 on all axis.
Regards,
Tom
Tommy, thanks, I knew I would have done something silly but ran out of time before working hours.
Surely 18 m/min is not too much to ask from a NEMA23 on a 5mm pitch ball screw!
I did a lot of cutting and pasting between axes. The 18 m/min is right for the gantry axis. It actually tested good for 21 m/min but I backed it off a bit. I'd say its about 6 times too fast for the Z....
The timings have been OK at that so far but I'll keep an eye on it.
Please Log in to join the conversation.
My stepper motors and larger power supply arrived today, so very happy about that. Very prompt service from steppers online ex. China.
I think the power supply will just fit in where my 7 amp supply is now so squeezing it in will be easier than I was expecting. I will use the existing smaller power supply to run my Arduino based rotary table which has been waiting to be put in an enclosure for a couple of years. Its a pretty cool bit of Arduino coding as all the config is stored in EEPROM so there is no need to edit the code itself. But I should stick on topic I guess. But here is how Scott in Canada used my Arduino Sketch to index his rotary table on a mill that did not support a 4th axis. Very cool, just moved the tool past a proximity sensor wired in place of a press button switch on the Arduino to make it index.
This is what really started my CNC journey. I shorted a wire and blew up a Gecko stepper controller when testing it out. I replaced my Gecko with a 4 axis kit complete with cheap breakout board for not much more than the Gecko. So now I'm using these drives on my plasma table, I think I'll end up buying a Gecko again for the Rotary table!
I'll tackle the misconfigured HAL tomorrow.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
18m is all good, but you had it at 180m!
I had a plasma cutter that was happy up until 36m/minute, but even that is way to much for a machine.
Geckos are nice and i have plenty of them, but found Lam Technologies at near the same price but way better, and imdestructable, i did test them and they will not die even at reverse power supply polarity. And working microstepping up to 25600 pulses per revolution, smooth like silk.
Regards,
Tom
Please Log in to join the conversation.
The OMC steppers I'm using are much easier to source as we are so close to China and they hold some stock in my country. On my next build, I will probably use servo motors and step up one more level. I'd probably source them from China. I think there is an opportunity in Australia for a reasonably priced plasma table as there seems to be nothing under $20-$30k. I've got CAD files for every part so the next one would be all cut for me and after tapping a few holes it would go together in no time. But then again, the spaceship might not take off into that orbit.
So far, I am so happy with the quality of the build. Everything is really precise and accurate except for a little bit of sideways slop in the magnetic mount (which I think I have a simple solution for).
The only thing I've had second thoughts about is that as it currently stands, the rails mount to the table legs and therefore it might be very hard to get them square as the legs will need to be perfectly aligned. I might revisit that so they mount to a lateral beam but I can't change the mounting rails.now I've ordered them as they are hundreds of $ each.
Please Log in to join the conversation.
So after slowing the Z axis down top a more leisurely pace, both up and down arrows were moving in identical direction. I realised it had to be a wiring fault and quickly found the loose wire.
Now I've got a homing issue on the Z axis which has a shared limit/home switch at the upper limit of travel
I get a "Hit limit in home state 7" error. This stumped me for a while until I realised that i had forgotten to add.
Now it looks like I've shared the home switch with the wrong limit switch as I had to hit estop as the Z axis hit its upper hard stop. I thought I just have to swap the Z axis limit switches around between min and max but that did not work. Its too late now so I'll revisit it over the weekend.
Here's what I've got in HAL.
Please Log in to join the conversation.
Please Log in to join the conversation.
rodw wrote: Now I see that Z-home has no prior value so I'm guessing joint.3.home-sw-in needs to be set to be the same as min-z
I'm glad I went to bed when I did last night. Just a stupid error.
How on earth can an axis home itself if HAL does not have a home switch?
I had not sent the home switch input anywhere, so this did the trick.
I think that means I have both Y & Z axes working so i need to wire up my NEMA 34 steppers and get on with the dual joint axis.
I'm a bit annoyed at my laser cutter. I gave him some files nearly 2 weeks ago and earlier this week he said he could not fold the gantry ends in 10mm aluminium as it would crack (I think that is risk limiting jargon for might crack).
Anyway, I reworked the gantry ends in 6mm and that took hours as I had to rework another 2 parts. in the end, I got it done, but cursed my inexperience with 3D design software! I'll probably weld in some gussets to stop the ends from twisting but I have not bothered about them until I know where all the wiring done!
Please Log in to join the conversation.
