LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while using LabVIEW for Trinamic TMCM 3110

Hello logipilot,

Unfortunately, the problem is not yet resolved. I am using a workaround way to calculate the values in between by interpolating after acquiring the data.

 

Best Regards,

Ankur

 

 

0 Kudos
Message 11 of 12
(113 Views)

Hey!

Thank you for the reply.

I can´t interpolate, because I ´m changing the rotation speed all the time (, depending on the number of turns).

 

I just made a workaround myself:

 

First I calculate how many pulses are a full turn (depending on the µ-stepping parameter). ( µsteps^2 * 200 = steps / full rotation )

Next I count turns, because I need them for the timing of the other stuff.

 

When the motor counter closes in on "655360"  (or 17.432.576  or 34.210.000 ...) I use your single instruction vi and set the parameter number 2 (=actual position) to zero and start over again. While doing that I "remember" the old number of turns and add it to the calculated number (because it too starts over at 0).

 

Maybe this helps future readers.  😉

 

Thank you again for your example programs!  (see above) They are much better then the official examples (which have disappeared from the homepage anyways...)

 

God Speed

logi

0 Kudos
Message 12 of 12
(90 Views)