User Manual

Table Of Contents
Commands Reference
266 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
TRN - Read Control Unit type and Controller Model
Alias: TRN HexCode: 1F CANOpen id:
Description:
Reports two strings identifying the Control Unit type and the Controller Model type. This
query is useful for adapting the user software application to the controller model that is
attached to the computer.
Syntax Serial: ?TRN
Argument: None
Syntax Scripting: result = getvalue(_TRN, 1)
Reply:
TRN=ss Type: String
Where:
ss = Control Unit Id String:Controller Model Id String
Example:
Q: ?TRN
R:TRN=RCB500:HDC2460
UID - Read MCU Id
Alias: UID HexCode: 32 CANOpen id:
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