Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Syncronize blend movements with digital output port

I'm using a PCI 7344/Visual C++. I have to set some bits in an output port at the end of a sequence of movements (using flex_blend). It's seems that the set_port_momo is being executed one movement earlier than it should be, flex_check_blend_complete_status is returning true while trajectory was not finished (blend factor is set to zero).So, my output ports are getting desincronyzed with my movements. Is this because flex_blend is a double buffer command ? How can I get the output ports syncronized with movements ?
0 Kudos
Message 1 of 3
(3,580 Views)
Tulio,

I found that the flex_check_blend_complete_status seemed to work fine. Try using this example and seeing if it works for you.

-Mike
0 Kudos
Message 2 of 3
(3,580 Views)
Tulio,

I'm having similar problems with the flex_check_blend_complete_status returning true immediately, even though I wanted a delay of 500ms (dwell) between a move on axis x and the start of a move on axis y. I don't get it, why does this function always return with blend complete set to 1?

-Chuck
0 Kudos
Message 3 of 3
(3,580 Views)