Hello Guest it is April 24, 2024, 02:06:25 AM

Author Topic: Can I add an enable and disable function in the macropump  (Read 2602 times)

0 Members and 1 Guest are viewing this topic.

Can I add an enable and disable function in the macropump
« 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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Can I add an enable and disable function in the macropump
« Reply #1 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