Re: [Emc-users] Fwd: latching push button

2007-04-18 Thread John Kasunich
Kenneth Lerman wrote: > Stuart wrote: >> This is our thoughts on latch component. Please critique it and let >> me know what changes should be made. > > I suspect that one of the HAL gurus would spend less time knocking > one of these out than he would spend reading a > series of posts about i

Re: [Emc-users] Fwd: latching push button

2007-04-18 Thread Kenneth Lerman
What language is this written in? Why should it not be run thru the comp pre-processor? on-off is NOT a legal C variable name. (I don't know if it is acceptable to "comp". I wouldn't think so -- or more precisely, I wouldn't think that comp would convert it to something acceptable by a C compiler

[Emc-users] Fwd: latching push button

2007-04-18 Thread Stuart Stevenson
Gentlemen, This is our thoughts on latch component. Please critique it and let me know what changes should be made. thanks Stuart -- Forwarded message -- From: jphillip <[EMAIL PROTECTED]> Date: Apr 18, 2007 3:28 PM Subject: latching push button To: [EMAIL PROTECTED] /* do

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Tomasz Brzozowski
s C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourc

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 09:32:49PM +0200, Tomasz Brzozowski wrote: > > Ok. But we add this commands to Axis python code. When doing from MDI > window - it is correct. I think this is not the case - as you know AXIS uses that same function to issue MDI commands that are typed. You reported that

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Tomasz Brzozowski
imits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 08:59:33PM +0200, Tomasz Brzozowski wrote: > Hi > Michael and I, we are working together building 3 axis milling machine. > Sometimes Michalel is using my email. Ok I understand. > We are using MDI command to move Z axis (like "G0 G53 Z70(maximum up), (wait > complete),

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Kenneth Lerman
___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > __ NOD32 Informacje 2202 (20070418) __ > > Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32 > http://www.nod32.com lub http://www.

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Tomasz Brzozowski
ng list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > __ NOD32 Informacje 2202 (20070418) __ > > Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32 > http://www.nod32.com lub http://www.nod32

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Alan Condit
Gentlemen, Thanks for pointing out the error of my ways. I have fixed those errors. Part of the problem was that the reported error was was not the first location in the file where the problem existed. That mislead me into thinking that the expression was not the problem. Also the docum

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Kenneth Lerman
Good point about the proportional fonts. BTW: the code in TRUNK already has include like functionality. If you call an oword that hasn't been defined in the current file, it looks for a file named o and starts reading that, looking for the oword. I just got tired of copying the same code into

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
Michal, are you a different person also having the same error or are you helping Tomasz? I am very confused. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take c

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 06:58:19PM +0200, Micha? Geszkiewicz wrote: > THIs is point list of http://www.pastebin.ca/446010 ERROR: > > 1. start emc > 2. press F2 which autamaticly send "G92.1" and "G61.1" It doesn't do this on my system running EMC2.1.4. > 3. Homing axes > 4. move machine about so

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Michał Geszkiewicz
THIs is point list of http://www.pastebin.ca/446010 ERROR: 1. start emc 2. press F2 which autamaticly send "G92.1" and "G61.1" 3. Homing axes 4. move machine about some distance in every axes 5. set curr pos as zero point "G10L2P1Xnn.nnYnn.nnZnn.nn" [nn are cuurent coords] 6. in preview we are in

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Michał Geszkiewicz
THIs is point list of http://www.pastebin.ca/446010 ERROR: 1. start emc 2. press F2 which autamaticly send "G92.1" and "G61.1" 3. Homing axes 4. move machine about some distance in every axes 5. set curr pos as zero point "G10L2P1Xnn.nnYnn.nnZnn.nn" [nn are cuurent coords] 6. in preview we are in

Re: [Emc-users] Bad character in gcode file

2007-04-18 Thread Gene Heskett
On Wednesday 18 April 2007, Kyle wrote: >I would agree to a point with what Ken has pointed out. You aren't very >consistent with []'s around your variable and absolute values. I don't >know for sure if they are required but it should improve readability if >nothing else. > >Kyle > >Kenneth Lerman

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 10:42:48AM -0400, Kenneth Lerman wrote: > > I would like the interpreter to output a message that looks like: > > Bad character near line 79 > X-0.010+#177 Y3.0+#177 ( Back to Starting Position ) > ^ That would definitely be helpful. Another idea: co

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Kenneth Lerman
Chris, The meta problem is that the error handling from the interpreter is terrible. Now that I've modified the interpreter to let messages have content other than fixed strings, I can fix this. I would like the interpreter to output a message that looks like: Bad character near line 79 X-0

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 09:25:01AM -0500, Stuart Stevenson wrote: > Gentlemen, > I don't know if this could be the problem. The modal rapid command > G00 is G0 in two places in the program. Both of them are together in > the section of code that gives the error. One inside the DO loop and > one

Re: [Emc-users] bad character in G code file

2007-04-18 Thread Stuart Stevenson
Gentlemen, I don't know if this could be the problem. The modal rapid command G00 is G0 in two places in the program. Both of them are together in the section of code that gives the error. One inside the DO loop and one just outside after the DO loop. This shouldn't cause the problem but lackin

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 02:47:39PM +0200, Tomasz Brzozowski wrote: > gcode file: http://www.pastebin.ca/446328 > > log file generated by this file: http://www.pastebin.ca/446329 > > lines in "[]" are my own logging. > > Tomek Sorry, I'm still having trouble understanding the bug report. In thi

Re: [Emc-users] Bad character in gcode file

2007-04-18 Thread Kyle
I would agree to a point with what Ken has pointed out. You aren't very consistent with []'s around your variable and absolute values. I don't know for sure if they are required but it should improve readability if nothing else. Kyle Kenneth Lerman wrote: > It would have been easier to find this

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Tomasz Brzozowski
ess > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforg

Re: [Emc-users] Bad character in gcode file

2007-04-18 Thread Kenneth Lerman
It would have been easier to find this if you had flagged line 79 for us. I believe the problem is the line (marked by ^^ in your original code) X-0.010+#177 Y3.0+#177 ( Back to Starting Position ) should be: X[-0.010+#177] Y3.0+#177 ( Back to Starting Position ) Ken

Re: [Emc-users] Abslute g0 move error

2007-04-18 Thread Chris Radek
On Wed, Apr 18, 2007 at 09:15:02AM +0200, Tomasz Brzozowski wrote: > > When abslute moving in Z axis, speed is faster than settings in ini file. > > this is ini file : http://www.pastebin.ca/446005 > > this is the log file: http://www.pastebin.ca/446010 Would you also please post the simplest g

[Emc-users] Abslute g0 move error

2007-04-18 Thread Tomasz Brzozowski
Hello, Yesterday I saw error on my emc 2.1.4 When abslute moving in Z axis, speed is faster than settings in ini file. this is ini file : http://www.pastebin.ca/446005 this is the log file: http://www.pastebin.ca/446010 this is the correct speed: Issuing EMC_TRAJ_LINEAR_MOVE -- (+220