Re: [Emc-users] M3/M4 and M5

2011-09-11 Thread Peter Georgi
-Ursprüngliche Nachricht- Von: ghesk...@wdtv.com [mailto:ghesk...@wdtv.com] Gesendet: Freitag, 9. September 2011 13:27 An: Enhanced Machine Controller (EMC) Betreff: Re: [Emc-users] M3/M4 and M5 Hi Gene, I'm sorry if you have troubles with my mails. The clock in my computer is set korrect to European

Re: [Emc-users] M3/M4 and M5

2011-09-11 Thread gene heskett
On Sunday, September 11, 2011 08:41:59 AM Peter Georgi did opine: Hi Gene, From your mail I take, that you change from daylight saving time at the beginning of October. In Europe we change to normal time on the last weekend of October. Though it would be not so easy to fix the bug with

Re: [Emc-users] M3/M4 and M5

2011-09-11 Thread Kent A. Reed
On 9/11/2011 6:07 AM, Peter Georgi wrote: Hi Gene, From your mail I take, that you change from daylight saving time at the beginning of October. In Europe we change to normal time on the last weekend of October. Though it would be not so easy to fix the bug with respect to all the world

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread Ben Jackson
On Fri, Sep 09, 2011 at 12:48:25AM +0100, andy pugh wrote: As of yesterday, M67 is working (in the 2.5 branch and Master), if you need to output an analogue value synchronous to motion. (It had been quietly documented but non-functioning for quite a long time) This is probably the way to go

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread Steve Blackmore
On Thu, 8 Sep 2011 23:34:59 -0700, you wrote: When I tried it (before I discovered M67 wasn't working in 2.4) what I found was that the motion planner slows down at each segment making it useless for engraving. My theory (which I haven't verified in the code because it's a bit of a maze to the

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread Peter Georgi
...@wdtv.com [mailto:ghesk...@wdtv.com] Gesendet: Mittwoch, 7. September 2011 15:13 An: Enhanced Machine Controller (EMC) Betreff: Re: [Emc-users] M3/M4 and M5 Thank you to all who helped. It works with S1. Peter Is the clock in your computer correct? Your messages are causing a syntax error

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread andy pugh
On 9 September 2011 07:34, Ben Jackson b...@ben.com wrote: When I tried it (before I discovered M67 wasn't working in 2.4) what I found was that the motion planner slows down at each segment making it useless for engraving. As far as I can tell from my tests M67 does not change the motion

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread John Thornton
I think you made that up or like me have a poor memory for details or the memory is of a previous lifetime or previous version of EMC. I can never tell so I just have to look things up. S and M3 4 5 can be on the same line as shown in the order of execution. And I know having S and M3 works

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread John Thornton
http://www.linuxcnc.org/docview/html/gcode_overview.html#sec:Order-of-Execution On 9/8/2011 6:40 PM, gene heskett wrote: On Thursday, September 08, 2011 07:39:16 PM sa...@empirescreen.com did opine: Heh - I don't think so - I do S2000m03 all the time. sam I believe that because the line

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread gheskett
Hi Gene, I'm sorry if you have troubles with my mails. The clock in my computer is set korrect to European mean time, meaning two houres bevore UTC, becaus we still have summer time. It is synchronized with swisstime.ethz.ch. Regards Peter And there is the clue I was looking for. I am

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread gene heskett
On Friday, September 09, 2011 07:40:25 AM John Thornton did opine: I think you made that up or like me have a poor memory for details or the memory is of a previous lifetime or previous version of EMC. I can never tell so I just have to look things up. I am pretty sure John, but don't have

Re: [Emc-users] M3/M4 and M5

2011-09-09 Thread Kent A. Reed
On 9/9/2011 7:09 AM, John Thornton wrote: http://www.linuxcnc.org/docview/html/gcode_overview.html#sec:Order-of-Execution Well, as long as we're quoting emc2 docs, how about farther down the same overview page, 3.5 Don't put too many things on one line Ignore everything in Section [the

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread Cliff Blackburn
I think you just need to issue a spindle speed command greater then zero with your M3 command. e.g. M3 S100 ... M5 On 9/3/2011 9:27 AM, Peter Georgi wrote: Hi everybody, I'm using EMC2_2.4.4 for my hotwire foam cutting machine. Almost every thing runs fine and I'm very happy with EMC.

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread gene heskett
On Thursday, September 08, 2011 07:20:45 PM Cliff Blackburn did opine: I think you just need to issue a spindle speed command greater then zero with your M3 command. e.g. M3 S100 ... M5 I don't think that will work, but this should: ... S100 M3 ... M5 I believe it is written

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread samco
Heh - I don't think so - I do S2000m03 all the time. sam On Thu, 8 Sep 2011 19:25:34 -0400 gene heskett ghesk...@wdtv.com wrote: On Thursday, September 08, 2011 07:20:45 PM Cliff Blackburn did opine: I think you just need to issue a spindle speed command greater then zero with your M3

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread Ben Jackson
On Thu, Sep 08, 2011 at 04:05:31PM -0700, Cliff Blackburn wrote: I think you just need to issue a spindle speed command greater then zero with your M3 command. net spindle-on= motion.spindle-on net spindle-on = parport.0.pin-14-out Yes, I've just done this myself for a laser cutter. `M3

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread gene heskett
On Thursday, September 08, 2011 07:39:16 PM sa...@empirescreen.com did opine: Heh - I don't think so - I do S2000m03 all the time. sam I believe that because the line is read from left to right, that your version should also work. On Thu, 8 Sep 2011 19:25:34 -0400 gene heskett

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread andy pugh
On 9 September 2011 00:40, Ben Jackson b...@ben.com wrote: Yes, I've just done this myself for a laser cutter.  `M3 S1' is sufficient. Originally I used M62/63/65 alone but the spindle-on interacts nicely with job start/stop whereas a digital output will happily stay on. As of yesterday, M67

Re: [Emc-users] M3/M4 and M5

2011-09-08 Thread Jon Elson
gene heskett wrote: I believe it is written someplace that setting the speed to a non-zero value must be done at least a line before the Spindle on command is issued, it has to be in effect when the Spindle On is given. No, I am sure EMC has never required this. I have been using it for

Re: [Emc-users] M3/M4 and M5

2011-09-07 Thread gheskett
a mailfilter bug that can't handle times the other side of Grenich, but -Ursprüngliche Nachricht- Von: Chris Morley [mailto:chrisinnana...@hotmail.com] Gesendet: Samstag, 3. September 2011 19:10 An: EMC Betreff: Re: [Emc-users] M3/M4 and M5 This gives me in the Axis display

Re: [Emc-users] M3/M4 and M5

2011-09-06 Thread Steve Blackmore
On Tue, 6 Sep 2011 09:45:52 +0300, you wrote: Kim, I am trying to build industrial machines with EMC. Explaining to client, why do they need to specify S word in g-code file for a welding robot, where it does not make any sense at all, is very very difficult, after I have been telling them, how

Re: [Emc-users] M3/M4 and M5

2011-09-06 Thread Steve Blackmore
On Tue, 6 Sep 2011 03:12:00 -0500, you wrote: Have you tried the RS274NGC section of the ini file as described by section 4.2.4 of the integrators manual? --- 4.2.4 [RS274NGC] Section PARAMETER_FILE = file.var The file which contains the parameters used by

Re: [Emc-users] M3/M4 and M5

2011-09-06 Thread Chris Morley
And, if properly built, they all can be considered as industrial machines. Chris, thank You very much for the suggestion, I will check it out, when I have a spare moment and will let You know, if any other questions will arise. Viesturs If it ends up not setting the HAL pins at the

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Viesturs Lācis
2011/9/4 Karl Cunningham ka...@keckec.com: On 09/03/2011 12:37 PM, Viesturs Lācis wrote: Yes, You need to set spindle speed at least once in the code with S word. I also had this situation... I have a question, hopefully to start some discussion: How hard would it be to remove (at least

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Chris Morley
Look in src/emc/motion I see some code near the bottom of control.c some where around the line number starting at 1739 of emc2.5 From: viesturs.la...@gmail.com Date: Mon, 5 Sep 2011 20:28:59 +0300 To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] M3/M4 and M5 2011/9/4 Karl

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Viesturs Lācis
2011. gada 5. septembris 21:59 Chris Morley chrisinnana...@hotmail.com rakstīja: Look in src/emc/motion I see some code near the bottom of control.c some where around the line number starting at 1739 of emc2.5 Thank You! I already changed my mind, because I do not understand, what is going

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread andy pugh
2011/9/5 Chris Morley chrisinnana...@hotmail.com: Look in src/emc/motion I see some code near the bottom of control.c some where around the line number starting at 1739 of emc2.5 Maybe 1499 of src/emc/motion/command.c ? That looks a bit easier, if that bit of code is actually called by M3.

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Viesturs Lācis
2011/9/5 andy pugh bodge...@gmail.com: 2011/9/5 Chris Morley chrisinnana...@hotmail.com: Look in src/emc/motion I see some code near the bottom of control.c some where around the line number starting at 1739 of emc2.5 Maybe 1499 of src/emc/motion/command.c ? That looks a bit easier, if

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Andrew
2011/9/5 Viesturs Lācis viesturs.la...@gmail.com Maybe 1499 of src/emc/motion/*command.c* ? That looks a bit easier, if that bit of code is actually called by M3. For me line 1499 in [emc2.git] / src / emc / motion / *control.c* is in the middle of a long comment. ;) Andrew

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread andy pugh
On 5 September 2011 21:08, Viesturs Lācis viesturs.la...@gmail.com wrote: 2011/9/5 andy pugh bodge...@gmail.com: Maybe 1499 of src/emc/motion/***command.c*** -- atp Torque wrenches are for the obedience of fools and the guidance of wise men

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Viesturs Lācis
2011/9/5 andy pugh bodge...@gmail.com: On 5 September 2011 21:08, Viesturs Lācis viesturs.la...@gmail.com wrote: 2011/9/5 andy pugh bodge...@gmail.com: Maybe 1499 of src/emc/motion/***command.c*** Damn!!! My apologies! Thanks, I will take a look. Viesturs

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Chris Morley
expert with the guts of EMC From: viesturs.la...@gmail.com Date: Mon, 5 Sep 2011 23:29:54 +0300 To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] M3/M4 and M5 2011/9/5 andy pugh bodge...@gmail.com: On 5 September 2011 21:08, Viesturs Lācis viesturs.la...@gmail.com wrote: 2011/9

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Chris Morley
regardless of what s is set at Chris M From: chrisinnana...@hotmail.com To: emc-users@lists.sourceforge.net Date: Mon, 5 Sep 2011 21:52:30 + Subject: Re: [Emc-users] M3/M4 and M5 The hal pins are changed in control.c lines 1761 for spindle on line 1762 for forward line 1763 for reverse

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread andy pugh
2011/9/5 Chris Morley chrisinnana...@hotmail.com: HAL pin 'spindle on' is based on emc status of spindle speed * emc status net_spindle_scale In other words spindle is on if emc status spindle speed is not 0 - off if it is 0 Which was why I thought it might be easier in command.c.

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Chris Morley
From: chrisinnana...@hotmail.com To: emc-users@lists.sourceforge.net Date: Mon, 5 Sep 2011 22:08:50 + Subject: Re: [Emc-users] M3/M4 and M5 Ok I lied it was really easy. Three line change remove line 1761 in control.c add *(emcmot_hal_data-spindle_on)=1; after 1500

Re: [Emc-users] M3/M4 and M5

2011-09-05 Thread Kim Kirwan
: Mon, 5 Sep 2011 21:52:30 + Subject: Re: [Emc-users] M3/M4 and M5 The hal pins are changed in control.c lines 1761 for spindle on line 1762 for forward line 1763 for reverse HAL pin 'spindle on' is based on emc status of spindle speed * emc status net_spindle_scale In other words

Re: [Emc-users] M3/M4 and M5

2011-09-04 Thread Peter Georgi
Thank you to all who helped. It works with S1. Peter -Ursprüngliche Nachricht- Von: Chris Morley [mailto:chrisinnana...@hotmail.com] Gesendet: Samstag, 3. September 2011 19:10 An: EMC Betreff: Re: [Emc-users] M3/M4 and M5 This gives me in the Axis display to buttons to turn

[Emc-users] M3/M4 and M5

2011-09-03 Thread Peter Georgi
Hi everybody, I'm using EMC2_2.4.4 for my hotwire foam cutting machine. Almost every thing runs fine and I'm very happy with EMC. To start the heating of the hotwire I use a relay, wich is actuated by pin 14 through a break out board, to switch the heating power on and off. The hardware works

Re: [Emc-users] M3/M4 and M5

2011-09-03 Thread Chris Morley
This gives me in the Axis display to buttons to turn the spindle on and off. When pressing the two buttons with the left mouse button or F9 the pin 14 followes the state of the buttons of the display, maening going high and low. When trying to turn the spindle on with M3 or M4, from the

Re: [Emc-users] M3/M4 and M5

2011-09-03 Thread Viesturs Lācis
2011/9/3 Chris Morley chrisinnana...@hotmail.com: This gives me in the Axis display to buttons to turn the spindle on and off. When pressing the two buttons with the left mouse button or F9 the pin 14 followes the state of the buttons of the display, maening going high and low. When trying

Re: [Emc-users] M3/M4 and M5

2011-09-03 Thread Karl Cunningham
On 09/03/2011 12:37 PM, Viesturs Lācis wrote: Yes, You need to set spindle speed at least once in the code with S word. I also had this situation... I have a question, hopefully to start some discussion: How hard would it be to remove (at least with some special line in HAL or INI file)