Hi,

The project has been on hold for slightly more than a week but I managed to
get it work, with one exception. Homing, forward jog and pre-homed Tn M6
works great. The only problem is that the combined homing and Tn M6
procedure makes it go one step too far now since it goes directly from
homing to tool change without reversing in between. This is of course
logical but it breaks the program logic that I added that makes the
carousel go one step further during every tool change. So I have to add
some functionality that will deduct that extra step if a Tn M6 command is
issued and the turret isn't homed.

The solution isn't glodal yet, the code I've added will break the
functionality for tool changers that doesn't require the extra step but my
plan is to add the proper evaluations to fix this. There might also be a
need to add an extra argument to the carousel in order to make it
distinguish between one-way tool changers that locks in place without
backing off the encoder (if that type exist), and this Emco-style my lathe
is equipped with, that does back off the encoder during locking.

Den lör 23 jan. 2021 kl 01:34 skrev andy pugh <bodge...@gmail.com>:

> On Thu, 14 Jan 2021 at 10:35, andy pugh <bodge...@gmail.com> wrote:
>
> > Note: As it stands jogging won't work as current_position is one less
> > than the actual position.
> > Did you check M6 Tnn commands, or only jogging?
>
> Where are we with this?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to