Atlas® Digital Amplifier Complete Technical Reference
129
6
SetCurrent
5E
h
GetCurrent
5F
h
Syntax
SetCurrent
option value
GetCurrent
option
Motor Types
Arguments
Name
Instance
Encoding
option
Holding Current
0
Reserved
1
Drive Current
2
Type
Range
Scaling
Units
value
16-bit unsigned
0
to
2
15
100/2
15
% max output
Packet
Structure
Description
The
SetCurrent
command is used to set the output level (current, or voltage if the current loop is off)
used during pulse and direction motor operation. The Holding Current option is used to set the output
level when the
AtRest
signal is asserted, and the Drive Current option to set the output level when the
AtRest
signal is not asserted.
The
GetCurrent
command is used to retrieve the output levels set by
SetCurrent
.
Restrictions
Holding Current should be less than or equal to Drive Current; if it is greater then the Drive Current
value will be used at all times. These commands are not meaningful except in pulse and direction mode.
DC Brush
Brushless DC
Microstepping
SetCurrent
write
checksum
5E
h
15
8 7
0
write
0
option
15
2 1
0
write
value
31
16
GetCurrent
write
checksum
5F
h
15
8 7
0
write
0
option
15
2 1
0
read
value
31
16