Control attributes, Long controlgetfault(void), Control attributes -10 – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 50: Long controlgetfault(void); -10, Controlgetfault

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

2-10

Referencing the Motion Library

Control Attributes

long ControlGetFault(void);

Returns controller fault.

Valid fault returns are:

• 0 = Not faulted
• 4 = Motor overtemperature, thermostat
• 5 = IPM fault (overtemperature, overcurrent, short)
• 9 = Bus undervoltage
• 10 = Bus overvoltage
• 11 = Illegal hall state
• 14 = DeviceNet communications fault
• 17 = User-specified current fault
• 18 = Overspeed fault
• 19 = Excess position error
• 20 = Motor encoder state error
• 21 = Auxiliary encoder state error
• 22 = Motor thermal protection
• 23 = IPM thermal protection
• 24 = Excess velocity error
• 26 = User-specified velocity fault
• 29 = Encoder output frequency fault
• 39 = Self-sensing startup fault
• 58 = Excess CPU load

Advertising