## Autosquaring logic faulty (or misunderstood)?

Expand Messages
• Hi All On a machine with a long gantry driven by 2 motors (X and A), two home switches in series for a single output, the homing appears to work as follows:
Message 1 of 5 , Feb 3, 2008
• 0 Attachment
Hi All

On a machine with a long gantry driven by 2 motors (X and A), two
home switches in series for a single output, the homing appears to
work as follows:

Gantry drives towards switches, stops on switch break, backs off, de-
slaves, motor A drives towards switch, breaks, backs off, motors re-
slave.

But, this is surely incorrect if gantry was out of square to start
with and motor X was lagging 2mm behind motor A?

In this post . . . . .
http://groups.yahoo.com/group/mach1mach2cnc/message/78295
. . . . . it was implied that autosquare needed independent switches.

I think that an accurate autosquare can work with a single switch
circuit with the following logic:

1. both motors drive until any switch opens
2. both motors back off until circuit closes
--- system de-slaves A from X ---
3. motor A drives until circuit opens
4. motor A backs off until circuit closes
5. motor X drives until circuit opens
6. motor X backs off until circuit closes
--- system re-slaves A to X ---

Or, is that how the autosquaring works already?
• Hello, I would have a longer flag to tell that you are over with the X axis.. You should not be able to drive past it with the X axis. if you do this the
Message 2 of 5 , Feb 3, 2008
• 0 Attachment
Hello,
I would have a longer flag to tell that you are over with the X axis..
You should not be able to drive past it with the X axis. if you do this
the homing should work fine.
Thanks
Brian

gerald_dorrington wrote:
> Hi All
>
> On a machine with a long gantry driven by 2 motors (X and A), two
> home switches in series for a single output, the homing appears to
> work as follows:
>
> Gantry drives towards switches, stops on switch break, backs off, de-
> slaves, motor A drives towards switch, breaks, backs off, motors re-
> slave.
>
> But, this is surely incorrect if gantry was out of square to start
> with and motor X was lagging 2mm behind motor A?
>
> In this post . . . . .
> http://groups.yahoo.com/group/mach1mach2cnc/message/78295
> . . . . . it was implied that autosquare needed independent switches.
>
> I think that an accurate autosquare can work with a single switch
> circuit with the following logic:
>
> 1. both motors drive until any switch opens
> 2. both motors back off until circuit closes
> --- system de-slaves A from X ---
> 3. motor A drives until circuit opens
> 4. motor A backs off until circuit closes
> 5. motor X drives until circuit opens
> 6. motor X backs off until circuit closes
> --- system re-slaves A to X ---
>
> Or, is that how the autosquaring works already?
>
>
• Thanks for looking at it Brian But, sorry, I don t understand your reply. AutoSquare is an embedded feature of Mach3 which is rarely mentioned or discussed.
Message 3 of 5 , Feb 3, 2008
• 0 Attachment
Thanks for looking at it Brian

"AutoSquare" is an embedded feature of Mach3 which is rarely
mentioned or discussed. I am trying to figure out what it is really
supposed to do, because from what I hear it doesn't make sense to me.

Could anybody explain this in simpler terms for me please?

Thanks

Gerald

--- In mach1mach2cnc@yahoogroups.com, Brian Barker <brianb@...> wrote:
>
> Hello,
> I would have a longer flag to tell that you are over with the X
axis..
> You should not be able to drive past it with the X axis. if you do
this
> the homing should work fine.
> Thanks
> Brian
>
>
> gerald_dorrington wrote:
> > Hi All
> >
> > On a machine with a long gantry driven by 2 motors (X and A), two
> > home switches in series for a single output, the homing appears
to
> > work as follows:
> >
> > Gantry drives towards switches, stops on switch break, backs off,
de-
> > slaves, motor A drives towards switch, breaks, backs off, motors
re-
> > slave.
> >
> > But, this is surely incorrect if gantry was out of square to
start
> > with and motor X was lagging 2mm behind motor A?
> >
> > In this post . . . . .
> > http://groups.yahoo.com/group/mach1mach2cnc/message/78295
> > . . . . . it was implied that autosquare needed independent
switches.
> >
> > I think that an accurate autosquare can work with a single switch
> > circuit with the following logic:
> >
> > 1. both motors drive until any switch opens
> > 2. both motors back off until circuit closes
> > --- system de-slaves A from X ---
> > 3. motor A drives until circuit opens
> > 4. motor A backs off until circuit closes
> > 5. motor X drives until circuit opens
> > 6. motor X backs off until circuit closes
> > --- system re-slaves A to X ---
> >
> > Or, is that how the autosquaring works already?
> >
> >
>
• Wait a minute, I think I have found the reason for the confusion... Some folk believe that their gantries will autosquare without having an independent home
Message 4 of 5 , Feb 3, 2008
• 0 Attachment
Wait a minute, I think I have found the reason for the confusion...
Some folk believe that their gantries will autosquare without having
an independent home switch on the slaved motor of the gantry. These
folk have all their home switches in series, see the little jiggle
squaring routine, and then believe that the autosquaring has been
been executed.

