Re: [Emc-users] Rotary homing.

2012-01-21 Thread Jon Elson
John Stewart wrote: > Hi Andy; > > >> Does it actually have a homing switch or not? >> > > No, no homing switch. > > I read somewhere that the "HOME_SEQUENCE=-1" told LinuxCNC (smile) not to > home. Am I correct in that assumption? Or, is there commands in there that > say "don't home b

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Jon Elson
Chris Radek wrote: > > But for a modern gcode or for the linuxcnc gcode in particular, this > is not the slightest bit true, and it is a disservice for those in the > know to say it, since inexperienced people hearing it will try to > write regexp-based gcode parsers or other foolishness, and then

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Jon Elson
Ed Nisley wrote: > On Sat, 2012-01-21 at 12:44 -0600, Jon Elson wrote: > >> Every numeric value is preceded by a letter telling what it is. >> > > Except in the wonderful world of RepRap, wherein they're now > (contemplating?) dual-extruder "G-Code" with multiple numeric values > after the

Re: [Emc-users] [OT] need advice from old hands

2012-01-21 Thread gene heskett
On Saturday, January 21, 2012 11:14:36 PM Fox Mulder did opine: > Am 21.01.2012 20:41, schrieb gene heskett: > > Stripping it down to the holes, via, and dimensions and running > > pcb-gcode- setup.ulp gets me an instant can't open source/drill.h. > > So I'll have to generate that with gedit I su

Re: [Emc-users] [OT] need advice from old hands

2012-01-21 Thread gene heskett
On Saturday, January 21, 2012 02:44:46 PM Przemek Klosowski did opine: > On Fri, Jan 20, 2012 at 6:22 PM, gene heskett wrote: > > signals and needs to be fairly compact, I am drawn to the pcb mounted > > version of the RJ-11 connector. But sitting here, I realized that > > although it is suppose

Re: [Emc-users] Rotary homing.

2012-01-21 Thread John Stewart
Hi Andy; > > Does it actually have a homing switch or not? No, no homing switch. I read somewhere that the "HOME_SEQUENCE=-1" told LinuxCNC (smile) not to home. Am I correct in that assumption? Or, is there commands in there that say "don't home but you should be homed" in there? Cross fin

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Scott Hasse
I agree there is a large and difficult problem with respect to the semantic checking if the desire is to assure that a program will run properly. I'm really aiming for a step or two below that, where the code would be parsed, any semantic checks that can be done statically would be done, the words

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Michael Haberler
Am 22.01.2012 um 03:17 schrieb Scott Hasse: > Perhaps it is a lost cause, but having some sort of > what I would call a "gcode lint" tool would allow people who sometimes take > a naive approach to gcode extension to have an reality check. a parser with one of the mentioned tools surely can be d

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Michael Haberler
Am 22.01.2012 um 03:31 schrieb andy pugh: > There is a standalone interpreter in the LinuxCNC source, though I am > not sure what it is for, or how it works, or if it works any more. Nor > is it in Python. In fact, I don't know why I am bothering, but I guess > I got this far, and it's now only C

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread andy pugh
On 21 January 2012 15:31, Scott Hasse wrote: > To that end, I'm > wondering if there is a typical approach to parsing and validating > arbitrary-format gcode into some sort of canonical form There is a standalone interpreter in the LinuxCNC source, though I am not sure what it is for, or how it w

Re: [Emc-users] pyvcp and/or Axis bug?

2012-01-21 Thread andy pugh
On 22 January 2012 02:01, Tom Easterday wrote: > Also, if you select one of these items and change it's value using the > keyboard numbers, it will not be saved unless you click an > up or down arrow selection I think that the fact that you can type into the scrollboxes is technically an overs

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Scott Hasse
In the absence of an existing solution that is basically my plan as stated above with antlr, which can generate a python parser. Although once the grammar is codified, there is no shortage of parser generators that could be applied. Some of the reasons Chris points out above lie at the heart of m

Re: [Emc-users] Rotary homing.

2012-01-21 Thread andy pugh
On 22 January 2012 01:27, John A. Stewart wrote: > Here is my hand-edited ini file - any silly/obvious mistakes here? Does it actually have a homing switch or not? -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. -

[Emc-users] pyvcp and/or Axis bug?

2012-01-21 Thread Tom Easterday
Our THC panel has several widgets for entering various values (piece height, pierce delay, travel height). If you click in one of these boxes you cannot then do anything in Axis unless you select either the Manual or MDI tab, or select some other item in the main Axis window. This seems like a

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Michael Haberler
> On Sat, Jan 21, 2012 at 12:44:14PM -0600, Jon Elson wrote: > >> G-code is extremely easy to parse. Every numeric value is preceded by a >> letter telling what it is. The LinuxCNC dialect is a context-free language at least with respect to expressions and control structures and as such can

[Emc-users] Rotary homing.

