### MFBDIR {draft}

sets the motor feedback direction. This switch is used during the Auto-Config process (see ACONFIG). If Phase 5
of Auto-Config (Direction test) fails, MFBDIR can be used to switch the motor feedback direction. The range is 0 to
3:
MFBDIR = 0: normal commutation direction, normal velocity direction.
MFBDIR = 1: inverted commutation direction, normal velocity direction.
MFBDIR = 2: normal commutation direction, inverted velocity direction.
MFBDIR = 3: inverted commutation direction, inverted velocity direction.

Expanded functionality to MFBDIR.
Values 0 to 3 work with no change.
New values are 4 to 7.
MFBDIR definition:

Value | bit2 | bit1 | bit0 | Halls-dir | PRD-dir | PFB-dir
0 | 0 | 0 | 0 | normal | normal | normal
1 | 0 | 0 | 1 | inverted | inverted | normal
2 | 0 | 1 | 0 | normal | normal | inverted
3 | 0 | 1 | 1 | inverted | inverted | inverted
4 | 1 | 0 | 0 | inverted | normal | normal
5 | 1 | 0 | 1 | normal | inverted | normal
6 | 1 | 1 | 0 | inverted | normal | inverted
7 | 1 | 1 | 1 | normal | inverted | inverted

If the motor leads/motor stator are phased incorrectly, then setting MFBDIR=1 will solve the problem. If the feedback device is connected/phased incorrectly, you have to set MFBDIR=3, which changes both the commutation
and velocity loop directions.

Firmware Versions: 3.3.0 and later
Type: switch mode (R/W) Range: 0-7
Units: n/a Default: 0
Opmodes: all Drive Status: dis EEPROM: yes