Re: [Emc-users] NGC highlighting in Vim

2008-06-02 Thread Gary Fixler
Excellent! Thanks, Phil. I'd love your help with it, as well as anyone in
here who uses Vim. The more of our eyes, the more glitches we'll iron out,
and the more useful the syntax file will become. I'm not in the #emc too
often, and usually only very late, but I'll look you up. Meanwhile, feel
free to post anything you notice in reply to this thread, or if you'd like,
you can always email me directly.

Thanks!
-g

On Sun, Jun 1, 2008 at 7:11 PM, phil [EMAIL PROTECTED] wrote:

 Gary,
 Yeah yours is much better, if you want, I'm in the irc channel,
 #emc on freenode.net I'de love to help you out with finishing up your
 code, its looks really good. I had to fly by wire back then pretty much.
 Phil

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] g-code driving me loopy...

2008-06-02 Thread Geert De Pecker
Ian,

Example of while loop to make circular indents in the side of a handwheel/

DAMPER cat 110_mill_grips.ngc
%
(mill grips on other side, 3/8mill=9.5mm, 12 deep)
(params)
#1=-15  (drill depth)
#2=10   (retraction interval)
#100=-12(depth)
(fixed)
(speed)
F80
(reset)
G0 Z5
G0 X0 Y0
G4 P5
(start round)
#8=0(angle in degrees)
#9=30   (angle increment in degrees)
O101 while [#8 lt 360]
#5=32.30(first step and start)
#6=31.00(second step)
#7=35   (safe circle)
(first step)
G0 Z1
G0 X[#5 * cos[#8]] Y[#5 * sin[#8]]
G1 Z[#100 + 0.06]
G1 X[#7 * cos[#8]] Y[#7 * sin[#8]]
(second step)
G0 Z1
G0 X[#6 * cos[#8]] Y[#6 * sin[#8]]
G1 Z#100
G1 X[#7 * cos[#8]] Y[#7 * sin[#8]]
(increment angle)
#8=[#8 + #9]
(wait)
(M0)
O101 endwhile
(end)
G0 Z5
G0 X1 Y-1
G1 X0 Y0
G0 Z20
%

another example using IF:

(simple turning)
(#100 = max Z = start Z  #101)
(#101 = min Z)
(#200 = max X = start X  #201)
(#201 = min X)
(#300 = feed)
(#400 = stepsize)
(Z)
#100 = 200
#101 = 0
(X)
#200 = 17
#201 = 14
(FEED)
#300 = 120
(STEP)
#400 = 1
(END OF PARAMETERS)
(set feed)
F#300
(set current X)
#250 = #200
O501 while [#250 gt #201]
#250 = [#250 - #400]
O502 if [#250 lt #201]
#250 = [#201]
O502 endif
(goto start point, safety x 1mm)
G0 X[#250 + #400 + 1]
G0 Z#100
G0 X#250
G1 F#300 Z#101
O501 endwhile
(retract to orig X)
(END)
G0 X[#200 + 1]



Ian W. Wright wrote:
 Hi,
 
 Could someone please give me a little tutorial on using do/while loops 
 in g-code please or, at least, point to me to a tutorial on the web 
 while I have obviously missed in several hours of trawling the 'net. I'm 
 trying to write a simple gearcutting program where I can mount the blank 
 on a rotary axis and traverse the cutter back and forth on the X-axis a 
 given number of times. I'm wanting to make the script 'universal' so 
 that I can just insert numbers into variables for number of teeth, 
 length of X travel, depth of each cut, and total cut depth but I seem to 
 be getting my brain in a twist trying to figure out how to write the 
 loops. I know that, if I was bright, I should be able to figure this out 
 easily and maybe even write an interactive GUI but, today at least, I'm 
 not and I need to get this part made ASAP!! ( a house full of 
 grandchildren doesn't help either :-(  )
 
 Thanks,
 Ian
 --
 Ian W. Wright
 Sheffield  UK
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping

2008-06-02 Thread John Thornton
Cool, what kind of tweeking did you have to do with hal?

John

On 2 Jun 2008 at 8:39, Anders Wallin wrote:

 Hi all,
 
 Just wanted to let everyone know that we have now mounted an encoder
 on the spindle motor of our mill and with a little HAL-tweaking it was
 easy to get rigid tapping to work.
 
 There are two videos of M3 tapping and M6 tapping on youtube:
 http://www.anderswallin.net/2008/06/rigid-tapping/
 
 I'm not sure how many EMCers are doing rigid tapping out there but at
 least over here the spirits are high after the first successful tests!
 
 have fun,
 
 Anders
 
 --
 --- This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___ Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] g-code driving me loopy...

2008-06-02 Thread Ian W. Wright
Thanks Geert,

How appropriate - I have to make two little handwheels today!!

-- 
Best wishes,

Ian

Ian W. Wright
Sheffield  UK

The difference between theory and practice is much smaller in theory than in 
practice...


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping

2008-06-02 Thread Anders Wallin
 Cool, what kind of tweeking did you have to do with hal?
 John

nothing special, just set up the spindle encoder so that 
motion.spindle-revs increases by 1 when the spindle turns one 
revolution, and connect the index-enable to the encoder counter.

setp m5i20.0.enc-03-scale 2000
net spindle-pos m5i20.0.enc-03-position
net spindle-pos motion.spindle-revs
net spindle-index-en motion.spindle-index-enable
net spindle-index-en m5i20.0.enc-03-index-enable


Rigid tapping worked fine at 500 RPM, but gave following errors at 
higher spindle speeds.
Now I did it by first starting the spindle and then issuing the G33.1 
command.
I suspect the following errors are related to the Z-axis not keeping up 
with the spindle if the spindle is already turning at 2000rpm.

So perhaps start the spindle and have the G33.1 command on the same line 
of g-code so that the spindle accelerates from 0rpm to commanded rpm and 
the z-axis has time to respond?

Now I have no accel/decel on spindle-speed-out, so the accel/decel is 
only set in the VFD. But that should be ok as EMC2 does the gearing on 
the actual encoder signal and not commanded rpm.

Anders

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping

2008-06-02 Thread Svenne Larsson
500 RPM for tapping is really impressive in my point of view, my former
woking friend Correa couldn't do it at that speed even though it was
upgraded to a PC controller.

Regards,
Sven

2008/6/2 Anders Wallin [EMAIL PROTECTED]:

  Cool, what kind of tweeking did you have to do with hal?
  John

 nothing special, just set up the spindle encoder so that
 motion.spindle-revs increases by 1 when the spindle turns one
 revolution, and connect the index-enable to the encoder counter.

 setp m5i20.0.enc-03-scale 2000
 net spindle-pos m5i20.0.enc-03-position
 net spindle-pos motion.spindle-revs
 net spindle-index-en motion.spindle-index-enable
 net spindle-index-en m5i20.0.enc-03-index-enable


 Rigid tapping worked fine at 500 RPM, but gave following errors at
 higher spindle speeds.
 Now I did it by first starting the spindle and then issuing the G33.1
 command.
 I suspect the following errors are related to the Z-axis not keeping up
 with the spindle if the spindle is already turning at 2000rpm.

 So perhaps start the spindle and have the G33.1 command on the same line
 of g-code so that the spindle accelerates from 0rpm to commanded rpm and
 the z-axis has time to respond?

 Now I have no accel/decel on spindle-speed-out, so the accel/decel is
 only set in the VFD. But that should be ok as EMC2 does the gearing on
 the actual encoder signal and not commanded rpm.

 Anders

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] NGC highlighting in Vim

2008-06-02 Thread ben lipkowitz
On Sun, 1 Jun 2008, Gary Fixler wrote:

 2) NGC is different for every program that uses it. Everyone has their own
 implementation it would seem. I tried loading some of my EMC2 into a 3D
 visualizer for NGC, and it failed on just about everything. Reading NGC from
 other programs looks like an alien language to me. Right now I'm presuming
 EMC2's version of RS274/NGC, but I've really wanted to point that out in the
 syntax. E.g. right now I have this in the syntax file header:

Actually, it's RS274 that's different for every manufacturer. RS274-NGC 
was an effort by NIST to clear up all the incompatibilities by saying, 
look, here's how it should work, dammit and EMC was the reference 
implementation that came out of that. So, RS274-NGC is only one specific 
dialect. But it's the right one :)

   -fenn

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] NGC highlighting in Vim

2008-06-02 Thread Chris Radek
On Mon, Jun 02, 2008 at 02:46:19PM +, ben lipkowitz wrote:
 
 Actually, it's RS274 that's different for every manufacturer. RS274-NGC 
 was an effort by NIST to clear up all the incompatibilities by saying, 
 look, here's how it should work, dammit and EMC was the reference 
 implementation that came out of that. So, RS274-NGC is only one specific 
 dialect. But it's the right one :)

EMC2's gcode departs from RS274NGC in several ways.  They are
documented here:

http://www.linuxcnc.org/docview/html//gcode_main.html#r10



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] adding and compiling a new file

2008-06-02 Thread Charles Brauer
Hi all- I am trying to compile and build the dipod, so I placed the
functions mentioned in the 'kematics document' keeping the file looking like
tripod.c.
Now what? How do I get emc to compile it? Is there a step-by-step proceedure
for adding new files and getting emc to comile them? Thanks. c brauer
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] adding and compiling a new file

2008-06-02 Thread John Kasunich
Charles Brauer wrote:
 Hi all- I am trying to compile and build the dipod, so I placed the
 functions mentioned in the 'kematics document' keeping the file looking like
 tripod.c.
 Now what? How do I get emc to compile it? Is there a step-by-step proceedure
 for adding new files and getting emc to comile them? Thanks. c brauer
 

The procedure depends on the file(s) you are adding - it will be 
different for realtime code vs. user space code, etc.

In your case, I looked in src/emc/klnematics, and I didn't see 
tripod.c, although there is a tripodkins.c.  Was tripod.c a typo, 
or am I looking in the wrong place?

Assuming you meant tripodkins.c - look in the main makefile in the src/ 
directory - if you search for tripod you will find:

   obj-m += tripodkins.o
   tripodkins-objs := emc/kinematics/tripodkins.o

and farther down in the file:

   ../rtlib/tripodkins$(MODULE_EXT): $(addprefix 
objects/rt,$(tripodkins-objs))

You'll need to duplicate both of those using the name of your new file.

Good luck!

John Kasunich

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping

2008-06-02 Thread Jon Elson
Anders Wallin wrote:
 Hi all,
 
 Just wanted to let everyone know that we have now mounted an encoder on 
 the spindle motor of our mill and with a little HAL-tweaking it was easy 
 to get rigid tapping to work.
 
 There are two videos of M3 tapping and M6 tapping on youtube:
 http://www.anderswallin.net/2008/06/rigid-tapping/
 
 I'm not sure how many EMCers are doing rigid tapping out there but at 
 least over here the spirits are high after the first successful tests!
Great!  I am going to set up my minimill to do some thread 
drilling in the next day or so.  I use these $8 combined 
drill-taps.  I have been doing it on the Bridgeport with a 
Procunier tapping head, but that is such a long assembly it gets 
a bit wobbly.  Rapidly reversing the big Bridgeport motor is 
going to be hard on things, and getting an encoder on the 
spindle looks difficult.  I have this little minimill, and have 
to come up with the right fixturing for the workpiece, but its 
motor should be able to reverse a lot more easily, and I already 
have an encoder on it.

Jon

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] adding and compiling a new file

2008-06-02 Thread Jeff Epler
On Mon, Jun 02, 2008 at 06:13:05PM +0200, jros wrote:
 I think a different aproach is
 
 sudo comp --install your_kin.c 
 
 from EMC 2.1.7 and above.
 
 It compiles and installs in place (I think)

(sudo) comp --install should work for both run-installed and
run-in-place versions.  The sudo will be necessary for run-installed
systems, because typically root owns the directory containing the emc
modules.  sudo is usually not necessary for run-in-place, because the
user probably owns the module directory.

I recommend comp --install over modifying emc2's makefiles if all you
are doing is adding new components.  However, if you do prefer to
integrate the new module with the emc source tree, you can do that too.
For .comp files, just place the file in src/hal/components or
src/hal/drivers as appropriate.  For other modules, you have to write
several lines in the top-level Makefile, similar to these for trivkins:

obj-m += trivkins.o
trivkins-objs := emc/kinematics/trivkins.o
# ... many lines later ...
../rtlib/trivkins$(MODULE_EXT): $(addprefix objects/rt,$(trivkins-objs))

Jeff

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] adding and compiling a new file

2008-06-02 Thread jros
I think a different aproach is

sudo comp --install your_kin.c 

from EMC 2.1.7 and above.

It compiles and installs in place (I think)

You can try, it works for us

Javier 


El lun, 02-06-2008 a las 10:39 -0500, Charles Brauer escribió:
 Hi all- I am trying to compile and build the dipod, so I placed the
 functions mentioned in the 'kematics document' keeping the file
 looking like tripod.c.
 Now what? How do I get emc to compile it? Is there a step-by-step
 proceedure for adding new files and getting emc to comile them?
 Thanks. c brauer
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___ Emc-users mailing list 
 Emc-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] POWER for I/O needs

2008-06-02 Thread amtb
Hi
I have one AC servo motor IG 34 with power brake. To open that power brake
I need 24V 1.5 amp constant power. I searched and found that in the same
city where I am there are mfg. http://www.v-infinity.com/
There have very good price!
AC-DC converter 2-24 cost $43, but I want to buy power supply that has
multiply power –DC  output to I can supply my limits and home switches. I
my use it for other I/O needs.
So, I need help with what voltage MAX and MIN should be to be safe with
MESA Electronic boards 7i33 / 7i37?
After I find it I will buy one power supply that has multiply out puts
such as 24V  2A for power brake and 12V 2 A (or something more appropriate
for I/O needs)

So what voltage is safe or appropriate for I/O needs?
Thanks
Aram



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] POWER for I/O needs

2008-06-02 Thread Kenneth Lerman
It's generally NOT a good idea to power logic and high brakes from the 
same supply. Actuating a brake can cause power surges that will 
adversely affect your logic.

Ken

[EMAIL PROTECTED] wrote:
 Hi
 I have one AC servo motor IG 34 with power brake. To open that power brake
 I need 24V 1.5 amp constant power. I searched and found that in the same
 city where I am there are mfg. http://www.v-infinity.com/
 There have very good price!
 AC-DC converter 2-24 cost $43, but I want to buy power supply that has
 multiply power –DC  output to I can supply my limits and home switches. I
 my use it for other I/O needs.
 So, I need help with what voltage MAX and MIN should be to be safe with
 MESA Electronic boards 7i33 / 7i37?
 After I find it I will buy one power supply that has multiply out puts
 such as 24V  2A for power brake and 12V 2 A (or something more appropriate
 for I/O needs)
 
 So what voltage is safe or appropriate for I/O needs?
 Thanks
 Aram
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] POWER for I/O needs

2008-06-02 Thread noel
I agree with K Lerman.  Don't mix logic and power.
Try a simple transformer and recifier for the brake power.  Pretty
inexpensive
For logic (including limits, etc.) I use power supplies like this:
http://www.wolfautomation.com/Product.aspx?ProductID=21721
This is exactly what I use with my Mesa boards.  24v DC for switches,
relays, etc.
.Noel.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, June 02, 2008 1:09 PM
To: Enhanced Machine Controller (EMC)
Cc: Enhanced Machine Controller
Subject: [Emc-users] POWER for I/O needs

Hi
I have one AC servo motor IG 34 with power brake. To open that power brake I
need 24V 1.5 amp constant power. I searched and found that in the same city
where I am there are mfg. http://www.v-infinity.com/ There have very good
price!
AC-DC converter 2-24 cost $43, but I want to buy power supply that has
multiply power -DC  output to I can supply my limits and home switches. I my
use it for other I/O needs.
So, I need help with what voltage MAX and MIN should be to be safe with MESA
Electronic boards 7i33 / 7i37?
After I find it I will buy one power supply that has multiply out puts such
as 24V  2A for power brake and 12V 2 A (or something more appropriate for
I/O needs)

So what voltage is safe or appropriate for I/O needs?
Thanks
Aram



-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 269.24.4/1478 - Release Date: 6/2/2008
7:12 AM


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] NGC highlighting in Vim

2008-06-02 Thread phil
Ah ha, I remembered this from days long past, there is a command that 
everyone can use to quickly learn vim, I do believe that the correct vim 
is not installed by default on the current install set from the live cd, 
I believe anapt-get install vim-common may do the trick, but the 
command to learn how to use vim, is   vimtutor but I could be wrong, if 
it doesnt work, flame me some, but thats just if your interested in 
using vim.
phil
this wasn't in response to Chris, or anyone in particular, I just dont 
openly address the list on my own.

Chris Radek wrote:
 On Mon, Jun 02, 2008 at 02:46:19PM +, ben lipkowitz wrote:
   
 Actually, it's RS274 that's different for every manufacturer. RS274-NGC 
 was an effort by NIST to clear up all the incompatibilities by saying, 
 look, here's how it should work, dammit and EMC was the reference 
 implementation that came out of that. So, RS274-NGC is only one specific 
 dialect. But it's the right one :)
 

 EMC2's gcode departs from RS274NGC in several ways.  They are
 documented here:

 http://www.linuxcnc.org/docview/html//gcode_main.html#r10



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Torque control M CODE

2008-06-02 Thread amtb
Hi
Is it possible to make create M code that corresponds to toque of the AC
servomotor?
Units of M300, for example, will be N*M/Lb*f.
At the beginning of program should be place to declare that  M300 less
than 30lb*f (for example), and if it exceed than program switch to M0
program Stop.

That will reduce harm of machine crash and can prevent break of tool that
lost cutting edge.
Aram



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users