06-30-2009 09:37 AM
Hello every body.
According with "Ni Motion User Manual", it seems possible to use analog feedback. But I can't find how to map an ADC channel to the axis in concern, as appears in comment of the sample program in page 13-5.I also did not know how to select this mode as the sample given use the same commands as in chapter 5 (straight line move)
Another question about Ni-Motion: is there any instruction list or glossary?
Thank you for your help.
Best regards
Jean-François COUPAT
FABRICOM Systèmes d'Assemblage
07-01-2009 03:12 AM
Hello,
please have a look at this document that descirbes how to use analog feedback with your motion control device. The examples that ship with NI-Motion work independently from the feedback type, so there are no special analog feedback examples required.
The best documentation resource for NI-Motion are the help files that install with NI-Motion. You can find them at this location:
Start >> National Instruments >> NI-Motion >> Documentation
I hope this helps,
Jochen Klier
National Instruments
07-01-2009 04:32 AM
Jochen,
Thank you for your answer. I can't use the help file because my equipment Ni-motion is not delivered at this time. I need to analyse the way our application will work because our development and commissioning delay will be very short.
With the way described in the document, I am not able to swap by program from analog feedback mode to position feedback mode. Is there a way to do this?
Best regards
Jean-François COUPAT
FABRICOM Systèmes d'Assemblage
07-01-2009 06:14 AM
Jean-François,
even without the hardware you can download and install the NI-Motion driver which will install the documentation. The documented that I have linked to my first post describes the configuration in MAX. NI-Motion allows to set or change all parameters that you have entered in MAX at runtime. E. g. if you want to change the feedback you can use flex_config_axis() for this purpose. Please note, that the axis needs to be stopped at the time you change the feedback resource. Additionally you will have to adjust the PID parameters with flex_load_pid_parameters() when switching the feedback type.
I have referenced to the C function calls. Of course the same functionality is availble for LabVIEW.
Regards,
Jochen
07-01-2009 06:51 AM
Jochen,
Thank you very much for these explanations. We know are loading Ni-motion to get the documentation.
And of course we have already planed to switch the feedback mode in a rest situation!
Thank you for you help
Best regards
Jean-François COUPAT