Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

my servomotor moves immediately after the flex_initialize_controller is executed. why is this happening and how can i fix it so the motor only moves after the multistart is executed?

hi..

i'm trying to initialize my servomotor using the flex_initialize_controller VI. When i did single stepping on my program, i noticed that the motor will move immediately after the said VI, and then only will it move to the coordinates that i had specified (using other VI's). I tried adjusting the values in MAX but no change so far. Any ideas?

Thank you.

p/s: I'm using flexmotion 5.1.1, 7344 motion card and MID 7654/7652.
0 Kudos
Message 1 of 2
(3,254 Views)
Foozy,
Try running the atteached file to see if it gives you the same behavior. I took a shipping example and added an initialize vi at the beginning. When I initialize, the motor just moved slightly as it was "locked" down. This should be normal. After that, it will move to the specified positions. It sounds like you are doing a positional move if you are specifyinbg locations with other vi's, like Target Position, and if this is the case it will only move to the specified location.
You could also try initializing the board from MAX to see if you get the same behavior. Then also use the 1D Interactive Tab to make simple moves with your motors, to check that it will hit the desired location.
If the servo is moving out of control, it may be out of tune,and in that
case, use the Calibration tab>>Servo Tune>>Auto Tune function from MAX.

I hope this helps!
Chris D
0 Kudos
Message 2 of 2
(3,254 Views)