Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Renatox_ on May 01, 2015, 09:22:46 PM

Title: Cancel the A axis
Post by: Renatox_ on May 01, 2015, 09:22:46 PM
Is there any way to cancel the A axis from a macro.
I need the A axis does not move when I activated his brakes.

best regards
Renato
Title: Re: Cancel the A axis
Post by: BR549 on May 02, 2015, 11:43:21 AM
If you do not want the A axis to move do not give it any motion commands. It will NOT move until you tell it to.

(;-) TP
Title: Re: Cancel the A axis
Post by: Hood on May 02, 2015, 02:56:54 PM
If the A Axis is moving when applying the brake then it sounds like you have a noise issue, ideally all low voltage signal wiring should be shielded and properly grounded.
Hood
Title: Re: Cancel the A axis
Post by: Renatox_ on May 05, 2015, 07:53:15 PM
Hi, My A axis work well, with insulated cables, i use the macro M40 for brake the A axis,

with ActivateSignal(Output5) brake mecanical A axis
with DeactivateSignal(Output5 ) the A axis is free.

when the A axis is brake, the operator can make the mistake of moving the axis with the keyboard, wheel or give movement commands. To avoid this i would see if there is any way to cancel the A axis for software without entering a Port and Pins every time i brake the axis A.

regards
Renato
Title: Re: Cancel the A axis
Post by: Overloaded on May 05, 2015, 08:40:33 PM
You could maybe include a toggle of the "Axis Inhibit" for the A in your macro.
OEM Code Function 253

Russ
Title: Re: Cancel the A axis
Post by: Renatox_ on May 06, 2015, 08:24:26 PM
Thanks,
work as desire, A axis is canceled

Renato
Title: Re: Cancel the A axis
Post by: BR549 on May 06, 2015, 08:35:59 PM
Good Job Russ,  8)

(;-) TP