Author Topic: Help with STEPS PER UNIT CALCULATOR  (Read 869 times)

0 Members and 1 Guest are viewing this topic.

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #10 on: October 05, 2018, 05:00:23 AM »
Tweakie,
On the stepper driver the lowest value I can set the microswitches for microstepping is 400....
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #11 on: October 05, 2018, 05:01:50 AM »
Or do you mean I should put the microswitches on the stepper to 1600 (200x8) and put "8" in Mach3 Motor tuning?
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Tweakie.CNC

  • Global Moderator
  • *
  • Posts: 7,641
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #12 on: October 05, 2018, 06:16:14 AM »
Quote
Or do you mean I should put the microswitches on the stepper to 1600 (200x8) and put "8" in Mach3 Motor tuning?

That is it exactly (sorry for my bad explanation).

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #13 on: October 05, 2018, 10:23:34 AM »
No probs Tweakie!!
Thanks for your help, I'll try it this afternoon ;)
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #14 on: October 05, 2018, 11:38:15 AM »
One last thing please:
My PSU is 36V/10A. My motors are rated 3A/425oz and the steppers drivers' are set to 2.84A. One of the microswitches can be set to "Maintain full current in the stop state" or "Automatically reduce current in the stop state". Which position is more adequate to help preventing missing steps, or it just doesn't matter?

Thanks
Cheers
Sono
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #15 on: October 05, 2018, 01:45:23 PM »
Ok, so I've

-set the stepper drives' to 1600
-in Mach3 "Motor Tuning" menu, in "Steps per" I put "8" as value
Result: the machines moves to wrong distances.

So I went to "Settings" and let Mach3 calculate "Steps per" and the number it came up with was 400. With this value the machine would measure spot on.

I tried changing the stepper microswitch to 3200 and Mach3 came up with 800 (oh surprise!).
I put the microswitches back to 1600 and 400 in Mach3 and tweaked Velocity and Acceleration a bit.
Final settings in Mach3 are:
"steps per": 400
Velocity: 1500
Acceleration: 200

Now the machine moves like this when activated through the keyboard and after a Feed Rate command of F900:
https://youtu.be/EmLgoyCIOMs

Does that look/sound ok? Any suggestions for improvement?
Thanks :)
Sono
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #16 on: October 05, 2018, 02:15:40 PM »
If it's of any use I tried a few "Verify" commands after several movements on all axis and it always comes up with results in this range:
X= -0.0900
Y= -0.0025
Z= -0.0281

Cheers
Sono
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline ZASto

  • Active Member
  • Posts: 118
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #17 on: October 05, 2018, 03:57:25 PM »
Ok so your 400 steps per is correct (MotorFullStepsPerRev / ScrewPitch) * Microstep gives (200 / 4) * 8 = 50 * 8 = 400 :)

Explain your "verify" commands, please.
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

Offline Sonolink

  • Active Member
  • Posts: 17
    • View Profile
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #18 on: October 05, 2018, 04:03:50 PM »
Explain your "verify" commands, please.

I just move the machine around using the 3 axis. Then I click on "Verify" in Mach3. Mach3 homes the machine and returns to the position it was and shows those numbers. Hope that explains :)
Chinese 3 axis 40x30 machine
JK02-M5 Breakout board
2M542 Stepper Drivers
Nema 23 3A/425oz Stepper Motors
Dell Optiplex 745 dedicated computer
Windows 7

Offline Tweakie.CNC

  • Global Moderator
  • *
  • Posts: 7,641
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Help with STEPS PER UNIT CALCULATOR
« Reply #19 on: October 06, 2018, 02:01:13 AM »
Hi Sonolink,

Reduce current in stop state is the usual and recommended setting for stepper drivers.
Your machine looks good and from the very short video sounds good too.
I do not know the purpose of the Verify Position command or what the displayed indication represents.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.