Re: [Emc-users] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gary Fixler

 [TRAJ]
 DEFAULT_LINEAR_VELOCITY =
 DEFAULT_ANGULAR_VELOCITY =


Interesting. I don't have DEFAULT_LINEAR_VELOCITY, but I do have
DEFAULT_VELOCITY, which seems to be the same. Has the name changed, or does
EMC accept either?

I had been skipping over those ini values, because they're wildly different
from what I see as the startup values in EMC. Now I see why. The ini file
should be IPS, whereas EMC's sliders show IPM. That's why I was getting in
the 1300s in EMC for my DEFAULT_VELOCITY = 22. That doesn't explain why it's
1312 in EMC (22 * 60 = 1320), but at least it's close, and I can set more
realistic values now. Awesome.

Also, are any values NOT in the default install? I seem to recall in my
travels finding some variables that weren't anywhere in my config file. It
makes me wonder what cool features I might be missing. Maybe there's a list
I haven't found yet?


 delete /usr/share/axis/images/axis.ngc or set the environment variable
 AXIS_OPEN_FILE to the ngc you want to open as default


It doesn't seem to be respecting my environment variable here, even if I
immediately run '$ emc' after setting it in the same shell. I haven't tried
the file delete trick yet, but am glad to know where it resides now. Thanks.


  Sadly, the EMC2 AXIS default file is also set to run at a higher speed
  than my sad little machine can handle

 This isn't a problem with EMC2. Your machine's MAX_VELOCITY is configured
 wrong. The machine should not be able to lose steps simply by being
 commanded too fast. Why would you want to command the machine to move
 faster than is physically possible?


I wouldn't! I just haven't managed to understand all of the settings yet.
I've read a lot, and have toyed with things like MAX_VELOCITY (which is at
30 currently - no wonder it seems limitless! That's 1800 IPM!), but I've
gotten such strange results for so many things, I haven't yet learned to
trust myself, or any of the settings yet. That's why I'm here, though. You
guys have been extremely helpful already. I'm considering giving back
eventually (when I know enough) by writing up very simple explanations for
simple folk like me, who feel a bit overwhelmed in the beginning.

I'm thinking now that a lot of my troubles, and strange occurrences in this
particular area have been me incorrectly assuming that the conf settings are
supposed to be in IPM (or forgetting that I read otherwise, as now it does
sound familiar). I guess IPS just doesn't make sense to me, and as such I
wouldn't presume it, because my mill has trouble moving just 1IPS. What's
the use counting in floating points 1? :)

The hissing noise is due to 'noise' believe it or not. Check your setup
 for ground loops and capacitive coupling and all that good stuff. Or maybe
 you should just buy some stepper drivers of higher quality.


Step 1 for me now is to figure out what ground loops, and capacitive
couplings are! I don't think I can afford any more stepper drivers. I have
Sherline's only offering, and it was $600. Being a total newbie, and having
decided I liked, and could afford their 5400 CNC package (completely
non-profit, hobby use only), I've for simplicity, and guaranteed
work-togetherness limited my purchases to their catalog. Still, $600 did
seem very high, and it's missing things that I've since assumed come with
other, possibly cheaper packages. For example, I have no option for a 5th
axis, encoder inputs, servo anythings, a probe, actual e-stop button,
spindle on/off, coolant on/off, that coffee maker attachment someone
mentioned in here this week...

How do people normally add things like contact stops, and probes? Are these
part of better driver systems? I've also wondered if there was anything that
could be done in-line. For example, the Sherline box would plug into another
box, which would then plug into the serial port. That box could insert codes
into the stream for the missing features above. This is probably an insane
notion, and might quickly overflow any buffers it encounters along the way
with too much data.

If other drivers do all of this cool extra stuff, maybe I should just
upgrade, and sell the Sherline box to someone who will undoubtedly then show
up in here at some point, with all of my same problems, and I can instruct
him to sell the box, and get something better. The circle of life continues.

To keep the steppers cool, you can rig up some CPU fans to blow on them.
 But you really shouldn't leave the machine unattended. You can pause and
 resume if you need to leave in the middle of a job. If you must turn the
 drivers off, you can stop the program at a convenient place, and then edit
 the g-code file so that it starts there next time. (run-from-line is not
 quite ready yet.)


I'm excited that a run-from-line is even in the works! It was one of the
features I've already wished for, several times. I've taken to jotting down
a sensible number from the scrolling lines, killing out, and then deleting
everything before that line, and saving 

Re: [Emc-users] EMC list troubles, and thanks, Gene Heskett!

2008-03-20 Thread Gary Fixler
You know, I'm not quite sure why I didn't simply decide to use Gmail from
the start. I use it for my main address these days, and love having
everything available wherever I go. I've already wanted several times to ask
a question as it occurred to me at work, and couldn't, as I'd downloaded the
messages into Thunderbird at home, and so had nothing to which I could
reply.

I tried at first to use the Gmail trick of appending some qualifier to the
name. E.g. if I'm [EMAIL PROTECTED] (which I'm not), I would use something like
[EMAIL PROTECTED], which would still make it to [EMAIL PROTECTED], but would 
have
the +emc in it as something I could filter into a separate folder. The list
wouldn't accept it, sending it back as having an invalid name. I suppose I
could have simply filtered by 'From,' but I kind of just wanted something
entirely emc-only.

Unfortunately, I still don't really understand all the base thread stuff,
and its related mumbo jumbo. I did get some info that's pushing me farther
forward, however, and it sounds like even the pros in here still need to do
a lot of experimenting to fine-tune everything, test limits, and back off
from found limits. It sounds quite like machining in that respect.

Thanks, Gene.
-Gary

On Tue, Mar 18, 2008 at 6:41 PM, Gene Heskett [EMAIL PROTECTED]
wrote:

 On Tuesday 18 March 2008, Gary Fixler wrote:
 I set up an account for this list - [EMAIL PROTECTED] - through my host,
 but couldn't reply to the confirmation email from Thunderbird on Linux at
 home. It would send, and go into my outbox, but nothing would ever come
 of
 it. I had to click through to the site (from Thunderbird), and confirm it
 there. I then couldn't send, nor reply to any message ever from
 Thunderbird,
 though I tried several times to do both over the past few weeks, hoping
 it
 would finally take. It would, however, always let me send, and reply from
 the web interface. I'm not sure why, as it's the same account - just a
 different interface on my end, and a different outbound server (verizon
 at
 home / probably my host - hostrocket - at work).  Thunderbird was
 receiving
 every list message, including the ones I'd sent through the web
 interface.
 Every message sent through the web version always made it, and promptly.
 Clearly, the Verizon server's version of my mail was just being dropped,
 probably by the list, as I've not had that problem sending mail anywhere
 else, and have for years now, including to about 5 other list serves.
 
 Anyway, I just thought I'd mention this, with details, in case anyone in
 here has power over these things. Maybe it's just a flipped switch, or
 someone's chair is on the internet cable ;)
 
 Also, a big thanks to Gene Heskett for answering my RTAPI error question
 from last night. I forgot about my mail troubles, and downloaded the
 messages into Thunderbird this morning, and of course, can't reply to
 that
 one now from in there. It would seem I can use this new Gmail address
 from
 now on, so I'm moving to this account, and dumping the cnc@ address from
 my
 host. I use Gmail daily anyway, so it's not a big deal, but it's
 frustrating
 that I can't use any personal email through my own server.
 
 I may have more questions about RTAPI issues, but I'll start a new thread
 with this address should it come to that.
 
 Thanks again.
 -Gary

 I have not had any probs with vz dropping this list, but the jerks kept
 dropping and bouncing the lkml, getting me un-subscribed twice so I had to
 move that account to gmail.

 But, when vz gets a corncob up their anus about a list, you may as well
 give
 up and use gmail.  I actually have 3 servers I can 'pop3' fetch from,
 using
 fetchmail, which in turn uses procmail as its MTA, and procmail steers it
 through spamassassin and disposes of it accordingly if its too spammy.
  All
 kmail has to do is sort it to the right folders.  Does that make this old
 fart (73) a 'power user'?  Nah, just a wee bit better than the average
 bear,
 a small amount of the time, and dumber the rest of the time. :)

 In re the rtapi and unexpected realtime delay issues, I experimented some
 this
 afternoon with my base thread which was set at 78000ns when I started,
 reducing it to 38000ns for the last test, running most of the stuff in the
 nc_files dir to test, and never did see another error AFTER the startup,
 even
 when running at 200% speeds here.

 However, as has been noted, every motherbaord/video combo is going to be
 enough different that sometimes the only thing you can do is to throw more
 money at the hardware.  There have been a couple of motherboards that just
 weren't usable but I don't even recall their trade names now.

 Perhaps one of the developers has a better memory than mine on what brands
 to
 avoid.

 --
 Cheers, Gene
 There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order.
 -Ed Howdershelt (Author)
 A vivid and creative mind characterizes you.

 

Re: [Emc-users] How to set certain AXIS settings to defaults?

2008-03-20 Thread ben lipkowitz
On Wed, 19 Mar 2008, Gary Fixler wrote:

 The ini file should be IPS, whereas EMC's sliders show IPM. That's why I 
 was getting in the 1300s in EMC for my DEFAULT_VELOCITY = 22. That 
 doesn't explain why it's 1312 in EMC (22 * 60 = 1320), but at least it's 
 close, and I can set more realistic values now. Awesome.

This granularity is probably from the fixed number of pixels in the slider 
widget.

 Also, are any values NOT in the default install? I seem to recall in my
 travels finding some variables that weren't anywhere in my config file. It
 makes me wonder what cool features I might be missing. Maybe there's a list
 I haven't found yet?

http://linuxcnc.org/docs/html/config_ini_config.html
The ini file is supposed to be described completely here^^, however 
sometimes people forget to write documentation. Did I just hear you 
volunteering? :)

 delete /usr/share/axis/images/axis.ngc or set the environment variable
 AXIS_OPEN_FILE to the ngc you want to open as default

 It doesn't seem to be respecting my environment variable here, even if I
 immediately run '$ emc' after setting it in the same shell. I haven't tried
 the file delete trick yet, but am glad to know where it resides now. Thanks.

just tested this and it works:
export AXIS_OPEN_FILE=/home/fenn/sandbox/cxf_splash.py
emc

 I'm considering giving back eventually (when I know enough) by writing 
 up very simple explanations for simple folk like me, who feel a bit 
 overwhelmed in the beginning.

When you're ready: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps

 I'm thinking now that a lot of my troubles, and strange occurrences in this
 particular area have been me incorrectly assuming that the conf settings are
 supposed to be in IPM (or forgetting that I read otherwise, as now it does
 sound familiar). I guess IPS just doesn't make sense to me, and as such I
 wouldn't presume it, because my mill has trouble moving just 1IPS. What's
 the use counting in floating points 1? :)

I agree. The configuration file should allow you to specify in furlongs 
per fortnight if you so desire, but the .ini file format makes this 
impossible, or at least not worth the extra complexity.

 Step 1 for me now is to figure out what ground loops, and capacitive
 couplings are!



 I don't think I can afford any more stepper drivers. I have
 Sherline's only offering, and it was $600. Being a total newbie, and having
 decided I liked, and could afford their 5400 CNC package

