4
Indicate Limit Switch Encounter to Detect Faults
Aproperlyconnected/configured limitswitchwillalwaysstopamotorimmediately.
Normallythehostcomputerwouldnotknowifalimitswitchstoppedamove.
Withthe“O”commanddescribedbelow,theVXMcanbesettonotifythehostcomputer
thatithashitalimitswitchandstop
theentireprogramtoo.
Ox
IndicateLimitSwitchOver-traveltothehost.
TheVXMsends"O"whenx=1andalimitswitchisencountered. Thiscommand
isusefulwhenthehostneedstoknowifapositioner'stravelhasbeenexceeded
duetoamotorstalloranindex(es)thataretoolong. WhenIndicate-Limit-
Switch-Over-travel=1,theVXMtransmitsthesinglecharacter"O"tothehost
whenanindexingmotoractivatesit'slimitswitchinput.
(this command is immediate, and uses a reserved
memorylocation)
: Hometolimitswitchcommandsneverstoptheprogram,butthe“O”willbe
sentifenabled.
Memory usage
= 0 bytes
NOTE
x Value
Function
0
1
2
3
Disabled(default)
Send O tohost
whenhitLimitStop
programifhitLimit
Send O tohost
andStopprogram
whenhitLimit
O<cr> ReadcurrentsettingforIndicateLimitSwitchOver-traveltothehost.
SeeAlso
V, ?, ImM0, ImM-0, Example
#7