Re: [Emc-users] Parport stepper setup
Thanks everybody for your replies, they have given me the direction that I needed. I think it may take a couple of days or weeks for me to research all the options and progress to the next step. Cheers Colin _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Colin Sent: Monday, 8 January 2007 9:49 PM To: emc-users@lists.sourceforge.net Subject: [Emc-users] Parport stepper setup Hello, I have been investigating using EMC2 and some stepper motors to a small milling machine. I have a cloudy area of understanding around driving the stepper motors. As usual I am trying to do it on the cheap :-) and hence would like to develop my own stepper driver. I am hoping someone can provide some direction so that I don't fall off any cliffs. So far I believe there is two ways to generate an amplified stepper signal (half, full etc). Method 1 Using the parport config to send a step signal and a direction signal for each axis. Run these signals into a stepper driver chip which is configured for the stepper phase that I require. This method should leave a few extra pins on my parallel port to play with later. Method 2 Use the functionality of the stepgen module to perform the required stepper phase for each axis. Amplify each signal into the motor. This method will use up more parallel port pins depending on the amount of coils in the stepper that I purchase, I may even need another port if 5 phases is required. Are both methods possible? Which method is the most common or gives the best result? I also intend to opto isolate the signals coming from the parallel port to protect my motherboard, is there any unforeseen problems doing this? Cole - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] 5I20 card type 2!
Hello Mesa electronics preparing to introduce new card 5I20 type 2 sometimes with in next 6-8 weeks. Question, will 5i20 and 5i20 type2 be interchangeable? 5i20 type 2 card will have 4 connectors 50 pins each. Mesa electronics also want to manufacture Ethernet type communication between computer and servo drive. Another question, is EMC2 prepared for that type innovation? I am interesting in EMC workshop 2007, when in schedule to happen. Thanks AramK <>- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
Anders, Thanks, that's good info. After looking at the HAL_Documentation again... The answer to my question on adding a second port jumped out at me. I don't know how I missed it many times before. It looks like I want to do this: (add this to my standard_pinout.hal file) loadrt hal_parport cfg="myport#_0 myport#_1 in" My first port will be defaulted to an output type because I did not specify in. My second port will be an in type because I used in after the port number. Does this look right? Can I start using this port after I have done this? Thanks, Mike On Mon, 2007-01-08 at 23:30 +0200, Anders Wallin wrote: > I'm sure someone else will answer your parport question, I think you > need to load two parport drivers, and tell them which parport to connect > to. you will get HAL pins parport.0.xxx and parport.1.xxx > > > I am assuming the best way to integrate the pendant functions will be > > through HALUI. > > you might be interested in my notes from a while back: > http://www.anderswallin.net/2006/11/jogging-emc2/ > > the connections to halui and emc would be similar for a parport based > jogwheel/pendant, but the hardware pins would of course be named > differently. > > > AW > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] 5I20 card type 2!
How are they planning to implement the Ethernet communication? Ethernet is great for things like file transfers between computers-the task it was designed for-but has a some overhead required for reliable real time operations. They might want to consider using ACN-Architecture for Control Networks. The packet structure already includes everything they would need for reliable communication. Here is a link to the ANSI webstore for a description: http://webstore.ansi.org/ansidocstore/product.asp?sku=ANSI+E1%2E17%3A2006 I'm a part of the Working Group that supervised the development of ACN. It was created to address issues just like the ones a servo drive will encounter-timing, reliable communication, variable properties, etc. Javid Butler - Original Message - From: "Kasparov, Aram" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Tuesday, January 09, 2007 5:30 AM Subject: [Emc-users] 5I20 card type 2! Hello Mesa electronics preparing to introduce new card 5I20 type 2 sometimes with in next 6-8 weeks. Question, will 5i20 and 5i20 type2 be interchangeable? 5i20 type 2 card will have 4 connectors 50 pins each. Mesa electronics also want to manufacture Ethernet type communication between computer and servo drive. Another question, is EMC2 prepared for that type innovation? I am interesting in EMC workshop 2007, when in schedule to happen. Thanks AramK > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
Mike Cinquino wrote: >Anders, > >Thanks, that's good info. > >After looking at the HAL_Documentation again... The answer to my >question on adding a second port jumped out at me. I don't know how I >missed it many times before. > >It looks like I want to do this: (add this to my standard_pinout.hal >file) > >loadrt hal_parport cfg="myport#_0 myport#_1 in" > > I'm glad you found it, that should work. You may want to use underscores instead of spaces though. Apparently insmod on some systems cuts off string parameters at the first space. The modified line looks like this: loadrt hal_parport cfg="port0addr_port1addr_in" >My first port will be defaulted to an output type because I did not >specify in. My second port will be an in type because I used in after >the port number. Does this look right? > > It's safer in general to specify things instead of using defaults - that way it keep working even if the default changes: loadrt hal_parport cfg="port0addr_out_port1addr_in" >Can I start using this port after I have done this? > > Yes. It will be parport.1.xxx, as you originally thought. - Steve >Thanks, >Mike > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
Hi Mike Looks like you got it. The test here changes parport.1 to all in except pins 1, 14,16,17. If you are using this configuration inside emc you can see and manipulate the pins using halshow. Rayh On Tue, 2007-01-09 at 09:10 -0500, Mike Cinquino wrote: > Anders, > > Thanks, that's good info. > > After looking at the HAL_Documentation again... The answer to my > question on adding a second port jumped out at me. I don't know how I > missed it many times before. > > It looks like I want to do this: (add this to my standard_pinout.hal > file) > > loadrt hal_parport cfg="myport#_0 myport#_1 in" > > My first port will be defaulted to an output type because I did not > specify in. My second port will be an in type because I used in after > the port number. Does this look right? > > Can I start using this port after I have done this? > > Thanks, > Mike > > > > On Mon, 2007-01-08 at 23:30 +0200, Anders Wallin wrote: > > I'm sure someone else will answer your parport question, I think you > > need to load two parport drivers, and tell them which parport to connect > > to. you will get HAL pins parport.0.xxx and parport.1.xxx > > > > > I am assuming the best way to integrate the pendant functions will be > > > through HALUI. > > > > you might be interested in my notes from a while back: > > http://www.anderswallin.net/2006/11/jogging-emc2/ > > > > the connections to halui and emc would be similar for a parport based > > jogwheel/pendant, but the hardware pins would of course be named > > differently. > > > > > > AW > > > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] 5I20 card type 2!
On Tue, 9 Jan 2007, Javid Butler wrote: > Date: Tue, 9 Jan 2007 12:22:58 -0600 > From: Javid Butler <[EMAIL PROTECTED]> > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] 5I20 card type 2! > > How are they planning to implement the Ethernet communication? Ethernet is > great for things like file transfers between computers-the task it was > designed for-but has a some overhead required for reliable real time > operations. We are planning to use PowerLink (with 100bt and POE), But I will definately take a look at ACN. Using PVT (Position,Velocity,Time) packets mean a missing packet now and again is fairly benign, as the interpolater will just, well, interpolate. PowerLink is good for several KHz or so with reasonable number of Axis/I0, and good PVT requires only a KHz or so. PowerLink does require a separate Ethernet for the realtime segment, but has provisions for tunneling TCPIP by dribbling it in free time slots. Peter Wallace - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
Thanks Steven On Tue, 2007-01-09 at 13:25 -0500, Stephen Wille Padnos wrote: > loadrt hal_parport cfg="port0addr_port1addr_in" > loadrt hal_parport cfg="port0addr_out_port1addr_in" No difference between these. The space works okay here. This is with HEAD, a mobo parport at 0x378, and a PCI parport at 0xc000. Good to know that spaces are not always acceptable. I'll salt that away for when I get a system that fails for some strange reason. Rayh - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
Steve, Thanks My next step is to create a .hal file (I believe) that makes the connections to hal and halui. I have a couple questions about this. Looking at Anders work, it looks like he has a single file w/ both regular hal and halui connections, that get called from the .ini file using Halfile = XXX.hal. I would like to do the same. I have a decision to make on what features I want to include on my pendant because I only have 13 inputs to work w/. Well I actually have one more unused port that I could use to give me 26 inputs. I will have to come up w/ a clean way of breaking out to 2 individual parallel ports from one pendant to do this. Anyway, I think I have a handle on the normal bit type i/o. For jogging an axis I think I see a couple ways to do it: With out a jog wheel: I could have buttons that would jog in the plus or minus direction. I would have a multi-position switch to select X,Y,Z,A axis. I see in halui that i could use halui.jog. aka axis.minus and halui.jog. aka axis.plus . Because I am limited on inputs I don't want to dedicate a input for each axis + and each axis -. I would like to have a way to use the already selected axis/channel (0-3). It looks like match8 might do this but I am not completely following how it works in Anders .hal file. Also how does halui.jog..plus and minus work. Does it jog continuous when halui.jog..plus is true? I am used to if then else type programming. It looks like some of the available blocks can be used to reproduce this type of structure? Thanks, Mike On Tue, 2007-01-09 at 13:25 -0500, Stephen Wille Padnos wrote: > Mike Cinquino wrote: > > >Anders, > > > >Thanks, that's good info. > > > >After looking at the HAL_Documentation again... The answer to my > >question on adding a second port jumped out at me. I don't know how I > >missed it many times before. > > > >It looks like I want to do this: (add this to my standard_pinout.hal > >file) > > > >loadrt hal_parport cfg="myport#_0 myport#_1 in" > > > > > I'm glad you found it, that should work. You may want to use > underscores instead of spaces though. Apparently insmod on some systems > cuts off string parameters at the first space. The modified line looks > like this: > loadrt hal_parport cfg="port0addr_port1addr_in" > > >My first port will be defaulted to an output type because I did not > >specify in. My second port will be an in type because I used in after > >the port number. Does this look right? > > > > > It's safer in general to specify things instead of using defaults - that > way it keep working even if the default changes: > loadrt hal_parport cfg="port0addr_out_port1addr_in" > > >Can I start using this port after I have done this? > > > > > Yes. It will be parport.1.xxx, as you originally thought. > > - Steve > > >Thanks, > >Mike > > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Cabin Fever
Roland tells me that he plans a seminar on Saturday and a round table discussion on Sunday this year. The show managers assured him there would be space and electricity for all who want to bring something to show during the show. Show details at http://www.cabinfeverexpo.com/ Ray - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] adding 2nd parallel port
On Tue, Jan 09, 2007 at 03:59:39PM -0500, Mike Cinquino wrote: > > With out a jog wheel: I could have buttons that would jog in the plus or > minus direction. I would have a multi-position switch to select X,Y,Z,A > axis. I see in halui that i could use halui.jog. aka axis.minus > and halui.jog. aka axis.plus . Because I am limited on inputs I > don't want to dedicate a input for each axis + and each axis -. I would > like to have a way to use the already selected axis/channel (0-3). It > looks like match8 might do this but I am not completely following how it > works in Anders .hal file. I didn't try it, but it looks like you can select a joint with halui.joint.selected and then jog it with halui.jog.selected.plus and minus. The speed is set with halui.jog-speed. If I was making a pendant I'd sure want a jogwheel instead of plus/minus buttons. It takes the same number of inputs and works much (much!) better. I have a real jogwheel but one of these days I'm going to try one of the little toy knob encoders from mouser etc - they're meant to be volume controls or something, but they might still be more useful for jogging than two buttons. Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Cabin Fever
Does that include 100V, 110V, 230V, 380V and 400V power networks of 50Hz, 60Hz, 1- and 3-phase ? ;-) Will there be any webcast from this? oh, or maybe webcasts? On 1/10/07, Ray Henry <[EMAIL PROTECTED]> wrote: > > Roland tells me that he plans a seminar on Saturday and a round table > discussion on Sunday this year. The show managers assured him there > would be space and electricity for all who want to bring something to > show during the show. > > Show details at http://www.cabinfeverexpo.com/ > > Ray > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Cabin Fever
Oh sorry, that would be only - or mostly - model exposition then. Hmm, toys of bigger boys :-) On 1/10/07, Ray Henry <[EMAIL PROTECTED]> wrote: > > Roland tells me that he plans a seminar on Saturday and a round table > discussion on Sunday this year. The show managers assured him there > would be space and electricity for all who want to bring something to > show during the show. > > Show details at http://www.cabinfeverexpo.com/ > > Ray > > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users