- Posts: 20
- Thank you received: 0
contour shuttle pro as EMC pendant
hidcomp.sourceforge.net/
It looks like this would work for me(once I understand it.)
Please Log in to join the conversation.
One pin/button for each axis (xyza) to jog enable.
One pin/button to set a parallel port output.
One pin/button for program run.
One pin/button for program stop.
One pin/button for program rewind.
One pin/button for estop.
One pin/button to zero A axis.
One pin/button to switch in/mm.
One pin/button to set a position offset. (I still need to learn how to do this in EMC. It is to set X and Y position based on a laser pointer.)
Please Log in to join the conversation.
Please Log in to join the conversation.
m8298 wrote: I downloaded and installed hidcomp. I have it recognizing my Contour Shuttle Pro. Can anyone explain to me how to set pins in hal so I can link them in hidcomp? I want the following functions assigned to hal pins to be used on the buttons:
One pin/button for each axis (xyza) to jog enable.
One pin/button to set a parallel port output.
One pin/button for program run.
One pin/button for program stop.
One pin/button for program rewind.
One pin/button for estop.
One pin/button to zero A axis.
One pin/button to switch in/mm.
One pin/button to set a position offset. (I still need to learn how to do this in EMC. It is to set X and Y position based on a laser pointer.)
There is absolutely no way that anyone without a Shuttle Pro can help you without more info.
At the very least we need a list of the pins that the hidcomp creates, and what they do when you twiddle the device.
Even then a major problem might remain, in that Seb only wrote the Shuttle Express driver because the jog shuttle behaviour in the Express is just plain weird.
If you can describe _exactly_ what the effect is of manipulating each control on the shuttle pro is on the associated HAL pin, and how you want LinuxCNC to interpret that, then we can tell you how to configure the HAL.
Please Log in to join the conversation.
Please Log in to join the conversation.
m8298 wrote: Am I wrong here?
No, but (If I recall correctly) the Express jog wheel does wierd stuff, hence the special driver. If the pro does not do wierd stuff, then just connect it up in HAL.
But as you are currenlty the only guy in the world who knows what pins hidcomp creates with a shuttle pro, we can't advise without more info.
Please Log in to join the conversation.
Please Log in to join the conversation.
m8298 wrote: Can you tell me where I find the pins it creates?
If, (and only if) LinuxCNC is currently starting without an error, you can see them all in the Machine->Show Hal Config screen of Axis (Other GUIs will vary).
That is not easy to share, though. So, iff Linuxcnc is starting without errors, then with it open, you can open a terminal window and type
halcmd show pin
and copy/paste the output.
Or, to be properly geeky
halcmd show pin > pin.txt
to put the pin names into a new file called pins.txt
Please Log in to join the conversation.
Please Log in to join the conversation.
What made you think that hidcomp was working?
Please Log in to join the conversation.
