On 10 July 2017 at 12:16, Erik Christiansen <[email protected]> wrote:
> On 10.07.17 10:34, andy pugh wrote: > > On 10 July 2017 at 03:24, Todd Zuercher > > <[email protected]> wrote: > > > > > I'm not sure how much it really matters how you get it done, just so > it works. There is no industry consensus on how it should be done, and > every machine builder does it their own way with different codes. > > > > That was my conclusion, and was also why I quite like the N or $ > > approaches, as they don't interfere with any re-mapping that folk > > might want to use to match existing controls. > > (This is also true of the (*spindle3) idea) > > Except that the last idea screws up comments, as comments have to be > scrutinised by the reader to find obfuscated commands. As well, certain > comment text becomes prohibited comments because those comments are not > comments, but commands masquerading as comments. It is a path to hell, I > suggest. Our gcode will then be as good as perl - "write-only code". > > Not only does $ have an 'S' for spindle, but it has a spindle passing > through it. And it is a command in the command space of the language, > which seems a useful attribute. (But then I may have spent too many > years as a programmer.) > > Erik > > I had the idea years ago when looking at the limitations of CncPro and TurboCNC using the parports only. By editing the source code to spit out all code on the serial bus as it is read, the user could have as many uP's as they want sitting on the serial bus to parse this text, and perform tasks assigned to them. This effectively give you infinite I/O for fixtures and clamps without affecting the programs ability to handle Gcode, or having to mess with the programs source code, or using up valuable parport lines for clamps. You could then assign one line on the parport for the real.. Gcode to use as an input with the Wait command, as a handshake line. It is best suited to a production environment where the machine runs all day making one part. I'm sure that if one used an obvious and unique prefix there would be no confusion. Roland <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
