Probe basic jog wheel MPG help
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
20 Jun 2020 10:38 #172152
by harindugamlath
Probe basic jog wheel MPG help was created 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.
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6433
22 Jun 2020 14:57 #172349
by tommylight
Replied by tommylight on topic Probe basic jog wheel MPG help
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.
22 Jun 2020 15:04 #172352
by Lcvette
Replied by Lcvette on topic Probe basic jog wheel MPG help
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
```
```
#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
```
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6433
22 Jun 2020 15:08 #172353
by tommylight
Replied by tommylight on topic Probe basic jog wheel MPG help
That was quick !
Thank you LC
Thank you LC
Please Log in or Create an account to join the conversation.
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
22 Jun 2020 15:16 #172355
by harindugamlath
Replied by harindugamlath on topic Probe basic jog wheel MPG help
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.
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.
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
22 Jun 2020 15:18 - 22 Jun 2020 15:19 #172357
by harindugamlath
Replied by harindugamlath on topic Probe basic jog wheel MPG help
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6433
22 Jun 2020 15:21 #172359
by tommylight
Replied by tommylight on topic Probe basic jog wheel MPG help
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
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.
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
22 Jun 2020 16:05 #172365
by harindugamlath
Replied by harindugamlath on topic Probe basic jog wheel MPG help
Please Log in or Create an account to join the conversation.
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
22 Jun 2020 16:06 #172366
by harindugamlath
Replied by harindugamlath on topic Probe basic jog wheel MPG help
Please Log in or Create an account to join the conversation.
- harindugamlath
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 18
22 Jun 2020 16:06 #172367
by harindugamlath
Replied by harindugamlath on topic Probe basic jog wheel MPG help
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds