Got the speed control issue under control , a simple jumper in the vfd to choose how the incoming signal is handled, Set it for 0-10 volts and I can now get the shaft rpm to closely match the speed I type in . WIll fine tune it tommorw.
Now just to figure out the erratic rpm readings from the encoder, The instructions for the encoder board on the cnc4pc site show two term (+and-) 5v power in to the board , the three term the optical imterupter hooks to , and then two term for the signal, one labled ground , the other labled signal. I have the 5v in tied to the same regulated 5v power supply I am powering the break out board with, the interuptor was pre wired , the signal term is tied to pin 15 on the breakout board and the grnd which is right beside the signal terminal is tied to one of the ground terminals on the breakout board .
he light on the spindle encoder board is lit when ever the disk is interupting the beam and goes out for just a brief second when the gap in the disk aligns with the optical semsor. I was thinking(guessing) since a ground terminal is on the encoder board right beside the signal terminal that it must be grounding pin 15 each time a pulse is generated. The encoder seems to work the same wether the gnd is hooked to that term or not, erratic readings that jump anywhere from 30 rpms to 10000. When the slot is aligned with the pickup and the light is out on the encoder board the DRO reads zero with the spindle off, at any other point (optical signal interupted) it displays random speeds with the spindle off.
Apologies for the long winded description just want to be thorough in my description . As with most things I am sure I have something hooked up wrong or am overlooking something simple, just so much info to go thru