Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Andy Pugh
> On 26 Jan 2020, at 00:56, John Dammeyer wrote: > > . LinuxCNC stops being an true open source solution the moment an aftermarket > hardware step/servo interface board is required. That rather depends on which board it is. The Mesa FPGA code is open-source, and some people have made their

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread John Dammeyer
> -Original Message- > From: bari [mailto:bari00...@gmail.com] > Sent: January-25-20 8:32 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Real-time OS for machine controllers > > On 1/25/20 4:41 PM, Alan Condit wrote: > > I am just trying to figure out your idea? Who

[Emc-users] sorting out how to run xz -z

2020-01-25 Thread Gene Heskett
Greetings all; trying to sort out how to do this with xz xz -c -k output-file.xz The manpage sucks, and is totally silent on i/o rediirection. Thanks 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

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Chris Albertson
Yes it could work that way. There are Arduino based g-code interpreters. I have one on my 3D printer. A 3D printer is a four-axis stepper motor based machine. So it is certainly possible to run something like LinuxCNC on a very low-end chip. The Arduino uses a 16 Mhz 8-bit chip. But that is

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Erik Christiansen
On 25.01.20 14:41, Alan Condit wrote: > If you are running 6 axis on the $5 chip then you have all the wiring > complexities that we have now. The $5 chip is ideally suited to a distributed implementation with simplified wiring - power, high speed serial, and a synchronising clock to keep axes

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread bari
On 1/25/20 4:41 PM, Alan Condit wrote: > I am just trying to figure out your idea? Who parses the gcode file? The $5 > chip? > If you are running everything but the user interface on the $5 chip, it > sounds like headless lcnc to me. Yes. But the GUI should not be X. I assume it should be some

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Dave Matthews
No. Commercial software. On Sat, Jan 25, 2020, 22:41 Stuart Stevenson wrote: > Is Mach 3/4 open source? > > > ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Stuart Stevenson
Is Mach 3/4 open source? On Sat, Jan 25, 2020, 4:56 PM John Dammeyer wrote: > Let's see if I can sum up this discussion and then I'll be quiet about it. > 1. LinuxCNC runs on PC type hardware generally distributed with WIN-10 > and is open source and free for download. > a) However there

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread John Dammeyer
Let's see if I can sum up this discussion and then I'll be quiet about it. 1. LinuxCNC runs on PC type hardware generally distributed with WIN-10 and is open source and free for download. a) However there are also PC compatible boxes designed for embedded systems but still initially

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Alan Condit
Chris, I am just trying to figure out your idea? Who parses the gcode file? The $5 chip? If you are running everything but the user interface on the $5 chip, it sounds like headless lcnc to me. If you are running 6 axis on the $5 chip then you have all the wiring complexities that we have now.

[Emc-users] Servo thread, message queque any problem?

2020-01-25 Thread Nicklas SB Karlsson
As I understand it servo thread used for Linuxcnc is a Linux real time thread. Do anybody no if there might be any problems sending messages to a message queue from a Linuxcnc servo thread? Or a Linux real time task? Are not sure if receiving also may be useful. Provided non blocking checking

Re: [Emc-users] This might be a useful LinuxCNC accessory --> daisy chain

2020-01-25 Thread Nicklas SB Karlsson
Ethercat do it this way, guess principle is very similar to using cascade coupled shift register. JTAG may also use daisy chain. Have tried to use ordinary SPI in micro controllers in daisy chain but failed since there was an internal FIFO. It would be really nice if SPI and UART could be set

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Nicklas SB Karlsson
> > ... > In an open-loop step/direction system, there is no way to > know a stall happened, except to operator hitting the > E-stop button (if he is watching!) And, after any E-stop, > you need to rehome the machine. > > But, if you have encoder feedback to the CNC control, then > you can

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread R C
right,  that is what the situation is now, you would need encoders, however, these encoders now are checked by the machine (linux-cnc) as the situation is now. On 1/25/20 9:50 AM, Jon Elson wrote: On 01/24/2020 11:21 PM, R C wrote: That makes perfect sense   if never anything goes wrong

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Jon Elson
On 01/25/2020 01:38 AM, John Dammeyer wrote: I agree there are all sorts of ways of doing this. Only Peter at MESA or perhaps Jon could explain what they do but I don't know if it's proprietary to their hardware. Well, it is not real proprietary. I can only speak for the Pico Systems

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Jon Elson
On 01/24/2020 11:21 PM, R C wrote: That makes perfect sense if never anything goes wrong what if one motor stalls, what if one signal needs to be re-transmitted? If neither of that is corrected... one axis is off "time shifted" relative to the other. For precision sake, you would

Re: [Emc-users] This might be a useful LinuxCNC accessory

2020-01-25 Thread James Isaac
Andy, thank you. The page describes logic for a controller, and an evocation to use the boards in a daisy chain mode. Given a high level program, and the need, this could be worked up to: - a conveyor belt being notified of a new part placed at its entrance, * A robot gets notified the

Re: [Emc-users] Real-time OS for machine controllers

2020-01-25 Thread Nicklas SB Karlsson
Think it deserve to be mentioned since it is a standard available on many servo controllers. In CANopen devices can have a FIFO for set reference points, do not remember the details but could check if you or anyone else want to know? In CANopen there is a special SYNC message to stay in SYNC.

Re: [Emc-users] This might be a useful LinuxCNC accessory

2020-01-25 Thread Gene Heskett
On Saturday 25 January 2020 06:34:45 andy pugh wrote: > https://hackaday.com/2020/01/24/new-part-day-led-driver-is-fpga-dev-bo >ard-in-disguise/ Looks like it could be usable. Even in 5 volt circuits. A dozen 8 bit busses anybody? Cheers, Gene Heskett -- "There are four boxes to be used in

[Emc-users] This might be a useful LinuxCNC accessory

2020-01-25 Thread andy pugh
https://hackaday.com/2020/01/24/new-part-day-led-driver-is-fpga-dev-board-in-disguise/ -- 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