How to find the right Step Time/Step Space?

More
11 Sep 2021 20:49 - 11 Sep 2021 20:51 #220256 by Twizzlermill
How to find the right Step Time/Step Space? was created by Twizzlermill
Hello,

I'm afraid this will be just (another) one of many questions I have.

I've got steppers with integrated drivers (JMC) which are not on the list for stepper drive timing(This one: wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing ).  What I found what I think might be related (but what I admittedly don't really understand well) is this:

Remark:
b. t2: DIR must be ahead of PUL active edge by 6μs to ensure correct
direction;
c. t3: Pulse width not less than 2.5μs;
d. t4: Low level width not less than 2.5μs.


"PUL" and "Pulse" mean Step/STP here.

The Intro to the Stepper Drive Time list says this:

If your unsure about your drive timing start high like 10000 for each and test.


Fair enough, but honestly, I have no idea what Step Time and Step Space even mean exactly, or, more practical, how they influence my machine's behavior and what to look for. 

Same goes for the other two parameters, Direction hold and setup. I have a vague idea what it's about but maybe it's just too abstract for me.

The list also mentions Falling and Rising Edge. I understand on a basic level what it is, but I don't understand the ramifications of choosing one or the other. I can change rising/falling edge on my driver via DIP switch.

I must say, while it was a glorious feeling to see the router move on its own for the first time today, I also realized how much I still need to figure out (like a whole other topic is getting my two y-axis motors to move… But that's for another day I guess)

TIA
Last edit: 11 Sep 2021 20:51 by Twizzlermill.

Please Log in or Create an account to join the conversation.

More
11 Sep 2021 22:08 #220264 by PCW
I would set the setup and hold times to 10000.
This is 10 us, ample margin relative to the
drives 6 us specification.

Initially I would set the step time and step space to
5000 (5 us), double the drives 2.5 us minimum limits.
The only reason to reduce these times is if you cannot
reach the desired speed with 5 us/5us timings (100 KHz)

I would leave the drive with rising edge trigger
The following user(s) said Thank You: Twizzlermill

Please Log in or Create an account to join the conversation.

More
11 Sep 2021 22:53 #220266 by Twizzlermill
Replied by Twizzlermill on topic How to find the right Step Time/Step Space?
Quick and to the point, thank you 

Please Log in or Create an account to join the conversation.

More
23 Feb 2024 09:14 #294054 by machinedude
Replied by machinedude on topic How to find the right Step Time/Step Space?
i got things working but honestly the machine is a lot slower than it should be. i had a lot of free time to dig deeper into this topic and came across this older post and was yep i am wondering the same thing. i was thinking at first maybe it's the older computer but after looking at this maybe i was wrong to think it was the computer?

after looking i am thinking i should be set at something along the lines 3,000 for a setup and hold times and 1500 for a step time and step space and decrease these if i need more?

 
Attachments:

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Feb 2024 09:44 #294060 by tommylight
Replied by tommylight on topic How to find the right Step Time/Step Space?
Parallel port or Mesa?
You can lower timings, just do plenty of testing to check for missed steps.
And keep in mind, if stepper motors have high inductance, they will stall at higher speeds, but seems you are not there yet, so you are good.

Please Log in or Create an account to join the conversation.

More
23 Feb 2024 09:54 - 23 Feb 2024 09:56 #294061 by machinedude
Replied by machinedude on topic How to find the right Step Time/Step Space?
Mesa and the drives can do 500KHz max
Last edit: 23 Feb 2024 09:56 by machinedude.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Feb 2024 10:11 #294064 by tommylight
Replied by tommylight on topic How to find the right Step Time/Step Space?
OK, should be safe to go lower.
What microstepping?

Please Log in or Create an account to join the conversation.

More
23 Feb 2024 10:15 #294065 by machinedude
Replied by machinedude on topic How to find the right Step Time/Step Space?
right now 10k on the X any Y and 2000 on the Z i cut things way back to get things to work without getting all kinds of warnings. i'm not even close to my max levels for the dives and Mesa board.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Feb 2024 10:46 #294067 by tommylight
Replied by tommylight on topic How to find the right Step Time/Step Space?
10K seems a bit much, i have them at 16 or 32 max. With 1:3 or 1:4 reduction.

Please Log in or Create an account to join the conversation.

More
23 Feb 2024 11:03 #294069 by machinedude
Replied by machinedude on topic How to find the right Step Time/Step Space?
i can try 6,400 if i have to go that low. but i would like to stay at 10k if i can.

i think my question is more about how things are very specific to the drives and if you are using and if you use the Mesa board when it comes to the step time and step space settings along with the setup and hold times. it seems like if your step times and step space are set to high you limit the number of pulses the system can count? when i get home i will test some more but i was looking to see what you trade off when you adjust these numbers. every action has a reaction sort of deal. I'm just trying to understand it better. it seems to be a topic of confusion.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.158 seconds
Powered by Kunena Forum