User Manual

Table Of Contents
Commands Reference
346 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: 2 * Total Number of Motors
Argument 2: Gain Type: Unsigned 32-bit
Min: 0 Max: 2,000,000,000 Default: 0
Where:
cc (single channel) =
1: Speed Differential Gain
2: Position Differential Gain
cc (dual channel) =
1: Speed Differential Gain for motor 1
2: Speed Differential Gain for motor 2
3: Position Differential Gain for motor 1
4: Position Differential Gain for motor 2
nn = Differential Gain *1,000,000
Example:
^KDG 1 1500000: Set motor channel 1 Speed Differential Gain to 1.5.
KIG - PID Integral Gain
HexCode: F1
Description:
Sets the PID’s Integral Gain. The value is set as the gain multiplied by 10^6. This value is
used for both speed and position differential gains.
Syntax Serial: ^KIG cc nn
~KIG
Syntax Scripting: setconfig(_KIG, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: 2 * Total Number of Motors
Argument 2: Gain Type: Unsigned 32-bit
Min: 0 Max: 2,000,000,000 Default: 0
Where:
cc (single channel) =
1: Speed Integral Gain
2: Position Integral Gain
cc (dual channel) =
1: Speed Integral Gain for motor 1