contour shuttle pro as EMC pendant
I am in the process of setting up my 4 axis router in EMC/Linuxcnc. It has been setup in Mach3 for some time now and works fine. I would like to try it on Linuxcnc to do some comparison. In Mach3, I have been using a Contour Shuttle Pro for a pendant and I really like it. Can anyone tell me if I can set it up in Linuxcnc? And if so, how do I do it?
Please Log in or Create an account to join the conversation.
There is no stock component, see these 2 threads, not sure if they resulted in a finished item
www.linuxcnc.org/index.php/english/forum...oders?start=60#29440
www.linuxcnc.org/index.php/english/forum...s-every-x-time#29477
regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
linuxcnc.org/docs/html/man/man1/shuttlexpress.1.html
Is this a predefined user function in the hal? If so, how do I use it? How do I assign the buttons? And could I add buttons to it to make the Shuttle Pro buttons all work?
Please Log in or Create an account to join the conversation.
Is this a predefined user function in the hal? If so, how do I use it? How do I assign the buttons? And could I add buttons to it to make the Shuttle Pro buttons all work?
What do you want the buttons to do?
Try the following in your custom.hal file.
loadusr shuttlexpress
net feed-o shuttlexpress.0.counts => halui.max-velocity.counts
setp halui.max-velocity.count-enable 1
If everything is working properly then that will make the inner shuttle wheel control the feed over-ride. (As an example)
Please Log in or Create an account to join the conversation.
The way I have my Shuttle Pro setup in Mach3 is I have four of the buttons used to select an axis(XYZA), one button to turn an output on and off for a laser crosshair, one button to zero X & Y on workpiece to the laser crosshair, one button as another e-stop, one button for "run", one button for "stop", one button to zero my A axis, and one button to switch DROs from mm to IN.
Please Log in or Create an account to join the conversation.
Well, that only gives one function to one control, there will be a comensurate increase in complexity as more buttons and controls are given functions.Is that all I should need to add??
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...2e61ec5fe7a8;hb=HEADAnd will it work with a Shuttle Pro, as opposed to the Shuttle Express?
Has the product-id hard-coded as 0x20, and the Shuttle Pro is 0x0011 (according to the interweb). So it probably won't work without changes.
There is probably a good argument for making the component work with both devices.
That can all be set up in LinuxCNC, but it makes sense to check that it works at all first.The way I have my Shuttle Pro setup in Mach3 is I have four of the buttons used to select an axis(XYZA), one button to turn an output on and off for a laser crosshair, one button to zero X & Y on workpiece to the laser crosshair, one button as another e-stop, one button for "run", one button for "stop", one button to zero my A axis, and one button to switch DROs from mm to IN.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So, how do I make the changes? Do I save a copy of the file on that link, change the Poduct ID, add buttons, and save it? If so, where do I save it?
Unfortunately it is a bit more complicated than that, as is is a C file so needs to be compiled, and to compile it you need all the rest of the LinuxCNC source code.
Can you make sure that the existing component doesn't just work first?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.