2012-01-21 Thread John A. Stewart
Hi all; I have just received a Sherline rotary table that I intend to connect to my KX1. I have added the wires, but have not physically connected the unit yet. Ok - I'm trying to add it in. I see the rotary axis in the view screen; and the machine seems to home correctly, except when I tr

Re: [Emc-users] OT: Possible Retrofit candidate for someone in the heartland

2012-01-21 Thread Karl Schmidt
Interesting - I have a similar Wells Index waiting for some free time to retrofit LinuxCNC on. These were good machines, a lot used by the navy. Good manufacture support - they have records based on serial number - you can ask them about it before you buy.

Re: [Emc-users] [OT] need advice from old hands

2012-01-21 Thread Fox Mulder
Am 21.01.2012 20:41, schrieb gene heskett: > Stripping it down to the holes, via, and dimensions and running pcb-gcode- > setup.ulp gets me an instant can't open source/drill.h. So I'll have to > generate that with gedit I suppose. The source directory doesn't exist > yet. That is strange beca

Re: [Emc-users] Control a hot wire foam cutter using LinuxCNC?

2012-01-21 Thread andy pugh
On 21 January 2012 15:26, Florian Rist wrote: > A nice feature of this machine is, that is uses a strain gauge to > measure the tension of the cutting wire and to control a motor to > automatically adjust the wire length to maintain a certain tension. I wonder if you could monitor current (which

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Chris Radek
On Sat, Jan 21, 2012 at 12:44:14PM -0600, Jon Elson wrote: > G-code is extremely easy to parse. Every numeric value is preceded by a > letter telling what it is. It depends what variant. There may be some this simple, for instance variants that papertape-reading NC machines used are probably

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Ed Nisley
On Sat, 2012-01-21 at 21:27 +0100, Michael Haberler wrote: > LinuxCNC in the chipmaking corner of the CNC universe. Which it does exceedingly well! For a number of reasons, I don't like the Arduino-based motion control that's common to DIY 3D printers and would vastly prefer LinuxCNC for the high

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Michael Haberler
Am 21.01.2012 um 20:10 schrieb Ed Nisley: > > The RepRap dialect seems to be diverging fairly rapidly from what the > LinuxCNC parser understands; in particular, their myriad M codes look > like a problem. new M-codes are really easy to introduce into the LinuxCNC G-code interpreter here's an e

Re: [Emc-users] need advice from old hands

2012-01-21 Thread Dave
>>six-connector version of RJ11 is I think called RJ-14: Radio Shack carried them at one time here in the States. Automation Direct/Koyo PLCs use the 6 conductor RJ connectors for their RS232 ports. Dave On 1/21/2012 1:20 PM, Przemek Klosowski wrote: > On Fri, Jan 20, 2012 at 6:22 PM, gene h

Re: [Emc-users] OT: Possible Retrofit candidate for someone in the heartland

2012-01-21 Thread Dave
That machine was likely dropped on the bottom corner of the control panel and then it roller over and hit the operator panel. That machine could have a lot of problem besides the controls depending on how far it fell. Notice that "no loading assistance will be provided", perhaps the moron who

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Scott Hasse
I understand the basic parsing for the majority of common cases can be done fairly easily, but this seems rather error-prone for something that will eventually be moving a machine. I am hoping to build something that is more robust for handling, e.g. inline comments and all of the other special ca

Re: [Emc-users] [OT] need advice from old hands

2012-01-21 Thread gene heskett
On Saturday, January 21, 2012 02:08:26 PM Fox Mulder did opine: > Am 21.01.2012 14:40, schrieb gene heskett: > I only wanted to say that the standard for 10/100MBit only uses 2 pairs > and 1000MBit was the first to use all 4 pairs. But you are right that > most cat5 cables used all 4 pairs way be

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Ed Nisley
On Sat, 2012-01-21 at 12:44 -0600, Jon Elson wrote: > Every numeric value is preceded by a letter telling what it is. Except in the wonderful world of RepRap, wherein they're now (contemplating?) dual-extruder "G-Code" with multiple numeric values after the E axis to mix / simultaneously extrude

Re: [Emc-users] question on gcode parsing

2012-01-21 Thread Jon Elson
Scott Hasse wrote: > All- > > I'm thinking about writing some gcode filters for EMC2 in python, and want > to make these as robust and flexible as possible. To that end, I'm > wondering if there is a typical approach to parsing and validating > arbitrary-format gcode into some sort of canonical fo

Re: [Emc-users] need advice from old hands

2012-01-21 Thread Przemek Klosowski
On Fri, Jan 20, 2012 at 6:22 PM, gene heskett wrote: > > signals and needs to be fairly compact, I am drawn to the pcb mounted > version of the RJ-11 connector. But sitting here, I realized that although > it is supposed to be a 6 pin connector, I have never seen one with more > than 4 positions

Re: [Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread Michael Haberler
Am 21.01.2012 um 18:49 schrieb John Prentice: > Another oddity is that Glade will not open glade-manual.ui as it says it > cannot find the gladevcp catalog.. this a different issue - glade expects the catalog file under /usr/something and the catalogs arent installed when using RIP > Do you t

Re: [Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread John Prentice
From: "Michael Haberler" > it looks like you have an existing emc installation and the python code > picks up emc.so from that installation > > if it is run-in-place, it shouldnt import emc.so from > /usr/lib/python2.6/dist-packages/ > > did you run > > . emc2-dev/scripts/emc-environment? > >

Re: [Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread Michael Haberler
you cannot possibly import the right file from the wrong directory Am 21.01.2012 um 17:35 schrieb Spiderdab: > maybe it is early, but could it be already cnc.so or something, in place > of emc.so? > > > -- > Try before

Re: [Emc-users] mesa info

2012-01-21 Thread Peter C. Wallace
On Sat, 21 Jan 2012, kqt4a...@gmail.com wrote: > Date: Sat, 21 Jan 2012 11:26:32 -0600 (CST) > From: kqt4a...@gmail.com > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] mesa info > > On Sat, 21 Jan 2012, Peter C. Wallace

Re: [Emc-users] mesa info

2012-01-21 Thread kqt4at5v
On Sat, 21 Jan 2012, Peter C. Wallace wrote: > On Sat, 21 Jan 2012, kqt4a...@gmail.com wrote: > >> Date: Sat, 21 Jan 2012 10:37:12 -0600 (CST) >> From: kqt4a...@gmail.com >> Reply-To: "Enhanced Machine Controller (EMC)" >> >> To: emc-users@lists.sourceforge.net >> Subject: [Emc-users] mesa in

Re: [Emc-users] mesa info

2012-01-21 Thread Peter C. Wallace
On Sat, 21 Jan 2012, kqt4a...@gmail.com wrote: > Date: Sat, 21 Jan 2012 10:37:12 -0600 (CST) > From: kqt4a...@gmail.com > Reply-To: "Enhanced Machine Controller (EMC)" > > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] mesa info > > I would like to take a look at programming the

[Emc-users] mesa info

2012-01-21 Thread kqt4at5v
I would like to take a look at programming the mesa hardware but I can not locate any resources I sent an email to t...@mesanet.com but have not received a reply yet I have one of their 5i25 cards on order and have been eying the 4c81 Are there any mailing list or forums for people programming thi

Re: [Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread Spiderdab
maybe it is early, but could it be already cnc.so or something, in place of emc.so? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99

Re: [Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread Michael Haberler
it looks like you have an existing emc installation and the python code picks up emc.so from that installation if it is run-in-place, it shouldnt import emc.so from /usr/lib/python2.6/dist-packages/ did you run . emc2-dev/scripts/emc-environment? - Michael Am 21.01.2012 um 16:29 schrieb Joh

[Emc-users] Help with a GladeVCP startup error message

2012-01-21 Thread John Prentice
Greetings Returning to working with GladeVCP, I have pulled 2.5_branch from git yesterday and compiled it Run-In-Place After a bit of trouble that running EMC gave me 2.4.6, I saw the program naming email and tried linuxcnc which runs 2.5 fine Following instructions in http://www.linuxcnc.org

[Emc-users] question on gcode parsing

2012-01-21 Thread Scott Hasse
All- I'm thinking about writing some gcode filters for EMC2 in python, and want to make these as robust and flexible as possible. To that end, I'm wondering if there is a typical approach to parsing and validating arbitrary-format gcode into some sort of canonical form so that a text-based approa

Re: [Emc-users] Control a hot wire foam cutter using LinuxCNC?

2012-01-21 Thread Florian Rist
Hi > I'll go to the workshop later an take a few pictures. I just realised we had a photo on our website. It's only a low resolution image, but I think it clearly shows the two vertical portals (the blue frames) and the rotary table in the centrer and a block of foam on it. http://kunst2.t

Re: [Emc-users] need advice from old hands

2012-01-21 Thread Fox Mulder
Am 21.01.2012 14:40, schrieb gene heskett: > On Saturday, January 21, 2012 07:15:30 AM Fox Mulder did opine: > >> Am 21.01.2012 00:22, schrieb gene heskett: >>> Greetings all; >>> >>> I have thrown a schematic together, but before I commit to the >>> connector for the cable, which will need at lea

Re: [Emc-users] need advice from old hands

2012-01-21 Thread gene heskett
On Saturday, January 21, 2012 07:15:30 AM Fox Mulder did opine: > Am 21.01.2012 00:22, schrieb gene heskett: > > Greetings all; > > > > I have thrown a schematic together, but before I commit to the > > connector for the cable, which will need at least 5 conductors, GND, > > Vcc5, A, B, Z signals

Re: [Emc-users] need advice from old hands

2012-01-21 Thread Fox Mulder
Am 21.01.2012 00:22, schrieb gene heskett: > Greetings all; > > I have thrown a schematic together, but before I commit to the connector > for the cable, which will need at least 5 conductors, GND, Vcc5, A, B, Z > signals and needs to be fairly compact, I am drawn to the pcb mounted > version o