Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-06 Thread andy pugh
On Sat, 6 Jun 2020 at 08:25, N wrote: > > > (Have you seen Rockhopper? > > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Rockhopper_Web_Server ) > > Yes, it show the connections graphically, Yes, but is also a LinuxCNC web server. The graphical HAL plot is just an additional capability. -- atp "A

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-06 Thread N
On Sat, 6 Jun 2020 01:05:26 +0100 andy pugh wrote: > On Sat, 6 Jun 2020 at 01:01, Chris Albertson > wrote: > > > Is it "wrong" on have this unreliable button? > > No, it is only wrong to rely on it. > > If you are being eaten by the machine you need a had and accessble e-stop. > If you are sa

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-06 Thread N
> ... > Notice tht LinuxCNC's "axis" app has a red-estop button you can click. It > works only as long as the software works Before you enter machine you need a reliale way to turn it off. If there is a problem with software it is rather likely LinuxCNC red-estop button will not work exactly t

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-05 Thread andy pugh
On Sat, 6 Jun 2020 at 01:01, Chris Albertson wrote: > Is it "wrong" on have this unreliable button? No, it is only wrong to rely on it. If you are being eaten by the machine you need a had and accessble e-stop. If you are sat on the couch and it has all gione wrong, then the web interface is be

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-05 Thread Chris Albertson
> > Doesn't matter if the Pendant is a full featured CNC controller or just a > simple unit with an MPG and a few buttons. > > John > > > -Original Message- > > From: N [mailto:nicklas.karlsso...@gmail.com] > > Sent: June-05-20 12:30 PM > > To:

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread Rafael Skodlar
On 2020-06-05 10:16, Chris Albertson wrote: On Fri, Jun 5, 2020 at 9:58 AM N wrote: USB should be able to handle real time but think it is complex which might be a reason to avoid it and there are no support in Linuxcnc. Mixing USB into RT kernel space is not something I would recommend due

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-05 Thread John Dammeyer
th an MPG and a few buttons. John > -Original Message- > From: N [mailto:nicklas.karlsso...@gmail.com] > Sent: June-05-20 12:30 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] How to get data to HAL from USB, serial or socket? > Emergency stop >

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread N
> ... > USB does have a short maximum cable length but it should work. The > example linked above would work for WiFi or BlueTooth too. Once you see > how it works the method of communication is unimportant, you are simply > setting and reading HAL pins from userspace. You know what happen if l

Re: [Emc-users] How to get data to HAL from USB, serial or socket? Emergency stop

2020-06-05 Thread N
> ... > I think e-stop is a desired feature but it will never be as reliable as one > that is wired to the machine that does not depend on computer software. Agree. Something simple to check, have seen there are safety classed relays but are not sure about the standards. Safety Integrity Lev SIL

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread Chris Albertson
On Fri, Jun 5, 2020 at 9:58 AM N wrote: > USB should be able to handle real time but think it is complex which might > be a reason to avoid it and there are no support in Linuxcnc. Andy posted a clear example that shows a simple way to move data from USB to LinuxCNC. https://emergent.unpythoni

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread N
USB should be able to handle real time but think it is complex which might be a reason to avoid it and there are no support in Linuxcnc. There are however a lot of cheap development boards available which may make it a very cheap and good choice. There are standard protocol for keyboard and mous

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread R C
I have actually been wondering about the same/similar thing, on how to feed information into hall. On 6/4/20 2:33 PM, Chris Albertson wrote: I'd like to build a handheld pendant controller. I have some ideas about how it should work. One thing I want is an LCD screen. This could evolve int

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-05 Thread andy pugh
On Fri, 5 Jun 2020 at 07:40, John Dammeyer wrote: Imagine if every car you got into enhanced your experience on which pedal > applied the brakes. If it even had a pedal for that. R1 and Gas-Gas - right Ner-a-Car - left Fire Engine - left of three Some work cars - middle of three Other work car

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread John Dammeyer
> -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > Sent: June-04-20 11:16 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] How to get data to HAL from USB, serial or socket? > > On Thu, Jun 4, 2020 at 2:58 PM

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread Chris Albertson
On Thu, Jun 4, 2020 at 2:58 PM John Dammeyer wrote: > > John, think the technical how to do it is clear now. The bigger problem is the design of the user interface. The simplest kind is a "direct action" where the mill moves in sync with a handwheel. The next step is where the user dials in

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread Chris Albertson
Thanks. The example is clear. All that is needed s a user-space app that can talk to a user any way it wants. Seems the details are all abstracted away in hal.component I can think of a bunch of maybe useful experiments to try. On Thu, Jun 4, 2020 at 2:34 PM andy pugh wrote: > On Thu, 4 Jun

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread John Dammeyer
> -Original Message- > From: Chris Albertson [mailto:albertson.ch...@gmail.com] > > I'd like to build a handheld pendant controller. I have some ideas about > how it should work. One thing I want is an LCD screen. This could evolve > into a "smart pendant" that can do things like m

Re: [Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread andy pugh
On Thu, 4 Jun 2020 at 21:35, Chris Albertson wrote: I think the best physical interface from a handheld device to the computer > is USB.Is there a way to get data from USB to HAL? > https://emergent.unpythonic.net/01198594294 (alternatively, put a 7i73 in your pendant, and you have everythi

[Emc-users] How to get data to HAL from USB, serial or socket?

2020-06-04 Thread Chris Albertson
I'd like to build a handheld pendant controller. I have some ideas about how it should work. One thing I want is an LCD screen. This could evolve into a "smart pendant" that can do things like move along an arc, rather than just one axis at a time. I think the best physical interface from a h