Axis status, Long axisisenabled(void), Long axisisready(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 49: Long axisposlimitgetstatus (void), Long axisposlimitistriggered (void), Axis status -9

Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library
2-9
Determines if Axis is enabled.
Note: Prior to initiating motion ensure that the axis is ready using the
AxisIsReady function.
Returns non-zero if the axis is enabled.
Determines if axis is ready.
Note: After the axis is enabled, the motor may not be ready
immediately, particularly if it is set for self-sensing startup.
Returns non-zero if axis is ready.
long AxisPosLimitGetStatus (void);
Returns the status of the position limit flags.
Returns on of the following values:
• 0 = No limits triggered
• 1 = Positive limit triggered
• 2 = Negative limit triggered
• 3 = Positive and negative limits triggered
long AxisPosLimitIsTriggered (void);
Determines if a position limit has been triggered.
Returns non-zero if a position limit has been triggered.