Schematic

Runtime Queries
Advanced Digital Motor Controller User Manual 269
Description:
Reports MCU specific information. This query is useful for determining the type of MCU:
100 = STM32F10X, 300 = STM32F30X. The query also produces a unique Id number that
is stored on the MCU silicon.
Syntax Serial: ?UID [ee]
Argument: Element
Min: 1 Max: 5
Syntax Scripting: result = getvalue(_UID, ee)
Reply:
UID = nn Type: Unsigned 32-bit Min: 1 Max: 4294M
Where:
ee = Data element
1 : MCU type
2 : MCU Device Id
3-5 : MCU Unique ID
nn = value
V - Read Volts
Alias: VOLTS HexCode: 0D CANOpen id: 0x210D
Description:
Reports the voltages measured inside the controller at three locations: the main battery
voltage, the internal voltage at the motor driver stage, and the voltage that is available on
the 5V output on the DSUB 15 or 25 front connector. For safe operation, the driver stage
voltage must be above 12V. The 5V output will typically show the controller’s internal
regulated 5V minus the drop of a diode that is used for protection and will be in the 4.7V
range. The battery voltage is monitored for detecting the undervoltage or overvoltage con-
ditions.
Syntax Serial: ?V [ee]
Argument: SensorNumber
Min: 1 Max: 3
Syntax Scripting: result = getvalue(_V, ee)
result = getvalue(_VOLTS, ee)
Reply:
V = nn Type: Unsigned 16-bit