![PMD Atlas Compact Complete Technical Reference Download Page 134](http://html1.mh-extra.com/html/pmd/atlas-compact/atlas-compact_complete-technical-reference_1569420134.webp)
134
Atlas® Digital Amplifier Complete Technical Reference
6
SetCurrentLoop (cont.)
buffered
73
h
GetCurrentLoop
74
h
Description
(cont.)
ILimitCurrent
is used to limit the contribution of the integral sum at the output. Its effect depends on the
value of
KiCurrent
. Setting
ILimitCurrent
to 1000 when
KiCurrent
is 10 means that the maximum
contribution to the output is 1000 x 10 = 10,000 out of 2^15 - 1 or approximately 30.5%
The
phase
argument can be used to set the operating parameters for the A and B loops independently.
In most cases, the A and B loops will not require different operating parameters, so
SetCurrentLoop
can be used with a
phase
of 2, which sets both the A and B loops in a single API command. For
GetCurrentLoop
, a
phase
of 2 is not valid.
Restrictions
Set/GetCurrentLoop
are buffered commands. All parameters set are buffered, and will not take effect
until an update is done on the current loop by setting the update bit in a torque command. The values
read by
GetCurrentLoop
are the buffered settings.
This command is only supported in products that include digital current control, and when the current
control mode is individual phase.
see
GetCurrentLoopValue
Set/GetCurrentControlMode