22
Controlling Motor Current
C u r r e n t C o n t r o l V a r i a b l e s
One of the unique and powerful features of the MicroLYNX is the
precision current control available through the instruction set.
Unlike most stepper drives, which only offer the capability
of controlling run current and hold current, the
MicroLYNX also has the capability of setting the accelera-
tion current. By setting the acceleration current to a higher
value, the system designer can deliver more power to the
system at the time when it is needed the most: when
system inertia must be overcome. Afterward, when the
motor has reached peak velocity, the run current may be
set to a lower value, thus reducing motor heating and
improving system power efficiency.
All of these variables may be changed on-the-fly inside a
MicroLYNX Program. The value range of these variables is a
percentage (0 - 100%)
PGM 200
'start program at address 200
LBL I_SET
'label program I_SET
MAC=40
'set acceleration current to 40%
MRC=30
'set run current to 30%
MHC=10
'set holding current to 10%
ACCL=50000
'set acceleration to 50000 munits
MOVR 900000
'index relative 900000 munits
HOLD 2
'suspend program until motion completes
MAC=75
'set acceleration current to 75%
MRC=75
'set run current to 75%
MHC=50
'set holding current to 50%
VI=10000
'set initial velocity to 10000 munits/sec
ACCL=1000000
'set acceleration to 1000000 munits/sec2
MOVR -2000000
'index relative -2000000 munits
HOLD 2
'suspend program until motion completes
END
PGM
Acceleration current can be set
higher for higher torque output
during acceleration, allowing the
run current to be set to a lower
value when the torque isn’t
needed to overcome inertia. This
keeps me cool and consumes
less power!
Figure 6.1: Motor Current Control Variables
6
M a x V elo c ity
(V M )
In itia l Ve lo c ity (V I)
Tim e
A
cc
el
er
at
io
n
A c
cel
er
at
io
n
D
ec
ele
ra
tio
n
M A C = 8 0
M A C = 8 0
M R C = 3 5
H C D T = 6 0
M S D T = 3 0
M H C = 1 5
(I
= 80 % )
A C C L
(I
= 80 % )
A C C L
(I
= 35 % )
R U N
(I
D elay Tim e = 60 m s)
H O LD
(M o tor Se ttling
D ela y Tim e = 3 0m s)
(I
= 1 5% )
H O LD
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from