Hardware vs Software Stepping Blogpost

More
04 May 2016 22:23 - 05 May 2016 11:41 #74248 by THEQYD
Hey, I made a blog post that shows the difference between software stepping and hardware stepping. I have graphed the maximum motor speeds that motors using hardware and motors using software can hit.

You can check it out here .
Last edit: 05 May 2016 11:41 by andypugh.

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

More
05 May 2016 11:56 #74267 by andypugh
If you are interested in the effect of having more motors, start off with one stepgen and set up a halmeter to watch the stepgen.make-pulses thread execution time.
Then increase the number of channels to 16, and see how much longer the thread takes to run.

The way that realtime works is that every base-thread cycle every function added to the base thread runs in sequence. during that time, that CPU does not do anything else. Then when every function has run, control passes back to the OS and the CPU carries on with other stuff.

Typically the base-thread will be called every 20,000nS and will take about 5000nS to actually do its tasks.

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

Time to create page: 0.163 seconds
Powered by Kunena Forum