Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

soft motion 2009 state machine example

Hi,

I downloaded State Machine Motion Example and try running the code to my motor and it's working.

The problem is that the timing between the 1st move and 2nd move is delaying quite a lot. 

What's the problem?

Thanks. 

0 Kudos
Message 1 of 4
(4,782 Views)

Is there a delay between the moves, or does the first move take a long time to complete?  Put in some probes to see what is happening.

0 Kudos
Message 2 of 4
(4,772 Views)

loop rate is 10 scans x 5 ms = 50 ms. try reducing it.

0 Kudos
Message 3 of 4
(4,766 Views)

Hi,

Yes. I tried to change the loop rates but doesn't affect on the timing. 

Later only I realized that it's the velocity value. Increase the velocity value will improve on the steps timing. 

Thanks for the help. 

0 Kudos
Message 4 of 4
(4,748 Views)