5-52 WORKING WITH THE CONTROL UNIT
SB1391 Hardware and Setup Guide - Document revision no. 1.14
Command mnemonic Meaning Effect of command
4.
SXWT500
S
et X axis Wait
T
ime to 500
Define a dwell between moves
(in msec).
5.
SXRP50000<cr>
S
et X axis Relative
P
osition to 50000
Set a Relative Position move of
50,000 counts.
6.
BX<cr>
B
egin X axis Send a Begin command.
The motor will move back and
forth between point 0 and 50,000
with a 0.5 second dwell between
moves.
5.4.3. Move By Sequence
The result of the following command sequence is that the motor runs through five predefined
points:
Command mnemonic Meaning Effect of command
1.
SXMO1<cr>
S
et X axis Motor
enable to 1
Enable the amplifier.
2.
AXSE0 5000 10000
20000 -20000
50000<cr>
A
rray X axis Set to
5000 10000 20000
-20000 50000
Define 5 points in the X target
array.
3.
SXUI4<cr>
S
et X axis Upper
I
ndex to 4
Sets the upper limit of the X target
array. This ensures that the
controller will not read values out of
the upper range.
4.
SXLI0<cr>
S
et X axis Lower
I
ndex to 0
Sets the lower limit of the X target
array. Note: UI >= LI.
5.
SXMM3<cr>
S
et X axis Motion
M
ode to 3
Choose motion mode 3 - move by
sequence.
6.
SXZP0<cr>
S
et X axis Zero
P
osition to 0
Set the current position counter to 0.
Note: This command applies only if
the encoder has found the index at
least once. Otherwise a controller
error no. 15 will result. The error
can be ignored and the next
command entered.
7.
SXWT400
S
et X axis Wait
T
ime to 400
Define a dwell between moves (in
msec).