Hello Guest it is February 21, 2020, 10:57:47 AM

Author Topic: creating small circles  (Read 5112 times)

0 Members and 1 Guest are viewing this topic.

Re: creating small circles
« Reply #10 on: November 23, 2009, 02:26:59 PM »
thanks for the M7 directions.  I did help a bit with the delay.  Im still looking for no delay after axis movement..

Anybody else have any suggestions?

Offline stirling

  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: creating small circles
« Reply #11 on: November 23, 2009, 03:12:21 PM »
try replacing doSpinCW() with activateSignal(OUTPUT1) in M3 and doSpinStop() with deactivateSignal(OUTPUT1) in M5. This got both down to around 0.1 secs for me. Then if you like make M1000.m1s and M1001.m1s (or whatever free numbers you like better) with activateSignal(OUTPUT3) and deactivateSignal(OUTPUT3). Obviously you'll need to change your pin to Output3 in ports n pins and call M1000 and M1001 instead of M3 and M5. This got the delays down to around 0.05 secs on my system. Though why different M numbers and output 3 should be faster than M3/M5 and output 1 (especially on the same pin!!!) I don't know.

Hope this helps

« Last Edit: November 23, 2009, 03:31:58 PM by stirling »