Allright!!!! Got the carousel working! Or atleast I can control and home it from the Probe Basic Gui and index it as well, altough I had to struggle a bit.
It's setup with the step generator PCB + 2 relays and two optical sensors.
- Had to figure out how to wire the relays in a way that both carousel directions were switching the "ON/OFF" circuit on the small stepgen PCB, but only 1 direction / relay would close the DIR circuit.
- Had to change 1 parameter in the M13 homing subroutine (P4 to P3), seems to be a typo.
- Had to configure the Index signal with AND2 logic for the M13 homing subroutine, so it looks for both the Index and the Pulse sensors during homing.
- Had some trouble with my NPN optical sensors, because I thought my Mesa 7i84 daughtercard was using NPN, while in reality I needed PNP. image missing /media/kunena/emoticons/whistling.png image missing /media/kunena/emoticons/laughing.png
One problem, the drive wheel sensor flag overshoots the sensor by about 25 degrees during homing and index steps.
So when you home or index the carousel, the flag is passing the sensor completely due to deceleration it seems.
The result is if the follow up index movement is in the opposite direction, the flag gets detected after turning back only 25 degrees, with the physical carousel not stepping an index position, while the software does register +1 index pocket.
Not sure I can change decel with the stepgen PCB setup.
Two options to solve I think:
1- Create a longer flag on the drivewheel, so more like a lobe, which allows some more margin
2- Replace the drive wheel index sensor for a pulse flag on each pocket. The decel timing will give the geneva drive pin enough time to move out of the slot and properly engage.
Will try option 1 first, as I can just print a new disc with a longer flag.