Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

4 AXIS MOVE VI

I want to blend the motion of 4 axis, the axis have to read the target position from a .txt file. I have initialized two vector spaces one has three axis and the other has one axis only. When I run the VI I get an error message which says illegal time error at blend function. How Do I remove this error. I am sending the VI as an attachment, Please download the VI and help me fix the error.
0 Kudos
Message 1 of 4
(3,712 Views)
Hello,

I downloaded your vi, created a text file with four random target positions per axis and started the vi. The vi executed without producing an error message. I'm using a PCI-7344 board in Open Loop stepper mode. This way I didn't have to connect real hardware to my board for testing. I was able to see the position counters changing on your vi's front panel so everything seems to be alright.

Here are some suggestions:

1. I'm using FlexMotion driver software 5.1.1 with the latest firmware/driver patch f4 that's available on the NI ftp site: ftp://ftp.ni.com/support/motion/Software/PC/FlexMotion/5.1.xf4_patch/
If you haven't done this already, please install this driver version and the patch. If the error isn't fixed with this patch please tell me the error nu
mber.

2. As I wrote I just created a file with random positions. Maybe the error is related to the position data you pass to the application from your file. Could you please provide a test file with the position data you are using?

3. I don't see the need to assign the 4th axis to a vector space. If you use only one axis in a vector space you also could simply adress the axis directly. This shouldn't be the cause of your problem but I didn't want to let this unmentioned.

Regards,

Jochen Klier
Application Engineering Group Leader
National Instruments Germany GmbH
0 Kudos
Message 2 of 4
(3,712 Views)
Dear Sir,
Thanks for you help, but the only problem with my VI was that I did not specify the vector spaces in second initialize vector space VI, when I specifies none in the second vector space then I could easily run the VI.
Thanks for you help, Thanks a lot..
0 Kudos
Message 3 of 4
(3,711 Views)
I did not specify 2nd and 3rd axis in the second vector space initialize VI, because of which by default the VI was taking the 2nd and 3rd axis of the 1st vector space thereby generating an illegal time error. When I specified the two axis 2,3rd as none then the VI ran well. Thanks for your support and advice. It would be nice if you could please give me your email id at hmishra@iitk.ac.in I would love to keep in touch with you.
0 Kudos
Message 4 of 4
(3,711 Views)