Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

simple NI9512 FPGA programme for straight line motion

Dear all,

 

I would like to program a simple straight line motion, but I get a little confused about the options I have in FPGA mode (some options might only be availble in Scan Engine mode, since most of the NI9512-documentation is for Scan Engine applications).

 

Short overview:

- cRIO 9082

- NI9512 with NI stepper motor

- LabVIEW 2014

- I dont want do use hybrid mode since I need my DMA channels for other purposes

 

What is the best approach for a simple straight line (FPGA-based) motion:

 

 

Approach 1)

- Create the coordinates of a motion profile in the RT Host and send it to the FPGA

- Write these coordinates into the "Position Setpoint" of the "Write" method

http://zone.ni.com/reference/en-XX/help/370984T-01/target4devicehelp/9512writemethod/

 

- There is an example available. Its called: "NI 9512 Basic Move"

- Seems like easy programming but also a little bit like an improvised solution

 

Approach 2)

- Include a "SoftMotion Axis" with the RT Target in the project

- Then I can use the "Straight Line Move" in the RT Host Block Diagramm

 

- NI example: http://www.ni.com/white-paper/6490/en/

- Looks more professional but also more complex

 

 

This is the first time I will do Soft-Motion programming.. Thus, I would be greatfull if somebody could give me some basic advice to start with.

 

Best wishes,

Ruud

 

0 Kudos
Message 1 of 1
(4,062 Views)