I'm not sure how you managed to acquire a sherline CNC for $600 as the 
base price is $2450 (which seems high to me). I would expect the factory 
setup to not hiss, catch fire, electrocute you, etc. You should call them 
and find out what the problem might be.

 How do people normally add things like contact stops, and probes? Are these
 part of better driver systems? I've also wondered if there was anything that
 could be done in-line. For example, the Sherline box would plug into another
 box, which would then plug into the serial port. That box could insert codes
 into the stream for the missing features above. This is probably an insane
 notion, and might quickly overflow any buffers it encounters along the way
 with too much data.

This doesn't work, because rs-232 is not fast enough, and has 
unpredictable latencies, and needs special drivers for the device on the 
end of the cable. There are similar problems with most other networking 
technologies. This doesn't mean it's impossible, but it starts to diverge 
quickly from what EMC is really all about, a PC based machine control. 
(edit: i probably misunderstood you here. sherline uses a parport 
connector and simple logic signals, no codes or buffers or data)

There are several interface cards you can add to the PCI bus, although for 
most people the parallel port connection they drive the steppers with has 
enough spare I/O for some switches and spindle control. You could tap into 
the parport line before it goes to the sherline driver card/box.

interface cards:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware

 If other drivers do all of this cool extra stuff, maybe I should just
 upgrade, and sell the Sherline box to someone who will undoubtedly then show
 up in here at some point, with all of my same problems, and I can instruct
 him to sell the box, and get something better. The circle of life continues.

Some fancy motion control systems can cost up to 10 times (or more) what 
you paid for the whole system, and are overkill for this application. 
However, you can probably improve what you have if you learn a little bit. 
Maybe another sherline user can chime in here?

 I'm excited that a run-from-line is even in the works! It was one of the
 features I've already wished for, several times. I've taken to jotting down
 a sensible number from the scrolling lines, killing out, and then deleting
 everything before that line, and saving out as a new, partial file from
 which to complete things. I imagine 

Re: [Emc-users] Emc-users Digest, Vol 23, Issue 51

2008-03-20 Thread John Thornton
Gary,

If you can add another parallel port card ($10 on fleabay) you can have lots of 
extra 
inputs easy.

There are two speeds that are settable for homing the search speed which you 
set 
as fast as your comfortable with and the final position speed that you set 
slower so 
you can get good repetable position. Unfortunaly the last speed is done at a 
rapid so 
if you have a weak heart and a very fast machine 400IPM it will jerk real bad 
and 
scare you... In slower machines it works well. Too bad none of the developers 
have 
real fast machines or we might get another option there... 

Basicly it moves the axis until it sees the switch change states then backs off 
then 
comes back again to touch off then rapids to your home position. If you have 
limit 
switches you can configure them to home as well.

John

On 20 Mar 2008 at 0:46, [EMAIL PROTECTED] wrote:

  A better method is to set up home switches, since this will
  calibrate the motor position in the case they were moved while the
  machine was off.
 
 
 I'd love to do this, but again, my box hasn't the inputs necessary. It
 does bring up some questions, though. How fast can you encounter a
 home switch? Do you home in this way at feed, or rapid speeds? Does it
 simply not matter, because it's always going to trip at the same
 moment when pressed, and thus will always home to the same, say,
 0.001? How repeatably accurate are they?
 
 
 Thanks so much for all this great information, fenn! I'm starting to
 finally feel a bit more in control of my setup. -Gary



-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread list
I’m new here and have question about PWM Up/down mode. From EMC docs and wiki, 
Pluto-P can be configured for both step/dir or up/down output mode. Can either 
MESA 5i20 or 7i43 output PWM up/down? Or could firmware be modified with Xilinx 
ISE for up/down? Searching thru CVS 2.3-pre source, I found: 

/src/hal/drivers/mesa7i43-firmware/hostmot2/hostmot2-register-map
Bit 4,3 = PWM output mode select
00 = Normal Sign Magnitude PWMDIR outputs normal
01 = Normal Sign Magnitude PWMDIR outputs swapped (for locked antiphase)
10 = Up/down mode
11 = PDM mode (12 bits)

Not sure if “10 = Up/down mode” really refers to output (or encoder)? I’d like 
to build a 130vdc 500 watt h-bridge for spindle and don’t think step/dir will 
work. 

I started working with EMC last month using Debian Sid, RTAI 3.6 and Fluxbox 
desktop. I stripped the kernel to bare minimum and used 
http://www.rtai.dk/cgi-bin/gratiswiki.pl?Latency_Killer to tweak an old Asus 
P2B motherboard. EMC2 installed fairly smooth, except for dealing with Matrox 
G400 DRI DMA calls/AXIS window moves causing latency spikes. I built a home 
alarm system three years ago with RTAI and Velleman K8000 IO board, the 
experience helped with EMC.

The machines I’m working with are Sieg X2 mill with table mounted Micromark 
headstock for 4-axis and a Cummins mini-lathe for turning parts for the 
mill/lathe combo. 

Keil
-
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] How to set certain AXIS settings to defaults?

2008-03-20 Thread John Kasunich
ben lipkowitz wrote:

 The hissing noise is due to 'noise' believe it or not. Check your setup 
 for ground loops and capacitive coupling and all that good stuff. Or maybe 
 you should just buy some stepper drivers of higher quality.

I think Ben is being overly critical here.  Xylotex drives do produce a 
hissing sound from the motor.  It is a result of the type of PWM used by 
those drives, and it is normal and totally harmless.  It does NOT 
indicate any kind of problem that you need to worry about.

Regards,

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] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gene Heskett
On Thursday 20 March 2008, Gary Fixler wrote:
 [TRAJ]
 DEFAULT_LINEAR_VELOCITY =
 DEFAULT_ANGULAR_VELOCITY =

Interesting. I don't have DEFAULT_LINEAR_VELOCITY, but I do have
DEFAULT_VELOCITY, which seems to be the same. Has the name changed, or does
EMC accept either?

