Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

contour move

my spec is PCI7342,UMI7764 and stepper motor.
i would like to generate the position profile myself(the position profile is in term of angle and time) and ask the stepper motor to follow the profile as close as possible. IS labview be able to do that ? if yes, how ?
0 Kudos
Message 1 of 13
(5,270 Views)
The PCI-7342 supports buffered contouring mode. This means you can create a position profile and download these contouring data to the PCI-7342. The 7342 follows this position profile using a spline algorithm.
Please refer to the contouring examples shipping with LabVIEW.

Best regards,

Jochen Klier
Applications Engineering Group Leader
National Instruments Germany GmbH
Message 2 of 13
(5,270 Views)
i downloaded an example fron NI, but i got an error when i try to run the programme. the error is 70078, which said i input invalid data. how can i solve this problems ?
thanks
0 Kudos
Message 3 of 13
(5,270 Views)
Without more knowledge which example you are using and where the error occurrs I can't say much about that.
Do you have the latest version of NI-Motion which is 6.1.2? If not please download it from the link below, install it and upgrade the firmware of your board.

Download link for NI-Motion 6.1.2:
http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b83/57fa88d0fec8439f86256c740024ce88?OpenDocument
0 Kudos
Message 4 of 13
(5,270 Views)
Thanks for your information, after i downloaded ni motion verison 6.1.2, the problem mentioned above has been solved. but when i try to run the example"continuous sine velocity contour move"(refer to attached file), i face another problem. the error code is 70113 with the message " NO RAM available for object(program or buffer) storage.
How to solve this problem ?
thanks
0 Kudos
Message 5 of 13
(5,270 Views)
Have you also upgraded the firmware? I put a 7342 into my PC to see what happens if I run the program that you have attached.
In the screenshot below you can see that everything is running fine. In MAX you can see the allocated buffer.

I can reproduce your problem if I increase the buffer size to e. g. 100000 (10000 is default). In this case the error message is correct. There are 64 kByte of RAM on the 7342. Each position point is stored as a 4 byte value. Thus a buffer size of 10000 allocates about 40000 Bytes which is ok. If you need more points in your contoured move you can reload data to the buffer during the move. Please refer to the Buffered Countering (Rose).vi in the LabVIEW examples folder.
0 Kudos
Message 6 of 13
(5,270 Views)
thanks for your reply, i updated the firmware. but when i run the program, i still face some problems. i attached the screen print of the problems i am facing.
once again thanks for your help.
0 Kudos
Message 7 of 13
(5,270 Views)
Sorry for the delayed reply but I was out of office for some days.
As we are using very similar systems and my board is working and yours not there is a chance that something is wrong with the board.
For a final test could you please test the board in another PC? If you see the same behavior there please contact your local NI branch. The board should be tested by NI then.
0 Kudos
Message 8 of 13
(5,270 Views)
thanks for ur information.i checked with the NI banch at my place. they said my PCI 7342 is bought in 2003, which can't support contoured move. currently, i have borrowed PCI 7344 from them. i tested out the program. it works with open loop. but when i try to change it to close loop in MAX. it generate errors again. does it means the program i attached to you last time only can works with open loop ?
Sorry for asking you so many question.
really thanks for your help.
0 Kudos
Message 9 of 13
(5,270 Views)
There shouldn't be a problem with closed loop contouring. Is everything working fine when you do linear moves or are you running into following errors?
In closed loop mode you need to make sure that the settings for steps/rev and counts/rev are correct. You also need to make sure that there is no conflict with the counting direction of the encoder and the stepper output.
0 Kudos
Message 10 of 13
(5,270 Views)