EasyManua.ls Logo

VELMEX VXM-3 - Page 35

VELMEX VXM-3
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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"U51command,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 )