General > General Discussions
comparing value of two DM
(1/1)
artkraft:
I have DM[1] witch is the current position on a linear encoder. I want to know if DM[1] is = to or not greater than+ or- 4 cnts when at rest. If statement is true set Home flag.
support:
You should post this question at the Tech Support board.
It is simple IF THEN ELSE statement
#DEFINELOCAL targetCount = 1000
IF DM[1] < (targetCount + 4) AND DM[1] >= (targetCount - 4) THEN
...
ELSE
....
ENDIF
KellyP:
Got this question answered?
atlanta wedding photographer
BetterBath:
Thank you for this website, with so much valuable information.
Our siteClick hereAbout usPetsittingdogwalkingservicesnear mein PSLPet sittingcat sitterour siteAbout usClick hereAbout usAbout ourJunkremovalgarbagedisposalservicesin Port St LucieClick herefor more infowaste removaldebris removaldog sittingjunkremovalhaulingbulkpickupremovalhaulingservicesin port st luciefloridaremovaljunkremovalbulktrashpickupjunkhaulingservicesnearyouclickhereformoreinfoaboutourjunkremovalandrubbishremovalservicesnear you
Navigation
[0] Message Index
Go to full version