Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cliveastro on February 20, 2010, 10:22:36 AM

Title: Setting Up for index pulse
Post by: cliveastro on February 20, 2010, 10:22:36 AM
Hi
This weekends problem is Index pulse problems
I have a cnc4pc index pulse system on my lathe and the sytem pulses when the lathe is running.
The led on the unit changes speed when I change the motor speed (manual).
The meter shows a voltage change at the breakout board.
I have set the Index as port 1 and pin12 and ticked use spindle feedback in spindle set up.
In diagnostics index is green.
When I run it no rpm is shown it sits at zero.
I only have the output wire connected to the breakout board as it already has a ground. (I tried one and it made no difference.
Any clues please.

Clive
Title: Re: Setting Up for index pulse
Post by: RICH on February 20, 2010, 10:43:04 AM
Clive,
Did you turn the spindle on? Even if it is manualy turned on you need to turn it on software wise.
Type M3 in the MDI line. The software then starts looking for pulse to display RPM. This was done so low rpm values would be displayed.

RICH
Title: Re: Setting Up for index pulse
Post by: cliveastro on February 20, 2010, 10:52:13 AM
Hi Rich
I typed m3 in the mdi line. Still no output

Clive
Title: Re: Setting Up for index pulse
Post by: RICH on February 20, 2010, 11:05:20 AM
clive,
Post your xml
RICH
Title: Re: Setting Up for index pulse
Post by: cliveastro on February 20, 2010, 12:26:13 PM
Rich
How shall Isend my xml

Clive
Title: Re: Setting Up for index pulse
Post by: RICH on February 20, 2010, 01:19:33 PM
Make a copy of it and rename the copy to something like clive.xml and attach when you reply.
RICH
Title: Re: Setting Up for index pulse
Post by: cliveastro on February 20, 2010, 02:30:49 PM
Sorry to be a pain Rich but when I attach it shows all my path names
Title: Re: Setting Up for index pulse
Post by: RICH on February 20, 2010, 03:55:20 PM
You click POST, then click Additional Options,click the Browse button, in the windows flyout go to the file and click on it, then click the open button, the file along with the path to it will be  shown in the box next to Attach:
 When you click post, the file will uploaded .
RICH
Title: Re: Setting Up for index pulse
Post by: cliveastro on February 20, 2010, 05:38:40 PM
Here goes.
I got here but was concerned about the link
Title: Re: Setting Up for index pulse
Post by: Hood on February 20, 2010, 05:57:29 PM
You have Spindle Relay disabled, I think you may need to enable that in recent versions, just set it to an OutPut you are not using, you may also have to enable the output and just set up imaginary port for it.
Hood
Title: Re: Setting Up for index pulse
Post by: RICH on February 20, 2010, 07:09:49 PM
You got it Hood, i didn't see anything else wrong.
RICH
Title: Re: Setting Up for index pulse
Post by: cliveastro on February 21, 2010, 05:20:06 AM
Many Thanks Hood and Rich
Spot on.
Worked first time.
I checked the rpm and that is correct also.
Incidently I bought a tacho for £15 delivered from ebay.
Having now got the electronics bits working its on to limits and Estop.

Thanks again
Clive
Title: Re: Setting Up for index pulse
Post by: Hood on February 21, 2010, 05:22:52 AM
:)