Status and Faults

RMP Errors as well as Drive Errors/Faults Will be displayed in the RapidRetup status window.

There are a couple of ways that you can check the status of your axis, look at the following to see which one fits you best:

Axis.StateGet() - Get the state of your axis.

Axis.SourceGet() - Get the source of the error.

Axis.SourceNameGet() - Get the full name of the source error including drive errors/faults.

Axis.StatusBitGet() - Check if a RSIEventType is active.

See our sample app to better understand how all of these methods can be used.

Axis.StateGet()

Description:

StateGet() returns the RSIState enum name of the current state of the Axis or MultiAxis. (Ex: RSIStateERROR)

Returns:

(RSIState) The current state of the Axis or MultiAxis.

Where RSIState enum:

Axis.SourceGet()

Description:

SourceGet() will return the first status bit which is set. The source can be checked when the Axis/MultiAxis is in an error state. (Ex: RSISourceHOME)

Note that there may be additional status bits set, SourceGet() will only return the first one it sees active.

To check if other status bit are active use StatusBitGet() to check any other bits.

Returns:

(RSISource) The first status bit found. (left column of image)

Where RSISource enums are the possible sources that have caused an Error state:

Axis.SourceNameGet()

Description:

SourceNameGet() will return the full name of the first status bit which is set on an Axis or MultiAxis. (Ex: Amplifier Fault)

The source can be checked when in an error state.

To check if other status bit are active use StatusBitGet() to check any other bits.

Axis.SourceNameGet() will also return drive specific errors/faults.

Returns:

(char*) The name of the RSISource. (right column of image)

Where RSISource enums are the possible sources that have caused an Error state:

Axis.StatusBitGet()

Description:

StatusBitGet() will return the state of a status bit, true or false.

Call StatusBitGet(RSIEventType) to check if an event type is active.

RSIEventType enum:

Returns:

(bool) True or False.

Axis Status Sample App (C#)