![PMD Atlas Compact Complete Technical Reference Download Page 153](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420153.webp)
Atlas® Digital Amplifier Complete Technical Reference
153
6
SetTraceVariable (cont.)
B6
h
GetTraceVariable
B7
h
Arguments
(cont.)
Motor Output
Bus Voltage
54
Temperature
55
I2t Energy
68
Terminal A Output
75
Terminal B Output
76
Terminal C Output
77
Leg Current A
69
Leg Current B
70
Leg Current C
71
Leg Current D
72
Clip Factor
78
Miscellaneous
None
(disable variable)
0
Atlas Time
8
Packet
Structure
Description
SetTraceVariable
assigns the given variable to the specified
variableNumber
location in the trace buffer.
Up to four variables may be traced at one time.
All variable assignments must be contiguous starting with
variableNumber
= 0.
GetTraceVariable
returns the variable of the specified
variableNumber
.
Example:
To set up a three variable trace capturing the motor command, phase angle, and phase A
current, the following commands would be used:
SetTraceVariable 0 7
SetTraceVariable 1 29
SetTraceVariable 2 31
SetTraceVariable 3 0
Restrictions
When retrieving the traced variables from the list above the scaling may depend on the type of Atlas
being used. See
Section 3.11.1, “Atlas Settings Defaults and Limits”
for scaling information. See also
for current loop, field oriented control, and motor output related variable
scaling.
see
SetTracePeriod
SetTraceVariable
write
checksum
B6
h
15
8 7
0
First data word
write
0
variableNumber
15
2 1
0
Second data word
write
variableID
0
15
8 7
0
GetTraceVariable
write
checksum
B7
h
15
8 7
0
First data word
write
0
variableNumber
15
2 1
0
Second data word
read
variableID
0
15
8 7
0