User Manual

Table Of Contents
Commands Reference
382 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
Syntax Serial: ^SWD cc nn
~ SWD [cc]
Syntax Scripting: setconfig(_SWD, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Swap Windings
Type: Unsigned 8-bit
Min: 0 Max: 3
Default: 0
Where:
cc = Motor channel
nn = Motor’s Swap Windings
0: None, Angle up-counting for clockwise direction
1: Swapped, Angle down-counting for clockwise direction
2:Hall only Swapped, Angle up-counting for clockwise direction for encoder and Angle
down-counting for clockwise direction for Hall sensor.
3:Hall+Encoder Swapped, Angle down-counting for clockwise direction for encoder and
Angle down-counting for clockwise direction for Hall sensor.
Example:
^SWD 1 1: Set angle down-counting for clockwise direction for motor 1.
TID - FOC Target Id
HexCode: 8F
Description:
In brunshless motors operating in sinusoidal mode, this command sets the desired Flux
(also known as Direct Current Id) for Field Oriented Control. This value must be 0 in typical
application. A non-zero value creates field weakening and can be used to achieve higher
rotation speed
Syntax Serial: ^TID cc nn
~TID [cc]