![VELMEX VXM-3 Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/velmex/vxm-3/vxm-3_user-manual_3923815085.webp)
Appendix T
Stand-alone Methods to Select/Alter Program
Sometimes
it
is
necessary
for
the
user
to
interact
directly
with
the
VXM
to
select
a
program,
stop
program,
change
speed,
or
change
to
different
routine
based
on
an
external
input.
Below
are
the
four
categories
and
the
methods
for
user
interaction
with
the
VXM
in
standalone
applications.
External Selection of Programs
The
default
program
the
VXM
uses
is
program
#0.
By
pressing
the
Run
button
or
a
button
connected
to
the
Run
input
on
the
I/O
(see
Appendix
K)
program
#0
will
be
started.
If
a
binary
switch
is
connected,
to
Inputs
2
and
3,
programs
#0
to
#3
can
be
selected.
See
Appendix
C
and
Application
Note
#AN103
for
more
information.
External Setting of Speed
The
SmM-x
and
SAmM-x
commands
that
assign
analog
input
value
to
motor
speed
can
be
used
to
vary
speeds
based
on
an
external
potentiometer
setting.
Refer
to
Appendix
I
and
Application
Note
#AN102
for
more
information.
Program Interruption
The
Stop
button
or
a
button
connected
to
Input
4
normally
will
stop
a
program
in
a
controlled
manner.
When
Stop
is
pressed,
the
VXM
will
decelerate
a
running
motor
to
a
stop,
and
end
the
program.
The
VXM
can
be
optionally
set
to
run
program
#4
after
stopping.
See
Appendix
C
and
Appendix
K
for
more
information
and
other
stop
settings.
Conditional Branching
Branching/jumping
to
a
specific
part
of
a
program,
when
an
external
event
occurs,
is
a
way
to
produce
an
alternate
function
from
a
user
input.
There
are
three
different
ways
the
VXM
can
perform
conditional
branching:
1.
U13
and
U23
commands
wait
for
a
front
panel
button
or
I/O
input
to
jump
to
a
program
or
continue:
"Motor
1
Jog
-"
button
(I/O,10)
will
jump
to
program
#
1;
"Motor
1
Jog
+"
button
(I/O,11)
will
jump
to
program
#2
;
the
"Run"
button
(I/O,4)
will
continue
in
the
current
program.
See
Appendix
B
for
more
information.
2.
Input
3
(I/O,7)
is
a
special
interrupt
of
a
wait
for
input
command.
For
example,
the
U0
command
will
wait
for
a
low
on
input
1
(I/O,5).
When
the
VXM
is
waiting
for
Input
1
and
Input
3
(I/O7)
is
pulled
low
the
program
will
immediately
branch
to
program
#3.
See
Appendix
C
for
more
information
about
enabling/disabling
this
feature.
3.
commands
to
skip-next-command-on-input-high/low
are
the
most
versatile
conditional
branch
commands.
These
commands
allow
jumps
or
speed
changes
to
occur
based
on
the
state
of
input
1
or
2.
See
the
following
page
for
more
information
about
these
commands.
THE STOP
BUTTON/INPUT 4 IS NOT
AN EMERGENCY
STOP. FOR EMERGENCY
STOP, POWER TO VXM SHOULD BE DISCONNECTED.
The
U11/U21
and
U12/U22
CAUTION:
!
8