Adding a Mpg to a 7i85s
04 May 2018 09:06 #110181
by tecno
Replied by tecno on topic Adding a Mpg to a 7i85s
Take a look on how I solved my MPG on my lathe with 2 wheels.
forum.linuxcnc.org/39-pncconf/33451-time...76e?start=210#107807
Cheers
Bengt
forum.linuxcnc.org/39-pncconf/33451-time...76e?start=210#107807
Cheers
Bengt
Please Log in or Create an account to join the conversation.
04 May 2018 09:17 #110182
by Clive S
Replied by Clive S on topic Adding a Mpg to a 7i85s
Thanks for the input. Yes I have it done ok on my lathe with a 7i76 using the software encoders on TB5.
But i can't setp axis.0.jog-enable to true because it is already connected to a signal <== sxp.xen-button (this is the button on the pendant for the x axis (one for each axis)
But i can't setp axis.0.jog-enable to true because it is already connected to a signal <== sxp.xen-button (this is the button on the pendant for the x axis (one for each axis)
Please Log in or Create an account to join the conversation.
04 May 2018 09:22 #110184
by tecno
Replied by tecno on topic Adding a Mpg to a 7i85s
My wheels are only *live* when in jog mode, do really need those buttons? Simply bypass as a test and see how it works.
Please Log in or Create an account to join the conversation.
04 May 2018 09:27 #110185
by Clive S
Replied by Clive S on topic Adding a Mpg to a 7i85s
Yes I want to keep the shuttle express. I am trying to do this with PathPiot and some of it is buried in the python code.My wheels are only *live* when in jog mode, do really need those buttons? Simply bypass as a test and see how it works.
Please Log in or Create an account to join the conversation.
04 May 2018 09:29 #110186
by tecno
Replied by tecno on topic Adding a Mpg to a 7i85s
Some minor surgery perhaps ,) Short those buttons temporarily to test.
Please Log in or Create an account to join the conversation.
04 May 2018 09:34 #110187
by Clive S
I know that if I delete the button code I will be able to setp the axis to true. But as I have said above:-
this is where I think my problem is:
BUT I can't set "setp axis.0.jog-enable true" because this is what is reported "halcmd: setp axis.0.jog-enable true
<stdin>:3: pin 'axis.0.jog-enable' is connected to a signal"
I need to be able to set all the axis.0.jog-enable true, but the button on the pendant is doing that with this ;- 1988 bit IN FALSE axis.0.jog-enable <== sxp.xen-button. Unplugging the pendant does not help either.
Replied by Clive S on topic Adding a Mpg to a 7i85s
Some minor surgery perhaps ,) Short those buttons temporarily to test.
I know that if I delete the button code I will be able to setp the axis to true. But as I have said above:-
this is where I think my problem is:
BUT I can't set "setp axis.0.jog-enable true" because this is what is reported "halcmd: setp axis.0.jog-enable true
<stdin>:3: pin 'axis.0.jog-enable' is connected to a signal"
I need to be able to set all the axis.0.jog-enable true, but the button on the pendant is doing that with this ;- 1988 bit IN FALSE axis.0.jog-enable <== sxp.xen-button. Unplugging the pendant does not help either.
Please Log in or Create an account to join the conversation.
04 May 2018 09:46 #110188
by rodw
Replied by rodw on topic Adding a Mpg to a 7i85s
If you want to enable axis.0.jog-enable from pins on both your pendant and your jog wheels, I kinda think you need to or2 the outputs together. If there are other hal files in the mix, unlinkp might allow you to turn it all off and reset it the way you want. BUt I know nothing about Pathpilot and would never consider using it unless I had a Tormach machine.
Please Log in or Create an account to join the conversation.
04 May 2018 10:00 #110190
by Clive S
Replied by Clive S on topic Adding a Mpg to a 7i85s
Thanks for the input Rod.
I do have a Tormach pcnc1100 That I have fitted the 7i85s card to the 5i25 P2 I have the spindle encoder working fine the MPG's are connected to the 7i85s as well I also have them jogging fine but only when the axis is activated by the button on the pendant.
That's a good point re the or2 in that case I think I would need physical switch to select the pendant or all 3 mpg's. but how is beyond me at this time.
I do have a Tormach pcnc1100 That I have fitted the 7i85s card to the 5i25 P2 I have the spindle encoder working fine the MPG's are connected to the 7i85s as well I also have them jogging fine but only when the axis is activated by the button on the pendant.
That's a good point re the or2 in that case I think I would need physical switch to select the pendant or all 3 mpg's. but how is beyond me at this time.
Please Log in or Create an account to join the conversation.
04 May 2018 11:41 #110192
by rodw
Replied by rodw on topic Adding a Mpg to a 7i85s
I don't think so. from your showpin data, you have
So I think you need to repeat my suggestion for the other 2 signals above and your Y and Z MPG.
659 bit OUT FALSE milljogtranslator.ax-out-1-sel ==> sxp.yen-button
659 bit OUT FALSE milljogtranslator.ax-out-2-sel ==> sxp.zen-button
So I think you need to repeat my suggestion for the other 2 signals above and your Y and Z MPG.
Please Log in or Create an account to join the conversation.
04 May 2018 12:12 #110194
by Clive S
Replied by Clive S on topic Adding a Mpg to a 7i85s
Thanks Rod I know its a big ask but If you have the time could you expand on the way to do it with a bit of sample code. I feel I am going around in circles:(I don't think so. from your showpin data, you have
659 bit OUT FALSE milljogtranslator.ax-out-1-sel ==> sxp.yen-button 659 bit OUT FALSE milljogtranslator.ax-out-2-sel ==> sxp.zen-button
So I think you need to repeat my suggestion for the other 2 signals above and your Y and Z MPG.
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds