
Sample
Applications
and
Commands
STEP 1
STEP
2
STEP 3
CHAPTER
4.
APPLICATION DESIGN
75
This
section provides
step-by-step
procedures
to
run
sequences
from
your
PtC.
First.
you
need
to
enter
the
programs
into
the
AX
drive. You will
need
a
terminal
or
a
computer
with
RS-232C
communication
capability. You
need
to define
the
sequences
before you
can
execute
them
with
your
PLC's BCD outputs.
Using a
terminal
or
a
computer.
key
in
the
following
commands:
Issue
the
XP9
command.
Define
the
following
sequences:
Command
XE1
X01
MN
A1
V10
06400
G
XT
Command
XE2
X02
MN
A1
V10
03200
G
XT
Command
XE3
XD3
MN
A1
V10
012800
G
XT
Command
XE4
MN
X04
A1
V10
0·44800
G
XT
Description
Erases Sequence 1
Defines Sequence 1
Sets move
to
normal mode
Sets acceleration to 1
rev/sec
2
Set velocity to 10 rps
Sets distance to 6,400 steps
Executes the move (Go)
Ends Sequence 1 definition
Description
Erases Sequence 2
Defines Sequence 2
Sets move to normal mode
Sets acceleration to 1
rev/sec
2
Set velocity to
10
rps
Sets distance to 3,200 steps
Executes the move (Go)
Ends Sequence 2 definition
Description
Erases Sequence 3
Defines Sequence 3
Sets move to normal mode
Sets acceleration to 1
rev/sec
2
Set velocity to 10 rps
Sets distance to 12,800 steps
Executes the move (Go)
Ends Sequence 3 definition
Description
Erases Sequence 4
Sets move to normal mode
Defines Sequence 4
Sets acceleration to 1
rev/sec
2
Set velocity to 1 0 rps
Sets distance to 44,800 steps (CCW)
Executes the move (Go)
Ends Sequence 4 definition
Verify
that
your
programs
were
stored
properly
by
uploading
each
entered
sequence
(XU
command
preceded
by
the
device
address
and
followed
by
the
number
of
the
sequence).
If
you
receive
responses
that
differ from
what
you programmed. re-
enter
those
sequences.
Comentários a estes Manuais