Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch on the fly from linear move to contouring

I am programming an XY system and I ran into the following issue:

I have to switch to contouring mode at location X0,Y0. From that location on the contour needs to be drawn at a fairly constant speed. So before the contour motion starts the XY table has to move from whatever location it is to the X0Y0 point, and ARRIVE AT THAT POINT AT THE REQUIRED SPEED.
If I understand well blending the linear move and the contour will not guarantee that the contour starts at point X0Y0.
The only solution I see now is to program a "start contour" to arrive at the required location at the required speed.
Does anybody has another suggestion?
0 Kudos
Message 1 of 3
(3,174 Views)
Remember that a contour move can represent any kind of profile, including a linear move, so it seems that the easiest way to achieve what you want (i.e. guarantee that you approach (x0,y0) at a specific velocity), is to perform a contour move throughout your application. Alternatively, you could change to velocity mode prior to the contour move to guarantee that you approach (x0,y0) at your desired speed. Finally, you can also do exactly as you said - call the "Start Motion" VI, which will overwrite any previous move.

Also, you are correct in that blending your linear and contour move together will not guarantee that your system moves through point (x0, y0).

I hope this helps! Best wishes with your application!

Best regards,
Dawna P.
Applications Engineer

National Instruments
0 Kudos
Message 2 of 3
(3,174 Views)
Hello
how about i want to start with contoured move, where i will define the profile for that contour move with a final position and NON-ZERO final velocity. then, i would like the movement to continue with constant final velocity as defined, after it completed the contoured move.
Please let me know, if u need more information for my application.
thanks
0 Kudos
Message 3 of 3
(3,174 Views)