User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 241
Reply:
TR=nn Type: Signed 32-bit Min: -2147M Max: 2147M
Where:
cc = Motor channel
nn = Position
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