Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Giuno85 on November 29, 2024, 09:02:17 AM

Title: DE REF ASXIS
Post by: Giuno85 on November 29, 2024, 09:02:17 AM
Hello everyone.
I would like to remove the referencing of the axes done with "Ref-All button".
Let me explain better. When I turn on the machine, it references all the axes to give the machine zero.
In the case of a problem with the drive or the motors, I can have a loss of steps and the machine zeros are no longer consistent with the position of the tool.
I would like to remove the referenced of all the axes and that it is illustrated in the control... for example, that the referenced LEDs (image A) are off...
How can I do it?
Title: Re: DE REF ASXIS
Post by: TPS on December 01, 2024, 04:46:41 AM
normaly the mach3 does not reference all axis after turn on. Ref. All button will only reference the machine if it is pressed by operator.

check your Initialisation String in Config -> General Config this is the Code witch will be
excecuted after machine get's reseted.
Title: Re: DE REF ASXIS
Post by: Giuno85 on December 04, 2024, 03:04:12 AM
hello TPS I didn't explain myself well.
I do the "REF ALL" manually via button.
What I would like to do is de-reference the axes in case of driver malfunction, using the "DRIVER ALARM" driver output.
I'm already using this output by programming in Macropump that when this input is read on the board the machine stops by going into E-stop.
I would like to add to the function that in addition to going into E-stop, de-references the axes as I showed in the image of the previous post, so as to be forced to redo the home procedure of all the axes
Title: Re: DE REF ASXIS
Post by: TPS on December 07, 2024, 09:06:29 AM
as far i remember a

DoButton(21) 'Reset

should stop the machine and deref the axis.

it is the same then pushing the Rest Button an main screen.