User Manual

Table Of Contents
Motor Configurations
Advanced Digital Motor Controller User Manual 347
2: Speed Integral Gain for motor 2
3: Position Integral Gain for motor 1
4: Position Integral Gain for motor 2
nn = Integral Gain *1,000,000
Example:
^KIG 1 1500000: Set motor channel 1 Speed Integral Gain to 1.5.
KPG - PID Proportional Gain
HexCode: F0
Description:
Sets the PID’s Proportional 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: ^KPG cc nn
~KPG
Syntax Scripting: setconfig(_KPG, 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 Proportional Gain
2: Position Proportional Gain
cc (dual channel) =
1: Speed Proportional Gain for motor 1
2: Speed Proportional Gain for motor 2
3: Position Proportional Gain for motor 1
4: Position Proportional Gain for motor 2
nn = Proportional Gain *1,000,000
Example:
^KPG 1 1500000: Set motor channel 1 Speed Proportional Gain to 1.5.