Axis AX-906 Guía de usuario Pagina 6

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 24
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 5
62
AX
DRIVE USER GUIDE
LoopS
Single Loops
Nested
Loops
This
section
discusses
methods
of
establishing
loops
in
the
programs
you
write
for
you
application. Loops
can
be
created
individually
or
nested
within
each
other.
You
may
use
the
Loop
(L)
command
to
repeat
certain
programs
the
one
provided below. All
the
commands
between
the
L
command
and
the
N
command
are
looped (repeated)
the
number
of
times
indicated
in
the
L
command.
You
can
use
the
Immediate
Pause
(01
command
to
temporarily
halt
execution
of
the
loop while
it
is
in
progress.
NarE:
'I11e
U
command
does not
work
in
continuous mode. To
resume
loop
execution.
issue
the
Continue
(C)
command.
Command
PS
MPI
MN
AS
VS
LS
0128""
G
T2.0
N
C
Description
Pauses command execution until the indexer
receives a Continue (C) command
Sets mode to incremental
Sets move to normal mode
Sets acceleration to 5 revs/sec
2
Sets velocity to 5 rps
Performs the Loop 5 times
Sets distance to 12,800 steps
Executes the move (Go)
Delays
2 seconds after the move
Ends Loop
Initiates command execution
The
motor
moves
a
total
of
64.000
steps
(a
succession
of
five
12.800-step
moves
with a
2-second
pause
between
each
move).
The
example
below
shows
how
you
can
nest
a sma11loop
inside
a
major
loop.
The
only
way
you
can
nest
a loop
is
by
using
the
Constant
Velocity Loop
(CL)
and
End
Loop
(CN)
commands
in
the
continuous
mode
(MC).
You
may
nest
a
constant
velocity loop
within
a
standard
loop.
but
not
within
another
CL loop.
The
following
sequence
turns
on
output
1.
then
output
2.
then
turns
then
both
off.
You
can
issue
the
Stop
Loop (Y)
command
to
terminate
both
loops.
Command
P
MC
V1
L10
CL5
C01X
CTM1
COX1
CV2
CO,,"
CV1
CN
CV"
G
H
N
C
Description
Pauses execution until C command
Sets move to continuous mode
Sets velocity to 1 rps
Loops
10 times
-----------,
Constant velocity loop 5 times
---""I
Tums on output 1
Waits 1 second
Tums on output
2
Changes velocity to 2 rps
Tums off both outputs
Changes velocity to 1 rps
Nested
Loop
Ends continuous velocity nested loop
Changes velocity to 0 (stop)
Executes move
Changes direction
Ends outer
Ioop
_________
~
Cancels pause and executes move
Outer
Loop
Vista de pagina 5
1 2 3 4 5 6 7 8 9 10 11 ... 23 24

Comentarios a estos manuales

Sin comentarios