User guide

64
AX
DRIVE
USER
GUIDE
Example
'3
Example
#4
Sequences
Sequence
Programming
Command
PS
MN
A2
V2
D384""
G
01X
C
Qescription
Pauses execution until indexer receives a
Continue
(C)
command
Sets move
to
normal mode
Sets acceleration
to
2 revs/sec
2
Sets velocity
to
2 rps
Sets distance to 38,400 steps
Executes the move
(Go)
Turns on Output 1
Cancels the Pause and executes the move
The motor moves
38.400
steps.
When
the
AX
completes
the
move.
Output
1
is
turned
on.
Command
PS
MN
A2
V2
D384""
G
"DONE
C
Description
Pauses execution until indexer receives a
Continue (C) command
Sets move to normal mode
Sets acceleration
to
2 revs/sec
2
Sets velocity to 2 rps
Sets distance
to
38,400 steps
Executes the move (Go)
Sends the message, DONE,
to
the terminal
Cancels the Pause and executes the move
The
motor
moves
38,400
steps.
When
you complete
the
move,
the
AX
issues
the
DONE message to
the
host
over
the
RS-232C
interface.
A
sequence
is
a series of commands. These
commands
are
executed
in
their
programmed
order
whenever
the
sequence
is
run.
Immediate
conunands
cannot
be stored
in
a sequence.
just
as
they
cannot
be
stored
in
the
conunand
buffer. Only
buffered
commands
may
be
used
in a sequence.
The
AX
has
2,000
bytes
of non-volatile
memory
(EEPROM)
to
store
up
to 7 sequences. Each sequence
may
have
up
to
256
characters
(including delimiters). Note
that
one
sequence
cannot
borrow
any
unused
portion of
another
sequence's
allocated memory. Use
the
following
commands
to
define,
erase,
and
run
sequences:
Command Description
XD
Starts sequence definition
XE
Deletes sequence from EEPROM
X P Sets Power-up Sequence Mode
XQ
Sets/resets interrupted Run mode
XR
Runs a sequence
X R P Runs a sequence with a pause
Xl
Ends sequence definition
XU
Uploads sequence
XZ
Sets power-up sequence to zero
The
cOTTUTlands
that
you
enter
to define a sequence
are
presented vertically
in
the examples below. This
was
done to
help
you
read and.
understand
the commands. When
you
are
actually
typing
these commands into
your
terminal, they will
be
displayed
horizontally.