Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking axis to saved buffer in ROM after initialization with 7356

Can you please help?

I can't seem to re-connect an axis to a saved position buffer in ROM after initialization/reset of board.

Details:
 
When I make a position buffer and save to ROM and then repeatedly run motion command  (after using the conifgure buffer.flx with buffer size 0) the motion works just fine.  If however, after saving this buffer to ROM, I do some setting changes/initialization ect, then I can't seem to reconnect to this existing buffer in the ROM (I checked and it is there via measurement and automation explorer).    So, how do I re-connect to this buffer?
 
My system specs: Using windows XP sp2 with Labview 8, and the motion card is the PCI-7356.
 
Thanks very much.
Richard Cisek
0 Kudos
Message 1 of 5
(3,830 Views)

Hi Richard,


Could you please attach your VIs as two separate VIs, so I can make sure I’m looking at the exact same code that you are running?

Also, when you say that you cannot reconnect and that it does not work, what exactly is happening?  Does one of the VIs give you a specific error?  If so, what is the error?

Regards,
Allen H.

0 Kudos
Message 2 of 5
(3,812 Views)

Hey.

 

For your ease, I have placed a case structure around these routines so you can run one or the other via the buttons I have made.


To clarify, I am not receiving an error (there is documentation within the vi I have given you that explains this, but let me also explain it here too.  Basically, I load a position buffer, save to ROM on the motion card. I say move x times (via the move routine I have given you), it moves X times.  If I initialize card, reset card, change settings, reset computer, (I do these from measurement and automation explorer), or anything, then afterwards when I run the same move routine, then the axis does not move, even though the buffer of posistions is still in memory, and even though I am tryin to re-connect to it via configure buffer with buffer size 0.

Hope that helps.

0 Kudos
Message 3 of 5
(3,798 Views)
Hi Richard,

I just wanted to let you know that I am looking into this.  I have been able to replicate what you are seeing, and I am working on finding a solution.

Allen H.
0 Kudos
Message 4 of 5
(3,767 Views)
Hi Richard,

I have attached my working VI to this reply.  I tested it, and it works after a reset and reinitialization of the motion controller board.

In the Connect to Buffer and Move portion of your VI, you must reconfigure the Operation Mode for Absolute Contouring.  After a reset, the motion controller board will have a default Operation Mode of Absolute Position, so you must change it back to Absolute Contouring.  You must also input the correct number of Total Points to the Configure Buffer function.  The correct number of Total Points is the size of the array in the selected buffer.

Make sure that the Measurement & Automation Explorer is CLOSED when you run this program.  If MAX is open, its Object Memory Manager will be making calls to Check Buffer which will conflict with this VI and cause errors.

I also added Motion Error Handler VIs, so you can monitor any motion errors that might occur.

Sorry for the delay.  Hope this helps!

Allen H.
0 Kudos
Message 5 of 5
(3,756 Views)