Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

blend complete set before blend is complete

I have a set of 32 XY coordinates that are fed to the PCI-7344 using the flexBlend function. I wait for the blend complete bit to be set prior to passing the next set of coordinates. This works except for the final set of coordinates where the bit is set immediately following the issuance of the flexBlendStart command. Is it possible that I am checking the status of the bit too soon following the start command? This condition occurs every time the code is executed.
0 Kudos
Message 1 of 2
(3,068 Views)
ctsnc,

Having read over your post, I believe the behavior that you are seeing is the expected behavior for the blend functions. Blending is merely a smooth transition from one move to the next. The actual move that follows is not part of the blend. (If you think of this in terms of a manual transmission automobile, 3rd and 4th gear would be moves, and shifting would be the blend. Once the car is actually into 4th gear, the blend is complete).

In this context it makes sense that after issuing your final set of coordinates and checking the blend complete status, that the blend has already completed. This is because there are no blends left to occur. In the case of your final move, you would probably want to check whether the move has completed instead of checki
ng if the blend has completed.

Regards,
Jed R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,068 Views)