User Manual

Table Of Contents
Commands Reference
234 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Syntax Serial: ?P [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_P, cc)
result = getvalue(_MOTPWR, cc)
Reply:
P=nn Type: Signed 16-bit Min: -1000 Max: 1000
Where:
cc = Motor channel
nn = 0 to +/-1000 power level
Example:
Q: ?P 1
R: P=800
PHA - Read Phase Amps
Alias: - HexCode: 49 CANOpen id: -
Description:
Measures and reports instant motor phase Amps, in Amps*10, for all current sensors locat-
ed in the motor phases. Applicable only for brushless and AC Induction motor controllers.
Syntax Serial: ?PHA [cc]
Argument: Channel
Min: 1 Max: Total Number Of Current Sensors
Syntax Scripting: result = getvalue(_PHA, cc)
Reply:
PHA = aa Type: Signed 16-bit Min: -32767 Max: 32767
Where:
cc = Current Sensor
aa = Amps*10
PI - Read Pulse Inputs
Alias: PLSIN HexCode: 11 CANOpen id: 0x6402
Description:
Reports the value of each of the enabled pulse input captures. The value is the raw num-
ber in microseconds when configured in Pulse Width mode. In Frequency mode, the
returned value is in Hertz. In Duty Cycle mode, the reported value ranges between 0 and
4095 when the pulse duty cycle is 0% and 100% respectively. In Pulse Count mode, the