![PMD Atlas Compact Complete Technical Reference Download Page 138](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420138.webp)
138
Atlas® Digital Amplifier Complete Technical Reference
6
SetDrivePWM
23h
GetDrivePWM
24h
Syntax
SetDrivePWM
option value
GetDrivePWM
option
Motor Types
Arguments
Name
Instance
Encoding
option
Limit
0
Type
Range
Scaling
Units
value
16-bit unsigned
0
to
2
14
–1
100/2
14
% max output
Packet
Structure
Description
The
SetDrivePWM
command is used to set the PWMLimit register, which limits the maximum PWM
duty cycle, and hence the effective output voltage. The PWM limit is applied to each terminal
individually, whether the current loop is enabled or not. The
GetDrivePWM
returns the current value
of the PWMLimit register.
Restrictions
DC Brush
Brushless DC
Microstepping
SetDrivePWM
write
checksum
23
h
15
8 7
0
write
option
15
0
write
value
15
0
GetDrivePWM
write
checksum
24
h
15
8 7
0
write
option
15
0
read
value
15
0