I had been skipping over those ini values, because they're wildly different
from what I see as the startup values in EMC. Now I see why. The ini file
should be IPS, whereas EMC's sliders show IPM. That's why I was getting in
the 1300s in EMC for my DEFAULT_VELOCITY = 22. That doesn't explain why it's
1312 in EMC (22 * 60 = 1320), but at least it's close, and I can set more
realistic values now. Awesome.

Also, are any values NOT in the default install? I seem to recall in my
travels finding some variables that weren't anywhere in my config file. It
makes me wonder what cool features I might be missing. Maybe there's a list
I haven't found yet?

 delete /usr/share/axis/images/axis.ngc or set the environment variable
 AXIS_OPEN_FILE to the ngc you want to open as default

It doesn't seem to be respecting my environment variable here, even if I
immediately run '$ emc' after setting it in the same shell. I haven't tried
the file delete trick yet, but am glad to know where it resides now. Thanks.

  Sadly, the EMC2 AXIS default file is also set to run at a higher speed
  than my sad little machine can handle

 This isn't a problem with EMC2. Your machine's MAX_VELOCITY is configured
 wrong. The machine should not be able to lose steps simply by being
 commanded too fast. Why would you want to command the machine to move
 faster than is physically possible?

I wouldn't! I just haven't managed to understand all of the settings yet.
I've read a lot, and have toyed with things like MAX_VELOCITY (which is at
30 currently - no wonder it seems limitless! That's 1800 IPM!), but I've
gotten such strange results for so many things, I haven't yet learned to
trust myself, or any of the settings yet. That's why I'm here, though. You
guys have been extremely helpful already. I'm considering giving back
eventually (when I know enough) by writing up very simple explanations for
simple folk like me, who feel a bit overwhelmed in the beginning.

I'm thinking now that a lot of my troubles, and strange occurrences in this
particular area have been me incorrectly assuming that the conf settings are
supposed to be in IPM (or forgetting that I read otherwise, as now it does
sound familiar). I guess IPS just doesn't make sense to me, and as such I
wouldn't presume it, because my mill has trouble moving just 1IPS. What's
the use counting in floating points 1? :)

The hissing noise is due to 'noise' believe it or not. Check your setup

 for ground loops and capacitive coupling and all that good stuff. Or maybe
 you should just buy some stepper drivers of higher quality.

Step 1 for me now is to figure out what ground loops, and capacitive
couplings are! I don't think I can afford any more stepper drivers. I have
Sherline's only offering, and it was $600. Being a total newbie, and having
decided I liked, and could afford their 5400 CNC package (completely
non-profit, hobby use only), I've for simplicity, and guaranteed
work-togetherness limited my purchases to their catalog. Still, $600 did
seem very high, and it's missing things that I've since assumed come with
other, possibly cheaper packages. For example, I have no option for a 5th
axis, encoder inputs, servo anythings, a probe, actual e-stop button,
spindle on/off, coolant on/off, that coffee maker attachment someone
mentioned in here this week...

How do people normally add things like contact stops, and probes? Are these
part of better driver systems? I've also wondered if there was anything that
could be done in-line. For example, the Sherline box would plug into another
box, which would then plug into the serial port. That box could insert codes
into the stream for the missing features above. This is probably an insane
notion, and might quickly overflow any buffers it encounters along the way
with too much data.

If other drivers do all of this cool extra stuff, maybe I should just
upgrade, and sell the Sherline box to someone who will undoubtedly then show
up in here at some point, with all of my same problems, and I can instruct
him to sell the box, and get something better. The circle of life continues.

To keep the steppers cool, you can rig up some CPU fans to blow on them.

 But you really shouldn't leave the machine unattended. You can pause and
 resume if you need to leave in the middle of a job. If you must turn the
 drivers off, you can stop the program at a convenient place, and then edit
 the g-code file so that it starts there next time. (run-from-line is not
 quite ready yet.)

I'm excited that a run-from-line is even in the works! It was one of the
features I've already wished for, several times. I've taken to jotting down
a sensible number from the scrolling lines, killing out, and then deleting

Re: [Emc-users] Mesa 7i43 PWM Output mode

2008-03-20 Thread Sebastian Kuzminsky
list wrote:
 I’m new here and have question about PWM Up/down mode. From EMC docs and 
 wiki, Pluto-P can be configured for both step/dir or up/down output 
 mode. Can either MESA 5i20 or 7i43 output PWM up/down?

The 7i43 with the HostMot2 firmware can do PWM in up/down mode, but the 
driver doesnt support it yet.  I've been meaning to add that, I'll try 
to get it done in the next day or so.

I'm not sure what the present capabilities of the 5i20 firmware  driver 
are, but I would think they support up/down PWM.  Over the next few 
months or so I'm going to write a new driver for the 5i2x cards (and the 
4i6x cards) for the HostMot2 firmware, and then they'll definately 
support it.


-- 
Sebastian Kuzminsky
Yes, we have a soul.  But it is mechanical.  -- Daniel Dennet

-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread sam sokolik
I was actually planing on using a circuit like this
http://www.electronicsam.com/images/KandT/servostart/logic.JPG  (just an 
abstract idea - could be done with fewer ic's (nand))
when I get to that point.  (unless the driver was changed before then)

sam

- Original Message - 
From: Sebastian Kuzminsky [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Thursday, March 20, 2008 09:12 AM
Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode


list wrote:
 I’m new here and have question about PWM Up/down mode. From EMC docs and
 wiki, Pluto-P can be configured for both step/dir or up/down output
 mode. Can either MESA 5i20 or 7i43 output PWM up/down?

The 7i43 with the HostMot2 firmware can do PWM in up/down mode, but the
driver doesnt support it yet.  I've been meaning to add that, I'll try
to get it done in the next day or so.

I'm not sure what the present capabilities of the 5i20 firmware  driver
are, but I would think they support up/down PWM.  Over the next few
months or so I'm going to write a new driver for the 5i2x cards (and the
4i6x cards) for the HostMot2 firmware, and then they'll definately
support it.