However, my suggestion in the original question then still stands -
how to achieve autosquare with a single homing circuit (all switches
in series):

1. both motors drive until any switch opens
2. both motors back off until circuit closes
--- system de-slaves A from X ---
3. motor A drives until circuit opens
4. motor A backs off until circuit closes
5. motor X drives until circuit opens
6. motor X backs off until circuit closes
--- system re-slaves A to X ---

Thanks

Gerald

--- In mach1mach2cnc@yahoogroups.com, "gerald_dorrington"
<gdpost@...> wrote:
>
> Thanks for looking at it Brian
>
>
> "AutoSquare" is an embedded feature of Mach3 which is rarely
> mentioned or discussed. I am trying to figure out what it is really
> supposed to do, because from what I hear it doesn't make sense to
me.
>
> Could anybody explain this in simpler terms for me please?
>
> Thanks
>
> Gerald
>
>
> --- In mach1mach2cnc@yahoogroups.com, Brian Barker <brianb@> wrote:
> >
> > Hello,
> > I would have a longer flag to tell that you are over with the X
> axis..
> > You should not be able to drive past it with the X axis. if you
do
> this
> > the homing should work fine.
> > Thanks
> > Brian
> >
> >
> > gerald_dorrington wrote:
> > > Hi All
> > >
> > > On a machine with a long gantry driven by 2 motors (X and A),
two
> > > home switches in series for a single output, the homing appears
> to
> > > work as follows:
> > >
> > > Gantry drives towards switches, stops on switch break, backs
off,
> de-
> > > slaves, motor A drives towards switch, breaks, backs off,
motors
> re-
> > > slave.
> > >
> > > But, this is surely incorrect if gantry was out of square to
> start
> > > with and motor X was lagging 2mm behind motor A?
> > >
> > > In this post . . . . .
> > > http://groups.yahoo.com/group/mach1mach2cnc/message/78295
> > > . . . . . it was implied that autosquare needed independent
> switches.
> > >
> > > I think that an accurate autosquare can work with a single
switch
> > > circuit with the following logic:
> > >
> > > 1. both motors drive until any switch opens
> > > 2. both motors back off until circuit closes
> > > --- system de-slaves A from X ---
> > > 3. motor A drives until circuit opens
> > > 4. motor A backs off until circuit closes
> > > 5. motor X drives until circuit opens
> > > 6. motor X backs off until circuit closes
> > > --- system re-slaves A to X ---
> > >
> > > Or, is that how the autosquaring works already?
> > >
> > >
> >
>
• Hello, You need to have the portion that will activate the switch (Flag) to be longer. The sequence is as follows Home X .. Home A... If the A is so far out
Message 5 of 5 , Feb 4, 2008
• 0 Attachment
Hello,
You need to have the portion that will activate the switch (Flag) to be
longer. The sequence is as follows
Home X ..
Home A...
If the A is so far out that it is past the section that will activate to
switch you need to change the machine so it has a longer section to
activate the A home input.
thanks
Brian

>
> However, my suggestion in the original question then still stands -
> how to achieve autosquare with a single homing circuit (all switches
> in series):
>
> 1. both motors drive until any switch opens
> 2. both motors back off until circuit closes
> --- system de-slaves A from X ---
> 3. motor A drives until circuit opens
> 4. motor A backs off until circuit closes
> 5. motor X drives until circuit opens
> 6. motor X backs off until circuit closes
> --- system re-slaves A to X ---
>
> Thanks
>
> Gerald
>
>
Your message has been successfully submitted and would be delivered to recipients shortly.