![PMD Atlas Compact Скачать руководство пользователя страница 131](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420131.webp)
Atlas® Digital Amplifier Complete Technical Reference
131
6
SetCurrentFoldback
41
h
GetCurrentFoldback
42
h
Syntax
SetCurrentFoldback
parameter value
GetCurrentFoldback
parameter
Motor Types
Arguments
Name
Instance
Encoding
parameter
Continuous Current Limit
0
Energy Limit
1
Type
Range/Scaling
value
unsigned 16-bit
see below
Packet
Structure
Description
SetCurrentFoldback
is used to set various I
2
t foldback-related parameters. Two parameters can be set,
the
Continuous Current Limit
, and the
Energy Limit
. The units of
Continuous Current Limit
are convertible
to milliAmps, and represent percentage of maximum peak current, with scaling of 100/2^15. The range
is from 0% to the factory default continuous current limit setting.
The maximum current is the largest current that can be represented rather than the maximum that can
be sourced or sensed. The maximum current can be calculated via the formula
Max
=
Current Scaling
*
0x8000
For example for the high power Altas, using the scale factor from
Section 3.11, “Atlas Conversion Factors”
the maximum current = 1.526mA * 0x8000 = 50A.
The units of
Energy Limit
are convertible to Amp
2
Seconds, and represent the percentage of maximum
energy, with scaling of 100/2^15. The range is from 0% to the factory default energy limit setting.
DC Brush
Brushless DC
Microstepping
SetCurrentFoldback
checksum
41
h
15
8 7
0
First data word
write
parameter
15
0
Second data word
write
value
15
0
GetCurrentFoldback
checksum
42
h
15
8 7
0
First data word
write
parameter
15
0
Second data word
read
value
15
0