Machsupport Forum

Third party software and hardware support forums. => Modbus => Topic started by: ostie01 on April 07, 2011, 12:05:08 AM

Title: Can I add an enable and disable function in the macropump
Post by: ostie01 on April 07, 2011, 12:05:08 AM
Would like to add this function to the macropump.

I have a switch on the pendant to put it on or off.

But if I leave it off, feed rate and spindle override are set to approx. zero.

If I turn it on, DRO's are set to the value on analog inputs.

Would like to add a switch to enable or disable the pendant in so I can use the mouse if I want.

Thanks, Jeff
Title: Re: Can I add an enable and disable function in the macropump
Post by: BR549 on April 27, 2011, 09:12:24 PM
You set up your switch . Inside the Macropump at the start of the code check the value of a led that is turned on /off with the switch.

If the led is on then continue with the rest of the code . IF the LED is off then jump to the end and bypass the pendant code

Just a thought, (;-) TP