Section 7: Setting The Motor Resolution; Setting The Motor Resolution Exercise - IMS MicroLYNX Quick Manual

Hide thumbs Also See for MicroLYNX:
Table of Contents

Advertisement

7
The default resolution is 256
microsteps per step, or
51,200 microsteps per
revolution!
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
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
Downloaded from
Setting The Motor Resolution
The output resolution of the drive
section of the MicroLYNX is set by
the MSEL variable. By viewing the
table on the right, you can see that
there are fourteen (14) resolution
settings available with the
MicroLYNX. These settings may be
changed on-the-fly in either
immediate mode or in a
program. The operation of
this variable is illustrated in
the following exercise.
In this excercise we will write
a short program that will
simply slew the motor and
cycle through a few of the
binary microstep resolution
settings. The lower the
resolution is, the higher the
speed of the motor.
S e t t i n g t h e M o t o r
R e s o l u t i o n E x e r c i s e
Enter the following program into the text editor window of the LYNX Terminal:
MAC=100
'set acceleration current to 75%
MRC=100
'set run current to 75%
PGM 200
'start program at address 200
SLEW 8000
'slew the motor at 4000 munits/sec
HOLD 1
'suspend prog. until velocity change completes
MSEL=128
'set resolution to 128 msteps/step
DELAY 1000
'delay program 1 sec.
MSEL=64
'set resolution to 64 msteps/step
DELAY 1000
'delay program 1 sec.
MSEL=32
'set resolution to 32 msteps/step
DELAY 1000
'delay program 1 sec.
MSEL=16
'set resolution to 16 msteps/step
DELAY 1000
'delay program 1 sec.
MSEL=8
'set resolution to 8 msteps/step
DELAY 10000
END
PGM
Transfer the program to the MicroLYNX by clicking the menu item "Transfer > Download"
and selecting "Edit window" as the source. Run the program by typing "EXEC 200" in the
terminal. The motor should speed up as it cycles through the resolution setting.
M
c i
o r
s
e t
p
R
e
s
l o
t u
o i
n
S
e
t t
M
S
E
L
P
a
a r
m
t e
r e
M
c i
o r
s
(
M
c i
o r
s
e t
p
s
S /
e t
) p
B
n i
a
y r
M
c i
o r
s
e t
p
R
e
s
l o
t u
o i
n
(
. 1
° 8
M
o
o t
) r
2
4
8
1
1
6
3
3
2
6
6
4
1
1
2
8
2
2
5
6
5
D
e
i c
m
l a
M
c i
o r
s
e t
p
R
e
s
l o
t u
o i
n
(
. 1
° 8
M
o
o t
) r
5
1
1
0
2
2
5
5
5
0
1
1
2
5
2
2
5
0
5
Table 7.1: Microstep Resolution Settings
n i
g
s
e t
p
s
R /
e
v
S
e
t t
n i
g
s
4
0
0
8
0
0
6 ,
0
0
2 ,
0
0
4 ,
0
0
2
8 ,
0
0
5
6 ,
0
0
1
2 ,
0
0
S
e
t t
n i
g
s
0 ,
0
0
0 ,
0
0
0 ,
0
0
0
0 ,
0
0
5
0 ,
0
0
0
0 ,
0
0
23

Advertisement

Table of Contents
loading

Table of Contents