-- 
Sebastian Kuzminsky
Yes, we have a soul.  But it is mechanical.  -- Daniel Dennet

-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread Peter C. Wallace

On Thu, 20 Mar 2008, sam sokolik wrote:


Date: Thu, 20 Mar 2008 09:21:56 -0500
From: sam sokolik [EMAIL PROTECTED]
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode

I was actually planing on using a circuit like this
http://www.electronicsam.com/images/KandT/servostart/logic.JPG  (just an
abstract idea - could be done with fewer ic's (nand))
when I get to that point.  (unless the driver was changed before then)

sam



The current 5I20 firmware supported by EMC2 (HOSTMOT) does not support UP/DOWN 
PWM mode.


If you patch the current firmware with the gates (ad directly drive an 
HBridge)  the will be some problems with glitches when the PWM is updated by 
EMC, as the DIR output can be updated asynchronously relative to the PWM 
output.


This is fixed in HOSTMOT2, both because UP/DOWN PWM mode is supported in the 
hardware, and because HOSTMOT2 has a double buffered PWM mode that only 
changes the outputs synchronously with the PWM cycle.





- Original Message -
From: Sebastian Kuzminsky [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Thursday, March 20, 2008 09:12 AM
Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode


list wrote:

I’m new here and have question about PWM Up/down mode. From EMC docs and
wiki, Pluto-P can be configured for both step/dir or up/down output
mode. Can either MESA 5i20 or 7i43 output PWM up/down?


The 7i43 with the HostMot2 firmware can do PWM in up/down mode, but the
driver doesnt support it yet.  I've been meaning to add that, I'll try
to get it done in the next day or so.

I'm not sure what the present capabilities of the 5i20 firmware  driver
are, but I would think they support up/down PWM.  Over the next few
months or so I'm going to write a new driver for the 5i2x cards (and the
4i6x cards) for the HostMot2 firmware, and then they'll definately
support it.


--
Sebastian Kuzminsky
Yes, we have a soul.  But it is mechanical.  -- Daniel Dennet

-
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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread Gene Heskett
On Thursday 20 March 2008, sam sokolik wrote:
I was actually planing on using a circuit like this
http://www.electronicsam.com/images/KandT/servostart/logic.JPG  (just an
abstract idea - could be done with fewer ic's (nand))
when I get to that point.  (unless the driver was changed before then)

sam

I think, from what I read recently in the hal handbook, that pwmgen running in 
type=2 mode already does that.  Not tested of course.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Acceptance testing:
An unsuccessful attempt to find bugs.

-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread sam sokolik
Yes - this was strictly for the mesa card (I have both the pluto and mesa 
card).  Both pwmgen and the pluto have the option for up/down pwm.

sam
- Original Message - 
From: Gene Heskett [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Thursday, March 20, 2008 09:39 AM
Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode


 On Thursday 20 March 2008, sam sokolik wrote:
I was actually planing on using a circuit like this
http://www.electronicsam.com/images/KandT/servostart/logic.JPG  (just an
abstract idea - could be done with fewer ic's (nand))
when I get to that point.  (unless the driver was changed before then)

sam

 I think, from what I read recently in the hal handbook, that pwmgen 
 running in
 type=2 mode already does that.  Not tested of course.

 -- 
 Cheers, Gene
 There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
 -Ed Howdershelt (Author)
 Acceptance testing:
 An unsuccessful attempt to find bugs.

 -
 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] Multiple motors

2008-03-20 Thread Roland Jollivet
Hi All

I was wondering if anyone had experience with driving a single ballscrew
with two similar DC motors, one at either end?

So we have;
- one ballscrew
- one rotary encoder
- one servo drive
- two DC servo motors, one at either end of the shaft

One will obviously turn 'backwards' relative to the other, not that that
should have any bearing on anything.

I'm trying to figure out if there would be a detriment to connecting the
motors in parallel to one servo drive. Availabe power is not a problem, but
possible current-interplay between the motors is.
Perhaps they should be in series, but peak current would be halved  One
motor would always draw a bit more power, but the servo drive will see a
single load.

Anyone come across such a system in the real world?


Regards
Roland
-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread Gene Heskett
On Thursday 20 March 2008, sam sokolik wrote:
Yes - this was strictly for the mesa card (I have both the pluto and mesa
card).  Both pwmgen and the pluto have the option for up/down pwm.

sam

And thats what I get for not going back and re-reading the earlier parts of 
the thread, sorry Sam.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
kira Ada, the only language written to milspec.
Mikster shudder

-
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] Multiple motors

2008-03-20 Thread John Kasunich
Roland Jollivet wrote:
 Hi All
 
 I was wondering if anyone had experience with driving a single ballscrew
 with two similar DC motors, one at either end?
 
 So we have;
 - one ballscrew
 - one rotary encoder
 - one servo drive
 - two DC servo motors, one at either end of the shaft
 
 One will obviously turn 'backwards' relative to the other, not that that
 should have any bearing on anything.
 
 I'm trying to figure out if there would be a detriment to connecting the
 motors in parallel to one servo drive. Availabe power is not a problem, but
 possible current-interplay between the motors is.
 Perhaps they should be in series, but peak current would be halved  One
 motor would always draw a bit more power, but the servo drive will see a
 single load.
 
 Anyone come across such a system in the real world?
 
 
 Regards
 Roland
 

I haven't actually done this, but I know a bit about motors and how they 
behave.  (I've been doing motor control and motor drives as my day job 
for almost 20 years.)

