Hello Guest it is March 28, 2024, 06:22:08 PM

Author Topic: spindle index code  (Read 3053 times)

0 Members and 1 Guest are viewing this topic.

spindle index code
« on: July 08, 2012, 11:27:52 AM »
 Im trying to get my spindle index pulse to work . Im getting this code -1.#IND in spindle calibration screen. please, I need help...

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: spindle index code
« Reply #1 on: July 08, 2012, 06:38:16 PM »
You dont need to do any calibration to get the index pulse to work. All you need is to set the correct port and pin for the index pulse and if using the parallel port you need to enable the spindle relays (ports and pins, spindle setup)
To see the spindle speed you need to tell Mach the spindle has started even if your spindle is not controlled from Mach, so either M3/M4 or press Spindle button.
Hood
Re: spindle index code
« Reply #2 on: July 08, 2012, 08:11:51 PM »
thanks for reply, i built my own opto sensor circut with opto coupler and 555 timer. but I am just getting random numbers on rpm display.

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: spindle index code
« Reply #3 on: July 08, 2012, 10:29:48 PM »
A 555 timer circuit can provide an index to Mach for testing but is of no value for actual RPM of  a turning spindle.
Maybe I am not understanding what you are doing. ???
RICH