4
Indicate Limit Switch Encounter to Detect Faults
A
properly
connected/
configured
limit
switch
will
always
stop
a
motor
immediately.
Normally
the
host
computer
would
not
know
if
a
limit
switch
stopped
a
move.
With
the
“
O
”
command
described
below,
the
VXM
can
be
set
to
notify
the
host
computer
that
it
has
hit
a
limit
switch
and
stop
the
entire
program
too.
O
x
Indicate
Limit
Switch
O
ver-travel
to
the
host.
The
VXM
sends
"
O
"
when
x
=1
and
a
limit
switch
is
encountered.
This
command
is
useful
when
the
host
needs
to
know
if
a
positioner's
travel
has
been
exceeded
due
to
a
motor
stall
or
an
index(es)
that
are
too
long.
When
Indicate-Limit-
Switch-Over-travel
=
1,
the
VXM
transmits
the
single
character
"
O
"
to
the
host
when
an
indexing
motor
activates
it's
limit
switch
input.
(this
command
is
immediate,
and
uses
a
reserved
memory
location)
:
Home
to
limit
switch
commands
never
stop
the
program,
but
the
“O”
will
be
sent
if
enabled.
Memory
usage
=
0
bytes
NOTE
x
Value
Function
0
1
2
3
Disabled
(default)
Send
O
to
host
when
hit
Limit
Stop
program
if
hit
Limit
Send
O
to
host
and
Stop
program
when
hit
Limit
O
<cr>
Read
current
setting
for
Indicate
Limit
Switch
O
ver-travel
to
the
host.
See
Also
V, ?, ImM0, ImM-0, Example
#7