nimcClearFaults

NI-Motion Functions

nimcClearFaults

Device Compatibility

Device Compatibility
7330
Y
7340
Y
7344
N
7350
Y
7390
Y
NI SoftMotion Controller for CANopen—Xenus
N
NI SoftMotion Controller for CANopen—Accelnet
N

Clear Faults

Usage

status = nimcClearFaults(TnimcDeviceHandle deviceHandle);

Purpose

Clears all modal errors and drive faults on all axes.

Parameters

Name Type Description
deviceHandle TnimcDeviceHandle assigned by Measurement & Automation Explorer (MAX)

Using This Function

Use this function to clear all modal errors and drive faults on all axes. This function pulses the alarm clear line on all axes that have mapped the alarm clear signal using Configure Motion I/O Map.

Note  Refer to Write Motion I/O Data for more information about the alarm clear signal and to change the alarm clear pulse width.

The inhibit-in signal is connected to the Alarm signal of the drive. Monitor the status of the inhibit-in signal to determine if there are any drive faults. Correct the faults, then use this function to clear the alarm state of the drive.

The Initialize Controller function automatically calls this function if the controller is in a power-up state. If you call Initialize Controller and the controller is not in a power-up state, this function is not called.