Shuttlexpress help
02 Jul 2013 22:32 #36239
by caderick
Shuttlexpress help was created by caderick
Hello All,
Great forum, tons of knowledge. I am the first to admit, I am an idiot with linux and Linuxcnc in general. With that being said, I am using AXIS and trying to interface shuttlexpress with it.
I added the permission information in the appropriate rules folder using nano.
I added loadusr shuttlexpress to my main hal file. LinuxCNC now opens and loads properly so I am assuming I have that part right.
Question is where do I add the bit information shown below to?
(bit out) shuttlexpress.0.button-0
(bit out) shuttlexpress.0.button-0-not
(bit out) shuttlexpress.0.button-1
(bit out) shuttlexpress.0.button-1-not
Thanks in advance
Great forum, tons of knowledge. I am the first to admit, I am an idiot with linux and Linuxcnc in general. With that being said, I am using AXIS and trying to interface shuttlexpress with it.
I added the permission information in the appropriate rules folder using nano.
I added loadusr shuttlexpress to my main hal file. LinuxCNC now opens and loads properly so I am assuming I have that part right.
Question is where do I add the bit information shown below to?
(bit out) shuttlexpress.0.button-0
(bit out) shuttlexpress.0.button-0-not
(bit out) shuttlexpress.0.button-1
(bit out) shuttlexpress.0.button-1-not
Thanks in advance
Please Log in or Create an account to join the conversation.
02 Jul 2013 23:13 #36240
by ArcEye
Open Hal Configuration from the machine menu in Axis and see if there is an entry for shuttlexpress with the pins listed
Then you will know it is running OK
Those are the pins available, what you connect them to in your hal file depends upon what you want the buttons etc to do
Maybe start here, ignoring the differences between devices, for the sort of connections you can make.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
regards
Replied by ArcEye on topic Shuttlexpress help
Hello All,
I added loadusr shuttlexpress to my main hal file. LinuxCNC now opens and loads properly so I am assuming I have that part right.
Open Hal Configuration from the machine menu in Axis and see if there is an entry for shuttlexpress with the pins listed
Then you will know it is running OK
Question is where do I add the bit information shown below to?
(bit out) shuttlexpress.0.button-0
(bit out) shuttlexpress.0.button-0-not
(bit out) shuttlexpress.0.button-1
(bit out) shuttlexpress.0.button-1-not
Those are the pins available, what you connect them to in your hal file depends upon what you want the buttons etc to do
Maybe start here, ignoring the differences between devices, for the sort of connections you can make.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
regards
Please Log in or Create an account to join the conversation.
03 Jul 2013 00:42 #36244
by caderick
Replied by caderick on topic Shuttlexpress help
Great, appreciate the response!
Shuttlexpress is loading in the hal configuration. When I double click the pins, all of them seem to do what they are supposed to.
There are 5 buttons, and their names are dependant if they are being pressed or not.
shuttlexpress.0.button-0
shuttlexpress.0.button-0-not
shuttlexpress.0.button-1
shuttlexpress.0.button-1-not
shuttlexpress.0.button-2
shuttlexpress.0.button-2-not
shuttlexpress.0.button-3
shuttlexpress.0.button-3-not
shuttlexpress.0.button-4
shuttlexpress.0.button-4-not
There is a spring loaded wheel named:
shuttlexpress.0.spring-wheel-s32
A counts wheel in the middle named:
shuttlexpress.0.counts
I see that I need to make the pin connections in my postgui file, still confused of how its done.
If possible, I would like button 0 to be X axis, button 1 to be y, button 2 to be z, and button 4 to toggle between continuous feed and .001 steps. Any way to make the spring loaded wheel travel faster the further you twist it?
Shuttlexpress is loading in the hal configuration. When I double click the pins, all of them seem to do what they are supposed to.
There are 5 buttons, and their names are dependant if they are being pressed or not.
shuttlexpress.0.button-0
shuttlexpress.0.button-0-not
shuttlexpress.0.button-1
shuttlexpress.0.button-1-not
shuttlexpress.0.button-2
shuttlexpress.0.button-2-not
shuttlexpress.0.button-3
shuttlexpress.0.button-3-not
shuttlexpress.0.button-4
shuttlexpress.0.button-4-not
There is a spring loaded wheel named:
shuttlexpress.0.spring-wheel-s32
A counts wheel in the middle named:
shuttlexpress.0.counts
I see that I need to make the pin connections in my postgui file, still confused of how its done.
If possible, I would like button 0 to be X axis, button 1 to be y, button 2 to be z, and button 4 to toggle between continuous feed and .001 steps. Any way to make the spring loaded wheel travel faster the further you twist it?
Please Log in or Create an account to join the conversation.
03 Jul 2013 15:54 #36264
by ArcEye
net x-jog axis.0.jog-enable <= shuttlexpress.0.button-0
net y-jog axis.0.jog-enable <= shuttlexpress.0.button-1
net z-jog axis.0.jog-enable <= shuttlexpress.0.button-2
or to latch them and make them toggle buttons
loadrt toggle count=3
addf toggle.0 servo-thread
addf toggle.1 servo-thread
addf toggle.2 servo-thread
net x-jog-in toggle.0.in <= shuttlexpress.0.button-0
net-x-jog-out toggle.0.out => axis.0.jog-enable
net y-jog-in toggle.1.in <= shuttlexpress.0.button-1
net-y-jog-out toggle.1.out => axis.1.jog-enable
net z-jog-in toggle.2.in <= shuttlexpress.0.button-2
net-z-jog-out toggle.2.out => axis.2.jog-enable
Have a look at what you can do with a bit pin input
linuxcnc.org/docs/2.5/html/gui/halui.html
and then at the link I gave you for the simple pendant and setting jog rates
plus
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant
You have 2 bit buttons left so have to plan exactly how you can use them
I have never owned or seen one of these, so my knowledge is ending
According to the man page for shuttlexpress, the ring just returns -1 / 0 / +1 so presumably it can be used for all off, left or right.
The centre wheel outputs counts, so I presume it can be hooked up to an encoder.
Someone else will have to advise on best connections for these
regards
Replied by ArcEye on topic Shuttlexpress help
If possible, I would like button 0 to be X axis, button 1 to be y, button 2 to be z,
net x-jog axis.0.jog-enable <= shuttlexpress.0.button-0
net y-jog axis.0.jog-enable <= shuttlexpress.0.button-1
net z-jog axis.0.jog-enable <= shuttlexpress.0.button-2
or to latch them and make them toggle buttons
loadrt toggle count=3
addf toggle.0 servo-thread
addf toggle.1 servo-thread
addf toggle.2 servo-thread
net x-jog-in toggle.0.in <= shuttlexpress.0.button-0
net-x-jog-out toggle.0.out => axis.0.jog-enable
net y-jog-in toggle.1.in <= shuttlexpress.0.button-1
net-y-jog-out toggle.1.out => axis.1.jog-enable
net z-jog-in toggle.2.in <= shuttlexpress.0.button-2
net-z-jog-out toggle.2.out => axis.2.jog-enable
and button 4 to toggle between continuous feed and .001 steps
Have a look at what you can do with a bit pin input
linuxcnc.org/docs/2.5/html/gui/halui.html
and then at the link I gave you for the simple pendant and setting jog rates
plus
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant
You have 2 bit buttons left so have to plan exactly how you can use them
Any way to make the spring loaded wheel travel faster the further you twist it?
I have never owned or seen one of these, so my knowledge is ending
According to the man page for shuttlexpress, the ring just returns -1 / 0 / +1 so presumably it can be used for all off, left or right.
The centre wheel outputs counts, so I presume it can be hooked up to an encoder.
Someone else will have to advise on best connections for these
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds