Alan Thanks for reply. I am using steppers, so do I add my read and writes to the servo thread or the base thread?
My .hal file still has all the original configuration lines in, which I know work... will it run once I make these changes or is there still more to do? Aaron > ----- Original Message ----- > From: "Alan Condit" <[EMAIL PROTECTED]> > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Installing a second parallel port > Date: Thu, 12 Jun 2008 21:36:54 -0700 > > > Aaron, > > Since you indicated that you are adding a second port you need both > ports in your config statement: > > loadrt hal_parport cfg="0x0378 0x9000" > > Here is how I set up my reads and writes: (not using steppers > requires adding them to the base-thread not the servo-thread). > > # next connect the parport functions to threads > # read inputs first > addf parport.0.read base-thread 1 > addf parport.1.read base-thread 2 > # hook functions to base thread (high speed thread for step generation) > addf stepgen.make-pulses base-thread > # write outputs last > addf parport.0.write base-thread -1 > addf parport.1.write base-thread -1 > # The following two lines are needed if you are running "Double step" > addf parport.0.reset base-thread > addf parport.1.reset base-thread > > Alan > > --- > > Alan Condit > 1085 Tierra Ct. > Woodburn, OR 97071 > > Email -- [EMAIL PROTECTED] > Home-Office (503) 982-0906 > > On Jun 12, 2008, at Jun 12, 2008--5:44 PM, emc-users- > [EMAIL PROTECTED] wrote: > > > Kirk > > I have added.. > > loadrt hal_parport cfg="0x9000 > > addf parport.0.read servo-thread > > addf parport.0.write servo-thread > > to my hal file (hopefully in the right places). Can I not > > configure the pins through the step config wizard? > > Aaron > >> ----- Original Message ----- > >> From: "Kirk Wallace" <[EMAIL PROTECTED]> > >> To: "Enhanced Machine Controller (EMC)" <emc- [EMAIL PROTECTED]> > >> Subject: Re: [Emc-users] Installing a second parallel port > >> Date: Thu, 12 Jun 2008 00:56:00 -0700 > >> > >> > >> On Thu, 2008-06-12 at 06:11 +0000, aaron Moore wrote: > >>> Hi > >>> You guys are going to haveto hold my hand here > >>> I run lspci -v and I get.. > >>> 0000:00:06.0 Parallel controller: Timedia Technology Co Ltd: > >>> Unknown device 7268 (rev 01) (prog-if 02 [ECP]) > >>> Subsystem: Timedia Technology Co Ltd: Unknown device 0103 > >>> Flags: stepping, medium devsel, IRQ 9 > >>> I/O ports at 9000 [size=8] > >>> I/O ports at 9400 [size=8] > >>> which is the address and where do I find the hal file to put it in > >>> > >>> Thanks > >>> Aaron > >> > >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Powered by Outblaze ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users