Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Tristar500 on April 16, 2011, 04:41:40 PM

Title: how to trigger a feed hold?
Post by: Tristar500 on April 16, 2011, 04:41:40 PM
I'm having some trouble with my HFD faulting from time to time and I want the 3 axis to feed hold when this happens.

I've got it configured so that when the HFD faults it triggers a E stop but then I lose position. 

How to I command Mach to do a feed hold when the drive faults?
Title: Re: how to trigger a feed hold?
Post by: olf20 on April 16, 2011, 07:32:38 PM
You must have a output from your drive?
Just interface it to mach3 the same as you did
for Estop except use the oem code for feed hold and
assign the input.
It is called OEM Trigger under Config / System Hot Keys.
Then goto ports and pins and tell Mach which input pin you are
using for OEM Trigger #?
I just put a FH switch on the front of my mill last week.
I believe the oem code is 1001.
Assuming of course you are using a BOB.
olf20 / Bob
Title: Re: how to trigger a feed hold?
Post by: BR549 on April 16, 2011, 09:04:15 PM
IF it is a VFD for the spindle be advised that feedhold is NOT imediate in nature the axis can run on for many seconds depending on the look ahead settings. This could cause damage to parts and machine.

Just a thought, (;-) TP
Title: Re: how to trigger a feed hold?
Post by: olf20 on April 17, 2011, 07:34:57 AM
What input are you using for the Drive Fault?
 
Goto Config - System Hot Keys
Enter Feed Hold (1001) to OEM Trigger #1.
See first picture.

Then goto Conf - Ports & Pins - Input
Scroll down to OEM Trigger#1.
Enter the port number that you are using for the EStop.
See 2nd picture.

If you post your xml file we can help you with the final
step of removing the drive fault to Estop.

As BR549 said, be sure to think thru the "what if's".
Safety first.
 
Hope this helps!! I know its confusing as there is several
things that have to be done.
olf20 / Bob
Title: Re: how to trigger a feed hold?
Post by: olf20 on April 17, 2011, 10:48:22 AM
Then goto Conf - Ports & Pins - Input
Scroll down to OEM Trigger#1.
Enter the port number that you are using for the EStop.
See 2nd picture.

I should have said ;
Enter the port number that you are using for
your drive fault input.

Sorry about that.

olf20 / Bob