Data Sheet

Runtime Queries
Advanced Digital Motor Controller User Manual 239
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: 0x6401
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: 0x6402
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,
the query returns 0. The total number of Analog input channels varies from one controller
model to another and can be found in the product datasheet.
Syntax Serial: ?AIC [cc]
Argument: InputNbr
Min: 1 Max: Total Number of Analog Inputs
Syntax Scripting: result = getvalue(_AIC, cc)
result = getvalue(_ANAINC, cc)
Reply:
AIC=nn Type: Signed 16-bit Min: -1000 Max: 1000