Hello Guest it is April 19, 2024, 06:12:36 PM

Author Topic: Wierd Start Stop Motion  (Read 7839 times)

0 Members and 1 Guest are viewing this topic.

Re: Wierd Start Stop Motion
« Reply #10 on: August 19, 2009, 12:43:08 PM »
I am not sure what you mean by 'attach your code'.  What code?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Wierd Start Stop Motion
« Reply #11 on: August 19, 2009, 03:49:22 PM »
I am not sure what you mean by 'attach your code'.  What code?

I mean this code

  However, the moment it tries to run g-code I get these predictable stops.

Hood
Re: Wierd Start Stop Motion
« Reply #12 on: August 19, 2009, 04:26:59 PM »
All code.  Any code.  From the Roadrunner to simple one line "g0 x0 y0" or "g1 x10 y10".  I am NOT having this problem just with one file.  I have this problem on all g-code files.

As I said in post 12, I can go to the MDI screen and enter "g0 x10 y10" and it stops at consistent intervals.  It doesn't matter what g-code I use.

It makes me suspect something about the difference between the way Mach3 generates pulses from g-code as opposed to generating pulses for a jog command or in the motor tuning mode.  Unfortunately, I don't know enough about how Mach3 does what it does to be able to speculate why it jogs smoothly but executes g-code with these stops.

Does that suggest anything to you?

Thanks,

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Wierd Start Stop Motion
« Reply #13 on: August 19, 2009, 04:30:57 PM »
Do the DROs show the stop start motion or do they count smoothly?

Run the driver test and see if that looks good.
Hood

Re: Wierd Start Stop Motion
« Reply #14 on: August 19, 2009, 04:39:28 PM »
The DRO's show the stops exactly.  The driver test shows very good results with very little latency.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Wierd Start Stop Motion
« Reply #15 on: August 19, 2009, 04:48:49 PM »
That is weird, I have tried your xml here and it works well.  The only thing I see wrong in your xml is you have Output 1 enabled but you dont have a pin asigned to it but that shouldnt cause the problems you see.
As you dont have a great deal set up in ports and pins  it might be worth making a custom profile from scratch and trying that.
Hood

vmax549

*
Re: Wierd Start Stop Motion
« Reply #16 on: August 19, 2009, 10:14:46 PM »
THat sounds like the old quicktime syndrome. Something is interupting your driver in pulses.  While running a file, open the task manager and check for other programs running , also check the performance monitor for spikes in the cpu load that coinside with the stops.

(;-) TP
Re: Wierd Start Stop Motion
« Reply #17 on: August 20, 2009, 02:52:05 PM »
HALELUJA!!!

I have a dedicated computer for this, and I thought I had stripped all non-Mach 3 software.  Somehow, I had forgotten to delete iTunes from the system.

No iTunes -- No wierd motion!  Thank you sooo much!

vmax549

*
Re: Wierd Start Stop Motion
« Reply #18 on: August 20, 2009, 10:54:34 PM »
GOOD JOB dude, (;-) TP