NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define OverloadField   9

Overload field.

Contains a boolean value which is TRUE if the motor is overloaded. Read only. This field will have a value of 1 (true) if the firmware speed regulation cannot overcome a physical load on the motor. In other words, the motor is turning more slowly than expected. If the motor speed can be maintained in spite of loading then this field value is zero (false). In order to use this field the motor must have a non-idle RunStateField, an OutputModeField which includes OUT_MODE_MOTORON and OUT_MODE_REGULATED, and its RegModeField must be set to OUT_REGMODE_SPEED.