Hello, tanks for all the suggestions.
I saw one example that is based on that principle, and i tought it would to the job, but it was just an ideia.
I tought that too, and i increased the time to refresh to help on the task of timer1, but didn't gave any result.
First, each time i pressed the button, to simulate a rotation, it gave me completly different numbers, then nothing happend.
You are right. On booth.
The pseudo code you gave me looks simple, i'll try to build it.
You are absolutly right tasmod, the problem is that i have 7 conveyours in 1 line, and 39 lines, 273 conveyours plus 193 conveyours in another zone. The conveyours are different in diameter, there are 4 types, and the shaft is visible only in the center, so i plan to break the beam with plain white paper, since the optoelectronics i'm usig where taken from a printer, the detection of paper.
With this, i'm not saing you are wrong, but to be fast enough to check the rotation of the shafts, i must not take too much time or be too complicated, althoug i only have to do it once every year
Bookmarks