no you misunderstood. I used a peice of foil tape all the way around the spindle, but I painted it all black with the exception of a thin strip. so only a small line is reflective. though I really cant seem to get the sensor to function properly at all. basicly it doesnt matter what I put in front of it, It will see it. I tried a black piece of mat board and everything. switch goes on when anything is in front of it switch goes off when nothing is in front of it. no matter how reflective or non reflective. also when the switch is on, say if I put a shiny piece of aluminum in front of it, on the diagnostic screen the index LED is not solidly on like It should be. It blinks irraticly. ( Ive also tried a diiferent sensor with same results)
can someone give me a run down of all the things I have to do, to set up the software for an index sensor because I feel like Im missing something. I set up the input under ports and pins.
I looked at the spindle set up screen but it wont even allow me to enter the number of pulses per revolution in the box. Also I have no idea what the other 3 values marked as P,I,D, are for. I assume they control the accel and deceleration but Im not sure, can anyone clear this up for me. Is there another setup screen need to know about? I'm really in the weeds here.