Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Blend Complete Status.vi gives wrong status

I am using a PCI-7344 motion board to control a 2-d CNC machine.

The machine software programmed under LabVIEW 6.0.2 sends target positions to the motion board. "Blend Motion.vi" is used to blend consecutive moves without decelerating to a stop.

Although the same cycle (part program) is repeated, it happens sometimes that one move is skipped although it has been sent to the controller. After debugging the software we found out that the �Blend Complete Status.vi� is causing the problem.

When the blend complete status of the vector space is set, the software blends another move. It then waits 50 msec (loop time) before checking the blend status again. At random times, the blend status is not reset after 50 msec. So the softw
are blends the next move, replacing the previous move that did not start yet.

Note that moves take approximately 5 seconds to end.

What do you suggest to solve this problem?
Is it normal that the blend complete status is not reset after 50 msec?
0 Kudos
Message 1 of 3
(3,313 Views)
What value are you setting for the blend factor in your moves? Maks sure you have used the load blend fator vi found under the Trajectory Control->Advanced Trajectory Control palette and set the value to -1, this will ensure that your blending starts just after the constant velocity section of your move is done, and just before the deceleration section starts.
0 Kudos
Message 2 of 3
(3,314 Views)
ABMSoft - an NI alliance member in Eastern Europe has developed a very powerful G-code interpretor for LabVIEW. Their ABMS-NC toolkit for LabVIEW also includes an offline simulation tool. They have successfully deployed many machines using this toolkit. Its available directly from ABMSoft for $995. You can contact ABMSoft directly.

More info on ABMSoft (Contact info and product details)
http://sine.ni.com/apps/we/niaa.com_view?p_all_id=7974

Documentation on ABMSoft's website
http://www.abmsoft.com/NI-NC.pdf

Thanks,
Rahul

Rahul Kulkarni
National Instruments
0 Kudos
Message 3 of 3
(3,288 Views)