Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

Resetting a Motion Controller by Performing a Power Cycle

Hardware: Motion Control>>Controllers>>PCI-7344

Problem: I used the Enable Shutdown VI to enable the motion controller to react to the shutdown input. Once the controller has shut down, you have to reset it or cycle its power before it can be used again. After resetting, I should be able to use the motion controller again. However, why I am unable to initialize my controller?

Solution: The shutdown functionality is disabled by default on power-up. You should enable this feature only after the shutdown circuit has properly been configured and connected to the controller. Once shutdown has been enabled, it can be disabled only by resetting or power cycling the controller.

Whenever the motion controller is reset by a power cycle, watchdog timeout, or other means, the controller is suspended in a power-up state and a Power-Up status bit in the Communications Status Register (CSR) is set. The Clear Power Up Status VI is used to clear this bit and ready the controller for motion control communications.

You cannot execute most of the other motion control VIs until the Power-Up status bit has been cleared with the Clear Power Up Status VI. This lockout ensures that you are aware of the occurrence of an unexpected reset, as in the case of a watchdog timeout. You can include this VI once at the beginning of an initialization routine. However, it should not be included in other routines to avoid the possibility of restarting an application unexpectedly after a power cycle or watchdog timeout. The Initialize Controller VI automatically calls this VI.



Related Links: Knowledge Base 264AFAOA: Implementing an Emergency Stop (E-Stop) With the PCI-7344
Motion Control Support

Attachments:





Report Date: 10/20/2004
Last Updated: 10/05/2006
Document ID: 3EJFBTCH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit