My tool change component does not calculate direction as the machine's tool
changer only goes one way.

Heh, I have used LinuxCNC for a few years but I am nowhere near knowing all
about it.

On Wed, Apr 15, 2020, 4:22 PM andrew beck <[email protected]> wrote:

> Stuart
>
> could you please send me a PM with chris radeks email unless of course he
> sees it here.  I have no way of contacting him..
>
> just to confirm does your toolchanger calculate the shortest path and move
> the chain magazine that way to get to the required pocket?
>
> And also I am a little stuck now actually getting the handshaking with
> linuxcnc working
>
> I know how to get a S32 number into classic ladder.  to tell classic ladder
> which pocket to choose
> and I have me ladder logic to not more until I send a tool prepare signal
> from linuxcnc.  But I don't actually know how the linuxcnc signals work
> properly.  I am just guessing.
> I know how to send a tool prepared signal from my ladder logic back to
> linuxcnc to tell it that the tool is prepared and the toolchange can start.
> So I would really appreciate some help on the actual signals.  From the
> sound of it you have used linuxcnc for ages so know all about it.
>
> Even if you shared me your tool change hal file that may be enough.  I just
> want to check what actual io control signals I need to connect for each
> part and if there is anything i need to look out for
> I think this infomation is not machine specific any random position
> toolchanger would need to get this handshaking working.
>
> regards
>
> Andrew
>
> On Thu, Apr 16, 2020 at 9:01 AM Stuart Stevenson <[email protected]>
> wrote:
>
> > Andrew,
> >
> > Here is a machine of the same make and type as the one I had.
> >
> > https://www.dropbox.com/s/45pwhcvfqr38dfd/Used-Enshu-VMC.jpg?dl=0
> >
> > It is somewhat different than your machine. My machine didn't have a
> > bidirectional tool change matrix.
> >
> > Your machine looks like a larger edition of the Mori Seiki Jr.. I think
> > Chris Radek used classic ladder on his. I would ask him if he used
> classic
> > ladder and see if his files would work on your machine or give you a head
> > start.
> >
> > thanks
> > Stuart
> >
> >
> > On Wed, Apr 15, 2020 at 3:31 PM andrew beck <[email protected]>
> > wrote:
> >
> > > Hey andy and stuart
> > >
> > > Andy thanks for that logic.  you are right I can include it in classic
> > > ladder or use the hal component.  last night I actually found this
> maths
> > on
> > > the centroid websight just doing google searchs for shortest path
> > > toolchanger stuff.
> > > https://www.centroidcnc.com/downloads/centroid_cnc10_PLCMAN.pdf  It
> > looks
> > > pretty much identical to what you code in the hal component does I
> think.
> > > Anyway I got classic ladder going the shortest path in every
> circumstance
> > > so far as I can see perfectly now.  I am a happy man  I need to go try
> it
> > > on my machine now !  yeha
> > >
> > > Stuart
> > >
> > > here is my machine I think this video shows the toolchanger pretty
> well.
> > > It is basically what is on every side mount toolchanger on the HAAS
> > mills.
> > > it is a side mounted random pot tool changer and an has a
> > > arm to exchange the tools between a pot and the spindle. just like your
> > > type. they are pretty common I think.
> > > my mill on youtube <https://youtu.be/2h5DRg7TA_k>
> > >
> > >
> > > I would definitely be interested in seeing how you solved your problem
> as
> > > your toolchanger sounds similar to mine.
> > >
> > > regards
> > >
> > > Andrew
> > >
> > > On Wed, Apr 15, 2020 at 11:35 PM andy pugh <[email protected]> wrote:
> > >
> > > > On Wed, 15 Apr 2020 at 09:04, andrew beck <[email protected]>
> > > > wrote:
> > > >
> > > > >  it works pretty good if the numbers are 4 and 5 but not if
> > > > > they are 23 and 0  the magazine goes the long way round and takes
> > ages.
> > > > >
> > > > > How would I use your Hal component with this  as you say all I want
> > it
> > > to
> > > > > do it chose the correct direction for the shortest path..  I could
> > > > probably
> > > > > do it within classic ladder if I could work out the equations.
> > > >
> > > > The logic is here:
> > > >
> > > >
> > >
> >
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/carousel.comp#L267
> > > >
> > > > You could copy that in CL or let the carousel comp do its thing.
> > > >
> > > > --
> > > > 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
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > > >
> > >
> > > _______________________________________________
> > > Emc-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > >
> >
> >
> > --
> > Addressee is the intended audience.
> > If you are not the addressee then my consent is not given for you to read
> > this email furthermore it is my wish you would close this without saving
> or
> > reading, and cease and desist from saving or opening my private
> > correspondence.
> > Thank you for honoring my wish.
> >
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to