Schooner - Thanks for the pointer - I had missed that I needed to install the component.
I had to add the machinekit-dev packages to be able to run the comp --install toolchanger.comp Now when I run that I get the following errors: toolchanger.c:55:5: error: unknown type name 'bool' bool bEven; ^ toolchanger.c57:5: error: unknown type name 'bool' bool bToggle; ^ toolchanger.c63:5: error: unknown type name 'bool' bool bWarn; ^ toolchanger.c69:5: error: unknown type name 'bool' bool fjog; ^ toolchanger.c71:5: error: unknown type name 'bool' bool bjog; ^ I see that this is your original contribution - many thanks. I hope I can get it working without being too much of a pain. Mike On Saturday, November 19, 2016 at 8:28:00 PM UTC, Mike Ross wrote: > > Hi everyone, I'm trying to add a toolchanger component to my config. I > have a Compact5 lathe that is converted to steppers and I've got that much > working (X and Z). I was also able to configure the toolchanger stepper as > A axis to confirm its wired right. > > I've tried looking at and copying from the toolchanger examples on the > Machinekit.io documentation but I've stumbled. > > A bit more background - I'm trying to copy the example toolchanger for > the Boxford 240 example( found here: > http://www.machinekit.io/docs/developing/toolchangers/) as its very > similar to my turret toolchanger, mine is only 6 positions versus 8, but it > too is a rotate past a pawl and then back up against it type, no sensors, > and converted to a stepper motor. > I've edited my hal, ini and the toolchanger.comp to be what I think is > correct...(i.e roughly correct - just looking for motion at the right time > and place - fine tuning will come later). > I seem to be failing to "load" the toolchanger component based on the log > file and error message? > > > 1. Debug file information: > 2. stat: No such file or directory > 3. Compact5.hal:286: insmod failed, returned -1: > 4. do_load_cmd: dlopen: toolchanger.so: cannot open shared object > file: No such file or directory > 5. rpath=/usr/lib/linuxcnc/xenomai > > > http://pastebin.com/2bMkjcnU > > Eventually I'd like to add spindle speed control as well but for now 1 > problem at a time. > > Any help with this is appreciated > > Thanks > Mike > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.