Hello Guest it is March 28, 2024, 07:20:30 PM

Author Topic: Axis Feed Hold Brains  (Read 4348 times)

0 Members and 1 Guest are viewing this topic.

Offline WMT

*
  •  22 22
    • View Profile
    • www.intaglio.co.nz
Axis Feed Hold Brains
« on: January 26, 2016, 10:06:29 PM »
Hi. New to brains. And I need a little help please.
Ive finished setting up my rotary axis. A Axis with a pneumatic clamp on output 9. Activated by a couple of macros I wrote using M57 clamp ON. And M58 clamp OFF.
How can I make sure that a A axis feed command will not drive when the clamp is on.

To simplify. If M57 (output 9) is activated. No movement is allowed on the A axis only till the clamp is released with M58.

I tried a couple of things in the brains. But the air cylinder dosen't release fast enough and drives off with the brake on for a second.

Any help is much appreciated.

Cheers :)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Axis Feed Hold Brains
« Reply #1 on: January 27, 2016, 11:13:42 AM »
I do not know of ANY mechanism inside of Mach3 that will aloow you to do that. Many have tried over teh years. 

(;-) TP

Offline WMT

*
  •  22 22
    • View Profile
    • www.intaglio.co.nz
Re: Axis Feed Hold Brains
« Reply #2 on: January 30, 2016, 03:15:17 AM »
thanks BR549. I guess I will have to make sure my brake isn't on when i'm moving A Axis.

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Axis Feed Hold Brains
« Reply #3 on: February 04, 2016, 07:02:19 AM »
I guess I will have to make sure my brake isn't on when i'm moving A Axis.

That's probably what you should be doing anyway, but as a belt and braces you could set the A axis scale to zero when the clamp is on. i.e. add that into your M57 macro and of course the reverse in your M58. That will effectively cause A axis commands to result in no actual motion.

BTW I think you should really be using USER macro numbers. I forget where they start but 57 and 58 are too low I think. Terry will know.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Axis Feed Hold Brains
« Reply #4 on: February 04, 2016, 01:25:33 PM »
You want to start at M100 and go UP in numbers. The reason being that teh numbers M00 - M99 are considered internal Mcodes to Mach3 and CAN cause problems to use externally.