Hello Guest it is August 26, 2019, 01:32:10 AM

Author Topic: Update and index pulse  (Read 5058 times)

0 Members and 1 Guest are viewing this topic.

Offline N4NV

*
  •  393 393
    • View Profile
Update and index pulse
« on: January 16, 2011, 08:39:19 PM »
I just updated Mach lathe to 42.040.  Now my index pulse does not work.  I copied my XML files prior to the update and then copied them back.  Does anyone have a guess as to what setting might have changed?  Last time I had this problem it was caused by the index debounce setting, but I checked that and it is still set at 0.

Thanks
Vince

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Update and index pulse
« Reply #1 on: January 17, 2011, 02:34:03 AM »
Do you have the Turn Diagnostics plugin enabled?
Are you definitely using the Index input as the old Timing input is no use now.
Hood

Offline RICH

*
  • *
  •  7,351 7,351
    • View Profile
Re: Update and index pulse
« Reply #2 on: January 17, 2011, 05:35:09 AM »
Hi Vince,
Review the configuration info i put in the Threading on the Lathe write up in Members Docs ( page 42 to 46 ).
The turn diagnostics is no longer functional so disable it ( I need to update the write up )
Make sure your getting an index input from the sensor to begin with. Could be your Index Debounce setting ......
don't know what the default value is on a new install.

RICH

 

Offline N4NV

*
  •  393 393
    • View Profile
Re: Update and index pulse
« Reply #3 on: January 17, 2011, 04:10:05 PM »
I checked the index keybounce setting and that did not change.  The RPM readout was working right up to my install of the latest version of Mach.  I am back to the notion that something in the latest version of Mach is different and it affects the index pulse input.

Vince

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Update and index pulse
« Reply #4 on: January 17, 2011, 04:16:50 PM »
I use the latest versions but all are via the SmoothStepper so I am afraid I am unable to test with the parallel port, maybe someone else can.
Hood

Offline RICH

*
  • *
  •  7,351 7,351
    • View Profile
Re: Update and index pulse
« Reply #5 on: January 17, 2011, 04:39:56 PM »
Vince, Don't know what to say as i am still using 042.033 and know you know about config using Mach.
Would be interesting if you went back one by one until it worked again...PITA..... but if it does start working then that would
pin point a version problem.

At a high level, index won't work until you turn on the spindle, if the index is sending a signal diagnostics will confirm.
Maybe post your xml and and strange pair of eyes may see something wrong.
I am using the PP.
 
RICH  

Offline N4NV

*
  •  393 393
    • View Profile
Re: Update and index pulse
« Reply #6 on: January 17, 2011, 05:24:48 PM »
I have two different lathes, the first is a CHNC and the second is a Taig.  The CHNC is using a Hall effect sensor and the Taig is using an optical sensor.  They are set up different with different BOBs, input pins etc.  The CHNC with the .040 version of Mach is running fine as far as the index signal is concerned.  The Taig is not.  The Taig sensor is connected to pin 15.  I have attached my XML for that lathe.

Vince

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Update and index pulse
« Reply #7 on: January 17, 2011, 05:29:28 PM »
I think you need to have spindle relays enabled in recent versions, even if you dont control the spindle via relays. Just set them to some fictitious inputs and see if it works.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Update and index pulse
« Reply #8 on: January 17, 2011, 05:33:39 PM »
Aso did you see what Rich said regards the spindle needing turned on in Mach before Index will show?

Hood

Offline RICH

*
  • *
  •  7,351 7,351
    • View Profile
Re: Update and index pulse
« Reply #9 on: January 17, 2011, 05:36:11 PM »
Vince, i think the halls effect are nice sensors as that is what i am using.

With no power to the spindle, manualy turn the Taig spindle slowly and you should see the green light turn on and off  in diagnostics.
Does it do that?

I will be in here for a while, can you quickly try it out?
I'll take a look at your xml, try what Hood posted.

What kind of optical sensor are you using? I had a bunch and could never get the output voltage high enough to change the state of the pin need at least .8 - 5??.
RICH