35
U32
U33
U50
U51
U90
CAUTION:
WaitfortheJog1-buttontobepressedanddebounced.
Memoryusage=2 bytes.
WaitfortheJog1+buttontobepressedanddebounced.
Memoryusage=2 bytes.
Waitforalowtohightransitionontheuserinput1withdebouncingfora
mechanicalpush-buttonswitch. A"high"isavoltagebetween+1.5VDC
and+5VDCappliedtoI/O,5. Asimplepushbuttonortoggleswitchcanbe
usedbetween0V(I/O,1)andinput1(I/O,5)tosatisfythisinput.
Whenapush-buttonswitchispressed,theswitch'selectricalcontactswill
bounceoffeachotherafewtimesbeforesettlingintotheirfinalposition. This
bouncing
willproduceaseriesofhighsandlows,whichcouldresultinseveral
consecutivewaitcommandstoseetheseelectricalbouncesasvalidinputsfrom
justonepush-buttonpress. Whenusingthe"U50"command,theVXMwillfilter
outtheelectricalbouncesassociatedwithmechanicalswitches.
Memoryusage=2 bytes.
Wait
foralowtohightransitionontheuserinput1withdebouncingfora
mechanicalpush-buttonswitch,holdinguseroutput1"high"(+5V)whilewaiting.
A"high"isavoltagebetween+1.5VDCand+5VDCappliedtoI/O,5. User
output1(I/O,14)willgoto+5Vforthedurationofthewait.
Asimplepushbutton
ortoggleswitchcanbeusedbetween0V(I/O,1)andinput1(I/O,5)tosatisfy
thisinput.
Whenapush-buttonswitchispressed,theswitch'selectricalcontactswill
bounceoffeachotherafewtimesbeforesettlingintotheirfinalposition. This
bouncingwillproduceaseriesofhighsand
lows,whichcouldresultinseveral
consecutivewaitcommandstoseetheseelectricalbouncesasvalidinputsfrom
justonepush-buttonpress. Whenusingthe"U51”command,theVXMwillfilter
outtheelectricalbouncesassociatedwithmechanicalswitches.
Memoryusage=2 bytes.
Waitforalowtohightransitionon
theRuninput/buttonwithdebouncingfora
mechanicalpush-buttonswitch. PressingthefrontpanelRunbuttonora
connectionbetweenI/O,4andI/O,1(0V)willactivatethisinput.
Memoryusage=2 bytes.
asthefirstcommandifyouwantarunto
onlystartwithapressandthereleaseoftheRun
button.
TheRuninputalsostartsthecurrentprogramwhentheVXMis
inanidlestateeitherOn-LineorinLocalJog/slewmode.
Programming Tip:Usethe“U90”
SeeAlso
U0, U1
U11,U12,U21,U22 (Appendix T )