On Sun, 18 Mar 2012, Viesturs L?cis wrote: > Date: Sun, 18 Mar 2012 07:21:38 -0400 > From: "[UTF-8] Viesturs L?cis" <viesturs.la...@gmail.com> > 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] Smart-serial and 7i43 > > 2012/3/17 Peter C. Wallace <p...@mesanet.com>: >> Heres tha latest I have(any SSERIAL with 5 registers has to be at least 6 >> months old) > > So I got LinuxCNC to start up without errors. I have connected 8i20 > drive to 7i43 card. > > 1) But I do not see it in "Show HAL config" (I expect it to appear > there, if sserial module finds it): > http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#8i20 > > Based on that I understand that communication between sserial and 8i20 > is not happening. > > I should mention that between 8i20 and 7i43 is my diy ttl <--> rs422 > converter (I am aware of existence of 7i44 card, but since I only want > to test, how 8i20 would perform with my servo motors, I thought that > building such a convertor would be cheaper). That converter is based > on SN75179 chip (very first scheme here): > http://www.datasheetarchive.com/dl/Datasheets-37/DSA-720721.pdf > > Based on firmware's PIN file, there are following sserial pins on P3 > connector: > 21 34 IOPort SSerial 0 RXData1 (In) > > 23 35 IOPort SSerial 0 RXData2 (In) > > 25 36 IOPort SSerial 0 TXData1 (Out) > > 27 37 IOPort SSerial 0 TXEn1 (Out) > > 29 38 IOPort SSerial 0 TXData2 (Out) > > 31 39 IOPort SSerial 0 TXEn2 (Out) > > > I have connected RXData1 and TXData1 to my converter, all the > remaining pins are not connected anywhere. > > Is this correct? > How can I test the communication between 7i43 and 8i29 cards, to see, > if that convertor is actually working? > > On 8i20 card 4 LEDs are shining: > Pwr > Lv status > Iso pwr > Fault > > 2) Even more, in INI file I have: > [HOSTMOT2] > DRIVER=hm2_7i43 > BOARD=7i43 > CONFIG="firmware=hm2/7i43-4/BOSSVSS.BIT num_encoders=6 sserial_port_0=00" > > But in "Show HAL config" I see not only 6 encoders, but also 2 pwmgens > and 5 stepgens. > > Can anyone suggest me, where did they come from? > > Is there a chance for any 8i20 user (preferrably together with 7i43) > to share some insights, how to set it up? I would really appreciate > related parts of config files. > > Viesturs
Heres a hal file that runs a 4 pole 1000 line motor: freeby.mesanet.com/hm2-servogreen.hal > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > 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 email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users