On Tue, 29 May 2007, RogerN wrote: > Date: Tue, 29 May 2007 09:34:21 -0500 > From: RogerN <[EMAIL PROTECTED]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Subject: Re: [Emc-users] Help with Mesa & encoders > > Would it work to plug my 7i33 board into one of the other 2 simple I/O > connectors on the 5i20 board? I'm not sure of the configuration used on > the 5i20, it's the one that loads with the MESA configuration of EMC2. > The only edits I've done so far is for AXIS Lathe display and encoder > resolutions to show encoder counts (a 1024 line encoder will display > .4096" in one rev.). I think the 2nd 5i20 port can be used for either > I/O or up to 4 more encoders. Any special configuration needed to use > the 2nd port for I/O? Or should I just use the 3rd port to see my > encoder lines as inputs to display on HalScope? > Thanks! > > Roger Neal > [EMAIL PROTECTED]
No, because the driver sets up the I/O ports as 16 inputs and 8 outputs, this does not match the signal directions of the 7I33 so there would be conflicts (outputs connected to outputs). THe HOSTMOT configurations I/O has the ability to have port direction set to "IN" or 'OUT' on a per bit basis but AFAIK, the driver hardwires the I/O to the 16 IN followd by 8 OUT format. > > > ----- Original Message ----- > From: "Peter C. Wallace" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" > <[email protected]> > Sent: Monday, May 28, 2007 8:37 PM > Subject: Re: [Emc-users] Help with Mesa & encoders > > > (SNIP) > >> In the HostMot4 configuration (Which is what I assume you are using), >> there is one 50 pin connector (24 I/O bits) dedicated to servo control >> (4 sets of PWM,DIR,ENA,A,B,IDX) >> >> The other 2 connectors are simple I/O >> >> If your lathe connectors are connected to the motion control >> connector, you >> cannot read the A,B,IDX signals from the I/O ports, however the >> A,B,IDX >> signals are readable from the Counter Control Register (Bits 0,1,2 = >> A,B,IDX) >> but I dont think the CCR is readable via the driver >> >> >> >> Peter Wallace >> Mesa Electronics > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Emc-users mailing list > [email protected] > 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