If you can run the motors in series, you will get pretty good results. 
Putting the motors in series ensures that they both have the same 
current, and thus approximately the same torque.  Having them on the 
same shaft ensures that they spin at the same speed, and thus have 
approximately the same voltage.  As a result, both current/torque and 
voltage/speed will be well matched between the motors - each will be 
supplying approximately 50% of the load.

The only downside of the series arrangement is that for any particular 
speed you will need twice as much voltage from the drive.  If you want 
to run the motors near the top of their speed range, you will run out of 
voltage.  (You could use two 90V motors in series on a 180V drive, or 
something similar.)

Hooking the motors in parallel is a riskier proposition.  Speed and 
voltage are directly related in a DC motor, by the motor constant Kv. 
(Usually measured in volts per RPM or similar.)  The common shaft will 
force both motors to turn at exactly the same speed.  The parallel 
wiring will force them to have exactly the same voltage.  If the motors 
don't have exactly the same Kv, something has to give.  For a minor Kv 
mismatch, the result will be mismatched currents, with one motor running 
hotter.  If the Kv mismatch is more severe, you might actually have one 
motor supplying negative torque, increasing the load on the other one 
instead of helping it.

Regards,

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] Mesa 7i43 PWM Output mode

2008-03-20 Thread list
Thanks for the info. Just wanted to make sure PWM (or PDM) up/down was
possible with Mesa boards. For the money, I knew the 7i43 was a good
deal with 8 encoders/8 PWM outputs plus additional unused FPGA space
compared with Pluto's 4/4. Sebastian and Peter, thanks for Mesa hal
drivers.

Know I've got to figure out how deal with 50 pin IDC connectors, nice
for clean Mesa board to board connections, but what a pain for homebuilt
parts scrounging. I've got a butt load of old SCSI cables, cards and
misc junk, so hopefully that will help with building stuff. I can't see
spending $70+ for 50 pin screw connectors.

Sam
I'm planning to build something similar to your h-bridge at
http://www.cnczone.com/forums/showthread.php?t=25929. BTW, the Milwaukee
Matic in your shop is a monster, nice!

Keil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gene
Heskett
Sent: Thursday, March 20, 2008 8:13 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode

On Thursday 20 March 2008, sam sokolik wrote:
Yes - this was strictly for the mesa card (I have both the pluto and
mesa
card).  Both pwmgen and the pluto have the option for up/down pwm.

sam

And thats what I get for not going back and re-reading the earlier parts
of 
the thread, sorry Sam.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
kira Ada, the only language written to milspec.
Mikster shudder


-
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] Mesa 7i43 PWM Output mode

2008-03-20 Thread Dave Engvall

On Mar 20, 2008, at 1:16 PM, list wrote:

 Thanks for the info. Just wanted to make sure PWM (or PDM) up/down was
 possible with Mesa boards. For the money, I knew the 7i43 was a good
 deal with 8 encoders/8 PWM outputs plus additional unused FPGA space
 compared with Pluto's 4/4. Sebastian and Peter, thanks for Mesa hal
 drivers.

 Know I've got to figure out how deal with 50 pin IDC connectors, nice
 for clean Mesa board to board connections, but what a pain for  
 homebuilt
 parts scrounging. I've got a butt load of old SCSI cables, cards and
 misc junk, so hopefully that will help with building stuff. I can't  
 see
 spending $70+ for 50 pin screw connectors.

http://www.daqstuff.com/50_pin_daq.htm

half that price ... and worth it to  avoid all the trouble of making  
a couple of custom boards.

Now if you can make your own boards then this might not look so  
attractive unless you have other
things to do with your time. ;-)

HTH

Dave


 Sam
 I'm planning to build something similar to your h-bridge at
 http://www.cnczone.com/forums/showthread.php?t=25929. BTW, the  
 Milwaukee
 Matic in your shop is a monster, nice!

 Keil

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Gene
 Heskett
 Sent: Thursday, March 20, 2008 8:13 AM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Mesa 7i43 PWM Output mode

 On Thursday 20 March 2008, sam sokolik wrote:
 Yes - this was strictly for the mesa card (I have both the pluto and
 mesa
 card).  Both pwmgen and the pluto have the option for up/down pwm.

 sam

 And thats what I get for not going back and re-reading the earlier  
 parts
 of
 the thread, sorry Sam.

 -- 
 Cheers, Gene
 There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order.
 -Ed Howdershelt (Author)
 kira Ada, the only language written to milspec.
 Mikster shudder

 -- 
 --
 -
 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


-
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] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gary Fixler

  The ini file should be IPS, whereas EMC's sliders show IPM. That's why I
  was getting in the 1300s in EMC for my DEFAULT_VELOCITY = 22. That
  doesn't explain why it's 1312 in EMC (22 * 60 = 1320), but at least it's
  close, and I can set more realistic values now. Awesome.

 This granularity is probably from the fixed number of pixels in the slider
 widget.


Interesting! I've done quite a bit of UI stuff in scripting environments for
work, and play, and they usually allow explicitly setting a value. Once you
touch the slider, you mess it up, of course, and trap yourself in the
discrete steps of the slider, but often the slider will include an editable
int field for being more explicit than the slider itself. It probably
doesn't matter, however. I'm never going to notice the difference between a
few IPM.

http://linuxcnc.org/docs/html/config_ini_config.html
 The ini file is supposed to be described completely here^^, however
 sometimes people forget to write documentation. Did I just hear you
 volunteering? :)


Oh no! What have I done!? :) Yeah, I'll help out where I can, when, and as I
can.

just tested this and it works:
 export AXIS_OPEN_FILE=/home/fenn/sandbox/cxf_splash.py
 emc


