- Joined Jul 2, 2018
@LesJones thanksCan you explain the reasoning (And calculations) for changing the division ratio from 900 to the values 700, 800, 500, 1428 1228 ?
Also why do you use the value of 300 (0x12C) in the code in post #377 ?
The distance between sensor and scanner is 50mm long. When I set at 1428 prescale scanner doesn't scan the object. So I was trying with different prescale values
As per your calculations
segment = (400 x 1424 )/10000 = 57.12mm (Or 57.12/5278 second = 0.0108 seconds = 10.8 mS)
So belt cover 57.12 mm distance within 10.8 ms
That is less time for scanner to respond. Scanner take minimum 30 ms to scan
This is all calculations at full speed
Assume belt running at 1/3 speed aprox 400;rpm than I think it may take long time more then 30ms to cover 52.12 mm distance
How to set the accurate position of object in front of the scanner?