Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Understanding the Power Up Reset flag

Hello,

I am using a 7344 PCI-based Motion Control card.  I am interfacing with the card using LabView 7.1, and I am getting some strange behaviour as of recently.

My VI first initializes the motion-card using the VI "Initialize Controller".  Then, I load my PID values, and velocity settings.  Next, the program proceeds by gathering 1-axis positions everything second, and setting its velocity every 5 seconds.

Yesterday, I booted the computer, ran the VI once, no problems.  Ran it again, no problems.  Tried a third time to run the VI (no rebooting of the PC), and I was given an error while trying to initialize: motion card in Power Up Reset state.

Also, one week ago, the VI was running without problems, reading the position, setting velocities, and all of a sudden, a problem occured while trying to set the velocity: motion card in Power Up Reset state.

Any ideas why this would be happening in the middle of a treatment?
Under what conditions will the Power Up Reset flag be activated?

Thank you.
0 Kudos
Message 1 of 8
(4,916 Views)
Hi Masselin,

The PowerUp Reset flag is only used when the card physically powers up.  This is bad that it's occuring when running your LabVIEW code!
When you mean a flag is being activated, how do you see this?  We have a light indicator in Measurement & Automation Explorer (MAX) that shows the Power-Up Reset state, but in LabVIEW there should only be an error thrown.  Can you provide a screenshot of this?

The only reasons that the card would go into Power-UpReset mode would be if the PCI bus is randomly cutting power to the board, or if the board is damaged, or if something you are connecting the motion controller to, is drawing (or sinking) large quantities of current.

Does that PCI slot work fine with other cards?  What are you connecting to?

Regards,
Rishi L
National Instruments
Applications Engineer
0 Kudos
Message 2 of 8
(4,892 Views)
Hi Rishi,

as you mentioned, I being notified of this condition because an error is thrown and a pop-up dialog appears with an error message "Error #70072....possible reasons: the flexmotion controller is in power up reset state..."  I have attached a picture of the actual modal error that appears.

I agree, this is not good, especially since it occurs AFTER I initialize the Motion Control card (see attached image for VI).  I also have a DAQ card (provided by NI) that is installed on the PCI bus, and runs at the same time as the motion card, and I have not had any problems thus far.  The DAQ is not sourcing any current as it is only using input channels.

Thanks again,
Matthew.
0 Kudos
Message 3 of 8
(4,888 Views)
Hi Masselin,

What version of NI-Motion or FlexMotion do you have installed on your system?  Have you tried updating/reinstalling your drivers?

You can find out what versions you have by opening Measurement & Automation Explorer (MAX) and goto to software.  Click on the appropriate one and the driver should be listed in the pane on the right.

Regards,
Rishi L
National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(4,862 Views)
Hello Rishi,

I am using NI-Motion 6.1.2, and have not updated the drivers in a while (past year).

The firmware on the PCI card is up-to-date.

Thanks,
Matthew.
0 Kudos
Message 5 of 8
(4,855 Views)
Hi,

Let's try upgrading you to NI-Motion 7.5.  You can download it here:
http://joule.ni.com/nidu/cds/view/p/id/491/lang/en
Rishi L
National Instruments
Applications Engineer
0 Kudos
Message 6 of 8
(4,847 Views)
How will this affect my application?
Will I need to update certain VIs in my application?
I am running my VI in LabView 7.1.

0 Kudos
Message 7 of 8
(4,844 Views)
I have a feeling that it is a hardware issue and not a LabVIEW one.  Motion 7.5 will work with LabVIEW 7.1 so your VI will be ok.
Rishi L
National Instruments
Applications Engineer
0 Kudos
Message 8 of 8
(4,839 Views)