I'll give it a shot, but meanwhile, I can open Python scripts in EMC?

 I'm considering giving back eventually (when I know enough) by writing
  up very simple explanations for simple folk like me, who feel a bit
  overwhelmed in the beginning.

 When you're ready: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps


Cool, thanks!


 I agree. The configuration file should allow you to specify in furlongs
 per fortnight if you so desire, but the .ini file format makes this
 impossible, or at least not worth the extra complexity.


Ha! You've put things in perspective for me. I'll get over myself, and just
remember from now on that it's IPS in the .ini file.


 I'm not sure how you managed to acquire a sherline CNC for $600 as the
 base price is $2450 (which seems high to me). I would expect the factory
 setup to not hiss, catch fire, electrocute you, etc. You should call them
 and find out what the problem might be.


Oh no, the cnc-ready mill was indeed a few thousand. It didn't come with a
control box, though, and their offering was $600:

http://www.sherline.com/8760pg.htm

 How do people normally add things like contact stops, and probes? Are
 these
  part of better driver systems? I've also wondered if there was anything
 that
  could be done in-line. For example, the Sherline box would plug into
 another
  box, which would then plug into the serial port. That box could insert
 codes
  into the stream for the missing features above. This is probably an
 insane
  notion, and might quickly overflow any buffers it encounters along the
 way
  with too much data.

 This doesn't work, because rs-232 is not fast enough, and has
 unpredictable latencies, and needs special drivers for the device on the
 end of the cable. There are similar problems with most other networking
 technologies. This doesn't mean it's impossible, but it starts to diverge
 quickly from what EMC is really all about, a PC based machine control.
 (edit: i probably misunderstood you here. sherline uses a parport
 connector and simple logic signals, no codes or buffers or data)


You know, it's been so long since I've been behind the machine, I totally
forgot it's parallel. I've been working with microcontrollers, too, and am
using serial with them, and got my wires crossed. Now it comes back to me. I
had to special order a part for my Shuttle XPC to give me back the missing
parallel port.

There are several interface cards you can add to the PCI bus, although for
 most people the parallel port connection they drive the steppers with has
 enough spare I/O for some switches and spindle control. You could tap into
 the parport line before it goes to the sherline driver card/box.

 interface cards:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware


Thanks for the link. Now that I'm reminded it's a parport interface, I'm a
bit excited. I suppose it all just comes down to telling the system (via
HAL) which pins should be connected to what. The shrouds of mystery are
being peeled away, slowly. Also, thanks for the link.

Some fancy motion control systems can cost up to 10 times (or more) what
 you paid for the whole system, and are overkill for this application.
 However, you can probably improve what you have if you learn a little bit.
 Maybe another sherline user can chime in here?


True, I can't spend loads of money, as this isn't a financial investment.
It's all for fun. Also, I have at least a dozen other hobbies, the current
most expensive involving building up my woodshop out in the garage. I think
I stand a pretty good chance of proving to the world that money can indeed
buy great happiness, if I only I could find someone with deep pockets
willing to take me up on this wager.

run-from-line has been around for a long time, but 

Re: [Emc-users] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gary Fixler

 I think Ben is being overly critical here.  Xylotex drives do produce a
 hissing sound from the motor.  It is a result of the type of PWM used by
 those drives, and it is normal and totally harmless.  It does NOT
 indicate any kind of problem that you need to worry about.


Thanks, John. I suspected as much. They did that the first day I hooked them
up, and I've made my own beginner-level stepper drives for hobby projects
with things like BASIC Stamps, and PIC microcontrollers, and they've made
hissing, and squealing noises, too, albeit more quietly, with less power to
their coils. I have some EL wire drivers, too, which are basically voltage
multipliers, and they squeal like they're about to explode!

-Gary
-
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] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gary Fixler

 It's also just occurred to me that I could leave the PC, and driver box
 on,
 and just unplug the motors until I'm ready to go again. I'm not sure how
 bad
 that would be for the system. My thoughts turned toward things like
 back-EMF.

 And that will u$ually break the mirror and let the $moke out of the
 driver$.
 The motors must be connected with dependable, solid, no intermittents
 allowed
 cabling as long as the drivers are powered up.


Alright, that's two people spreading caution. Thanks for the warnings! Point
taken - I definitely don't want to burn out a $600 box.


 I have left it running, turned out the lights and gone to bed, not coming
 back
 till noonish the next day on a couple of projects and have gotten away
 with
 it.


I've done it once so far, with a really complicated (for me, as a newb)
setup that I didn't want to have to redo. In the morning, however, I
couldn't take it anymore, and shut it all down before heading off to work. I
was right, too - it was nearly impossible to get it back to the right
location later. I had essentially nothing off of which to key.


 The box is a long cube, long enough to
 hold a 4 axis board, 3.5 square, with a 12 volt ex psu fan in each end,
 one
 blowing in, the other out, and they are running on about 18 volts.  Not
 all
 of those fans will take that sort of abuse, but its been my experience
 here
 that if it lasts an hour, it will last for years, one of them is probably
 10
 years old now!  They are noisy at that speed though. And zero chance of my
 drivers overheating which is the real criteria. :)


Wow, I didn't realize they were so rugged. I'll definitely keep them in mind
now, for all manner of projects.

Are you thinking emc uses a serial port?  Not normally since there is little
 that is real-time about serial. Most use a parport interface.


I was indeed thinking that, having forgotten (blocked out?) all of the
annoyance of tracking down the parport 'upgrade' for my Shuttle XPC, and
waiting for it to arrive. I used to turn my nose up at parports, as they
were so large, and 'old-fashioned,' but having multiple, simultaneous I/O
lines, and dead-simple communications I admit has enough appeal to draw me
back in. I've wired up cables, and even ran a custom serial port to my
electronics bench from my PC across the room, so I could program
microcontrollers in places without constantly bringing the setup back over
to the PC, so I'm thinking I should just rig up an inline box that provides
me with headers for all these helpful extras I'm missing. Even though it's
completely unnecessary fluff for me, I'd love to see the spindle stop itself
when it's done making the part for once. I'd have to break into the mill's
power box for that, but that's easy enough (he said, confidently).

