Probe basic jog wheel MPG help

More
20 Jun 2020 10:38 #172152 by harindugamlath
I'm having a bit of a problem with probe basic due to the lack of hal pins. I had my MPG working with axis gui. I used the axis selection and the jog increment from the axisgui hal pins to select the jog axis and the increment.

Now when i switch to probe basic I don't get any hal pins to work with. Can i add custom hal pins?

What files do i need to edit?

I'm running 5i25 with 7i76d and a 100ppr mpg.
I'm a newbie to linuxcnc any help is appreciated.
The following user(s) said Thank You: Lcvette

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 14:57 #172349 by tommylight
Bumping this as it might have been missed by someone who can help.
The following user(s) said Thank You: Lcvette, harindugamlath

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 15:04 #172352 by Lcvette
not sure of this helps, but this is my mpg hal file:

```
#file name mpg.hal

loadrt mux4 count=1
loadrt ilowpass

addf mux4.0 servo-thread
addf ilowpass.0 servo-thread

setp ilowpass.0.scale 100
setp ilowpass.0.gain 0.01
setp joint.0.jog-accel-fraction .5
setp joint.1.jog-accel-fraction .5
setp joint.2.jog-accel-fraction .5
setp joint.3.jog-accel-fraction .5

net x-jog-select joint.0.jog-enable <= hm2_7i92.0.7i77.0.0.input-20
net y-jog-select joint.1.jog-enable <= hm2_7i92.0.7i77.0.0.input-21
net z-jog-select joint.2.jog-enable <= hm2_7i92.0.7i77.0.0.input-22
net a-jog-select joint.3.jog-enable <= hm2_7i92.0.7i77.0.0.input-23

net x10 hm2_7i92.0.7i77.0.0.input-26 => mux4.0.sel0
net x100 hm2_7i92.0.7i77.0.0.input-27 => mux4.0.sel1

setp mux4.0.in0 .000001
setp mux4.0.in1 .00001
setp mux4.0.in2 .0001

net jogscale mux4.0.out => joint.0.jog-scale
net jogscale => joint.1.jog-scale
net jogscale => joint.2.jog-scale
net jogscale => joint.3.jog-scale

net mpg-out hm2_7i92.0.7i77.0.0.enc0.count => ilowpass.0.in

net jogcounts ilowpass.0.out => joint.0.jog-counts
net jogcounts => joint.1.jog-counts
net jogcounts => joint.2.jog-counts
net jogcounts => joint.3.jog-counts

net jogcounts => axis.x.jog-counts
net x-jog-select => axis.x.jog-enable
net jogscale => axis.x.jog-scale

net jogcounts => axis.y.jog-counts
net y-jog-select => axis.y.jog-enable
net jogscale => axis.y.jog-scale

net jogcounts => axis.z.jog-counts
net z-jog-select => axis.z.jog-enable
net jogscale => axis.z.jog-scale

net jogcounts => axis.a.jog-counts
net a-jog-select => axis.a.jog-enable
net jogscale => axis.a.jog-scale
```
The following user(s) said Thank You: tommylight, harindugamlath

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 15:08 #172353 by tommylight
That was quick ! :)
Thank you LC

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 15:16 #172355 by harindugamlath
Thanks guys for your kind support. I'm working on that hal file. But the issue is not having any hal pins from the probe basic itself. I couldn't find a good workaround. So I decided to go with physical input switches rather than trying to use hal pins from the gui.

If you guys can implement hal pins from the gui I suppose it can be incredibly useful.

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 15:18 - 22 Jun 2020 15:19 #172357 by harindugamlath
Tommylight Thank you for helping out always. I'll start a detailed thread on my conversion hopefully it will be a help to someone.
Last edit: 22 Jun 2020 15:19 by harindugamlath.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 15:21 #172359 by tommylight
You are welcomed, always.
Sorry about the delay, but am busy finishing 2 plasma cutters, here:
forum.linuxcnc.org/show-your-stuff/38547...plasma-build?start=0

Please Log in or Create an account to join the conversation.

More
22 Jun 2020 16:05 #172365 by harindugamlath
I'll definitely post a detailed thread on this.

I found a old Okuma Howa NC Mill on yard for a pretty good deal.







So bought the thing and did a tear down and slowly started working.



Please Log in or Create an account to join the conversation.

More
22 Jun 2020 16:06 #172366 by harindugamlath
This thing had the biggest servo I had ever seen in a CNC mill. this thing also had gear boxes. I converted them to belt drive.







Please Log in or Create an account to join the conversation.

More
22 Jun 2020 16:06 #172367 by harindugamlath
Few photos of the panel.





Machine is looking a bit shiny now and I'm still waiting for two pulleys to be machined.



The servo drive I choose is pretty interesting they can have a linear encoder input to perform a closed loop operation at the drive. I'll try my best to post a good informative thread.

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.110 seconds
Powered by Kunena Forum