Hi again, I've finally made some small adjustments to make it work with my machine. It's not a global solution yet but if you want you can have a look. I've commented the sections I've changed. As I mentioned in my earlier mail there might be a need for an extra argument when loading the carousel component to take care of whether or not an extra step is needed for these kind of tool changers. Unless all the reverse-locking changers need that. I don't know if I'm the first one to use the component for such a tool changer.
Den lör 23 jan. 2021 kl 23:24 skrev Andreas Linnarsson < andreas.linnars...@gmail.com>: > 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 >> >
carousel.comp
Description: Binary data
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users