Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread andrew beck
thanks phil
I will have a look

On Tue, May 25, 2021 at 10:22 AM Feral Engineer 
wrote:

> Yup, just found it.
>
> This should work-ish
>
> loadrt conv_float_s32
> addf conv-float-s32.0 servo-thread
> setp halui.rapid-override.direct-value 1
> setp halui.rapid-override.scale .038
> net jog-override-scale hm2_7i76e.0.7i76.0.0.analogin0 conv-float-s32.0.in
> net jog-override-anal conv-float-s32.0.out halui.rapid-override.counts
>
> Phil T.
> The Feral Engineer
>
> Check out my LinuxCNC tutorials, machine builds and other antics at
> www.youtube.com/c/theferalengineer
>
> On Mon, May 24, 2021, 3:49 PM andrew beck 
> wrote:
>
> > Hey everyone.
> >
> > I have pots set up as external overrides on my machine.
> >
> > I'm using axis currently as a short term solution before changing to a
> > qtpyvcp or qtvcp gui.
> >
> > Just trying to connect up my pots to the feedrate overrides.
> >
> > In gmoccapy there is a direct value pin which alloys me to change the gui
> > sliders from pots.
> >
> >
> > I can't find something similar in axis.
> >
> > What are people using?
> >
> > And can anyone think of a solution.  I like axis for testing as it is
> > simple and just works.
> >
> > Regards
> >
> > Andrew
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread Feral Engineer
Yup, just found it.

This should work-ish

loadrt conv_float_s32
addf conv-float-s32.0 servo-thread
setp halui.rapid-override.direct-value 1
setp halui.rapid-override.scale .038
net jog-override-scale hm2_7i76e.0.7i76.0.0.analogin0 conv-float-s32.0.in
net jog-override-anal conv-float-s32.0.out halui.rapid-override.counts

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

On Mon, May 24, 2021, 3:49 PM andrew beck  wrote:

> Hey everyone.
>
> I have pots set up as external overrides on my machine.
>
> I'm using axis currently as a short term solution before changing to a
> qtpyvcp or qtvcp gui.
>
> Just trying to connect up my pots to the feedrate overrides.
>
> In gmoccapy there is a direct value pin which alloys me to change the gui
> sliders from pots.
>
>
> I can't find something similar in axis.
>
> What are people using?
>
> And can anyone think of a solution.  I like axis for testing as it is
> simple and just works.
>
> Regards
>
> Andrew
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread Feral Engineer
I've got this, but it's on my PI inside my emco... I'd swear I sent it to
you a few weeks ago. Check the Facebook chat.

Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

On Mon, May 24, 2021, 3:49 PM andrew beck  wrote:

> Hey everyone.
>
> I have pots set up as external overrides on my machine.
>
> I'm using axis currently as a short term solution before changing to a
> qtpyvcp or qtvcp gui.
>
> Just trying to connect up my pots to the feedrate overrides.
>
> In gmoccapy there is a direct value pin which alloys me to change the gui
> sliders from pots.
>
>
> I can't find something similar in axis.
>
> What are people using?
>
> And can anyone think of a solution.  I like axis for testing as it is
> simple and just works.
>
> Regards
>
> Andrew
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread andy pugh
On Mon, 24 May 2021 at 21:17, andrew beck  wrote:

> I was playing with most of those halui pins last night.  They all didn't
> work.  Or it's possible that they are just not updating the axis gui
> sliders to reflect pot value

I thought that Axis knew how to update the sliders to reflect the rest
of the system, but I haven't used Axis for quite some time.

Did the actual overrides work?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread Gene Heskett
On Monday 24 May 2021 15:47:09 andrew beck wrote:

> Hey everyone.
>
> I have pots set up as external overrides on my machine.
>
> I'm using axis currently as a short term solution before changing to a
> qtpyvcp or qtvcp gui.
>
> Just trying to connect up my pots to the feedrate overrides.
>
> In gmoccapy there is a direct value pin which alloys me to change the
> gui sliders from pots.
>
>
> I can't find something similar in axis.
>
> What are people using?

I have a display of the values in milliseconds and combined motor speed 
control cobbled up out of pyvcp, to run both halves, the on time and off 
time for a teeny little peristaltic pump that controls the mister. A 
cobble job for sure, but it does exactly what I ask it to do. Uses a 
oneshot you can ccontrol both on & off times of, enabling the axis 
mister checkbox turns the air on and starts the oneshot, and the oneshot 
on time bumps the pump for a few milliseconds about 3x or 4x a second.

Takes about 4 hours to use up an 8 oz coke bottle of about 5% kool-mist & 
distilled water. The pyvcp module that feeds the display is analog, and 
could be used for your servo trim signal. The module itself has up and 
down arrows you click on to adjust. 5ms on, 250ms off is enough to keep 
the tool and alu its carving wet, cool and cutting clean while the 
spindle motor is doing 17k rpms on a rebuilt 6040 cnc mill.

> And can anyone think of a solution.  I like axis for testing as it is
> simple and just works.
>
> Regards
>
> Andrew
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread andrew beck
Hey Andy.

I was playing with most of those halui pins last night.  They all didn't
work.  Or it's possible that they are just not updating the axis gui
sliders to reflect pot value

On Tue, 25 May 2021, 7:55 AM Andy Pugh,  wrote:

>
>
> > On 24 May 2021, at 20:50, andrew beck  wrote:
> >
> > In gmoccapy there is a direct value pin which alloys me to change the gui
> > sliders from pots.
>
> Have a look at the hallui pins. I think that they include what you want.
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Looking for ways to connect external pots up to axis. (similar to how gmoccapy works)

2021-05-24 Thread Andy Pugh



> On 24 May 2021, at 20:50, andrew beck  wrote:
> 
> In gmoccapy there is a direct value pin which alloys me to change the gui
> sliders from pots.

Have a look at the hallui pins. I think that they include what you want. 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users