No pictures etcetera, but we found the answer:
- first we checked if the hall detector did pulse --> YES, worked, and checked the number -> CORRECT
- Input to windows computer --> YES, same results.
- In Mach 3 V2.0, we saw that at:
- at very low spindle speed, the number of pulse were as expected,
- when turning spindel speed up and up,
- the number went up a bit, jumped to to 1/2, went up again, jumped to 1/3 and the same to 1/4
The answer was in the setting of the debounce settings:
Debounce Interval was 500 x40us
Index Debounce was also 500 x40us
After setting both to 50 x 40us, problem solved.
Some recalculations:
At 300 rpm, we saw the pulse was about 1/5 of a turn. ===> 40ms
Debounce setting was 500 x 40 us ==> 20 ms
About 500-600 rpm it started going crazy: a pulse is then about 20 ms, same as debounce time, so it waits till next pulse and so one ==> time in half, etcetera.
With 50 x 40us = 2 ms, we are good for 3000 rpm.
Correct? Regards, Eef