emc does have the inputs.  If your box doesn't have them available due to a
 lack of breakouts, thats fixable. All 17 usable pins on a parport are
 either
 used by xylotex, or are present as passive terminals on the edge of the
 xylotex board, take 'em wherever.  I'm running 4 axis's  the spindle ATM,
 and still have about 5 pins I could use for other things leftover, but I
 don't have home/limit switches setup yet either.


I've been convinced for probably a year now (while busy with other things,
and procrastinating on getting my machine bench set up finally) that I had
no easy option for getting more inputs to emc, so this is exciting news,
indeed. I'm pretty eager to figure out a homing solution, too, though it's
much lower priority than ATM about 20 other projects. There's never nearly
enough time in a day, or a weekend.

Thanks, Gene!
-Gary
-
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] How to set certain AXIS settings to defaults?

2008-03-20 Thread Gene Heskett
On Thursday 20 March 2008, Gary Fixler wrote:
 It's also just occurred to me that I could leave the PC, and driver box

 on,

 and just unplug the motors until I'm ready to go again. I'm not sure how

 bad

 that would be for the system. My thoughts turned toward things like
 back-EMF.
[...]

 And that will u$ually break the mirror and let the $moke out of the
 driver$.
 The motors must be connected with dependable, solid, no intermittents
 allowed
 cabling as long as the drivers are powered up.

Alright, that's two people spreading caution. Thanks for the warnings! Point
taken - I definitely don't want to burn out a $600 box.

 I have left it running, turned out the lights and gone to bed, not coming
 back
 till noonish the next day on a couple of projects and have gotten away
 with
 it.

I've done it once so far, with a really complicated (for me, as a newb)
setup that I didn't want to have to redo. In the morning, however, I
couldn't take it anymore, and shut it all down before heading off to work. I
was right, too - it was nearly impossible to get it back to the right
location later. I had essentially nothing off of which to key.

One of the reasons I often drill a useless hole someplace at the start of the 
project, and write my code with that as the 0,0,0 point.  That makes getting 
back to within a couple thou a bit easier.

 The box is a long cube, long enough to
 hold a 4 axis board, 3.5 square, with a 12 volt ex psu fan in each end,
 one
 blowing in, the other out, and they are running on about 18 volts.  Not
 all
 of those fans will take that sort of abuse, but its been my experience
 here
 that if it lasts an hour, it will last for years, one of them is probably
 10
 years old now!  They are noisy at that speed though. And zero chance of my
 drivers overheating which is the real criteria. :)

Wow, I didn't realize they were so rugged. I'll definitely keep them in mind
now, for all manner of projects.

Definitley test the ones you are going to use,  if its not up to that sort of 
music, there's always that 45 gallon roughneck cannister just outside the 
door to store it in till the truck comes by.  I'd run these on a bit less, 
but that is what happened to be available.

Are you thinking emc uses a serial port?  Not normally since there is little
that is real-time about serial. Most use a parport interface.

I was indeed thinking that, having forgotten (blocked out?) all of the
annoyance of tracking down the parport 'upgrade' for my Shuttle XPC, and
waiting for it to arrive. I used to turn my nose up at parports, as they
were so large, and 'old-fashioned,' but having multiple, simultaneous I/O
lines, and dead-simple communications I admit has enough appeal to draw me
back in. I've wired up cables, and even ran a custom serial port to my
electronics bench from my PC across the room, so I could program
microcontrollers in places without constantly bringing the setup back over
to the PC, so I'm thinking I should just rig up an inline box that provides
me with headers for all these helpful extras I'm missing. Even though it's
completely unnecessary fluff for me, I'd love to see the spindle stop itself
when it's done making the part for once. I'd have to break into the mill's
power box for that, but that's easy enough (he said, confidently).

emc does have the inputs.  If your box doesn't have them available due to a

 lack of breakouts, thats fixable. All 17 usable pins on a parport are
 either
 used by xylotex, or are present as passive terminals on the edge of the
 xylotex board, take 'em wherever.  I'm running 4 axis's  the spindle ATM,
 and still have about 5 pins I could use for other things leftover, but I
 don't have home/limit switches setup yet either.

I've been convinced for probably a year now (while busy with other things,
and procrastinating on getting my machine bench set up finally) that I had
no easy option for getting more inputs to emc, so this is exciting news,
indeed. I'm pretty eager to figure out a homing solution, too, though it's
much lower priority than ATM about 20 other projects.

Watch your store bought cabling for the parport, make sure the cable you use 
actually has all 25 wires in it.

There's never nearly 
enough time in a day, or a weekend.

Chuckle, heck, I'd be happy to have enough time to get what I want to do done 
before I fall over.  I suspect my plans will outlast me, diabetis beginning 
to slow me down, darnit.  I hate unfinished business. :)

Thanks, Gene!
-Gary



-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment.
-- Gotama Buddha

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.

[Emc-users] newb question: multiple cnc program over multiple *.ngc files

2008-03-20 Thread rtwas
Hello,

In the Language Overview section of the manual:

http://www.linuxcnc.org/docs/2.2/html/gcode_main.html#cha:Language-Overview

I'm seeing this line:

A single program may be in a single file, or a program may be spread 
across several files..

However the only way I can see to make use of g-code over multiple files 
is by using m100-m199
(user defined commands):

http://www.linuxcnc.org/docs/2.2/html/gcode_main.html#sec:M100-to-M199:


Is this the only way to spread g-code over multiple files (and use them)?


Thanks.

Robert W.

-
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