User Manual

Table Of Contents
Commands Reference
204 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Syntax Scripting: result = getvalue(_A, cc)
result = getvalue(_MOTAMPS, cc)
Reply:
A = aa Type: Signed 16-bit Min: 0
Where:
cc = Motor channel
aa = Amps *10 for each channel
Example:
Q: ?A
R: A=100:200
Q: ?A 2
R: A=200
Note:
Single channel controllers will report a single value. Some power board units measure the Mo-
tor Amps and calculate the Battery Amps, while other models measure the Battery Amps and
calculate the Motor Amps. The measured Amps is always more precise than the calculated
Amps. See controller datasheet to find which Amps is measured by your particular model.
AI - Read Analog Inputs
Alias: ANAIN HexCode: 10 CANOpen id: 0x2146
Description:
Reports the raw value in mV of each of the analog inputs that are enabled. Input that is
disabled will report 0. The total number of Analog input channels varies from one control-
ler model to another and can be found in the product datasheet.
Syntax Serial: ?AI [cc]
Argument: InputNbr
Min: 1 Max: Max Number of Analog Inputs
Syntax Scripting: result = getvalue(_AI, cc)
result = getvalue(_ANAIN, cc)
Reply:
AI=nn Type: Signed 16-bit Min: 0 Max: 5300
Where:
cc = Analog Input number
nn = Millivolt for each channel
AIC - Read Analog Input after Conversion
Alias: ANAINC HexCode: 23 CANOpen id: 0x2147
Description:
Returns value of an Analog input after all the adjustments are performed to convert it to a
command or feedback value (Min/Max/Center/Deadband/Linearity). If an input is disabled,