By the way, I'm feeding the field power of the 7i70 with the same power supply that's running the PC. Could that be the problem? I did this because it was the quickest way to test the boards.
El sáb., 7 mar. 2020 a las 23:26, Leonardo Marsaglia (<ldmarsag...@gmail.com>) escribió: > For now I'm using it via halcmd. > > I had really high jitter when I run latency test with Debian Stretch. So I > installed Wheezy with LinuxCNC 2.7.14 > > I'm running latency test right now with several instances of glxgears > running and I get a max jitter of 70000 ns on servo thread and 79000 on > base thread. But I've only been running it for 10 minutes or so. I plan to > leave like that a couple of hours to see if there's something strange. > > The funny thing is, sometimes the board starts working ok and the problem > starts when I stop the thread and try to start it again. > > El sáb., 7 mar. 2020 a las 22:00, Peter C. Wallace (<p...@mesanet.com>) > escribió: > >> On Sat, 7 Mar 2020, Leonardo Marsaglia wrote: >> >> > Date: Sat, 7 Mar 2020 21:53:45 -0300 >> > From: Leonardo Marsaglia <ldmarsag...@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] 6i24 + 7i44 configuration >> > >> > I tried again after a failed attempt in which the watchdog pin turned to >> >TRUE. I manually set the pin to FALSE and unloaded all the components and >> >restarted HAL. Now the board is working fine but I don't know what can >> >cause that erratic behavior. >> >> >> Thsi is usually a symptom of a real time issue on the host >> >> El sяяb., 7 mar. 2020 a las 21:45, Leonardo Marsaglia (< >> ldmarsag...@gmail.com>) >> escribiяя: >> >> > Thank you very much Peter! >> > >> > I succeeded making the 7i70 work, I could read inputs and it worked ok. >> > But, when I unloaded the configuration I couldn't make it work since. >> > >> > I rebooted the PC several times but it's now working anymore. The >> hm2_pci >> > driver is detecting the 7i70 because I can see the pins in HAL, but >> when I >> > start the thread to test communication, the GREEN LED flashes quickly >> for a >> > couple of seconds and then the RED LED turns on. The first time the >> board >> > worked the green led flashed at 1 hz like the manual says. >> > >> > I've checked the voltages and they seem ok. I'm feeding the 7i70 with 12 >> > volts and since I'm testing I'm connecting FIELD POWER to VIN. >> > >> > Do you know what can cause this? >> > >> > >> > >> > El sяяb., 7 mar. 2020 a las 14:00, Peter C. Wallace (<p...@mesanet.com>) >> > escribiяя: >> > >> >> On Sat, 7 Mar 2020, Leonardo Marsaglia wrote: >> >> >> >> > Date: Sat, 7 Mar 2020 13:23:45 -0300 >> >> > From: Leonardo Marsaglia <ldmarsag...@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] 6i24 + 7i44 configuration >> >> > >> >> >>> What model 6I24 do you have? >> >> > >> >> >> >> 6i24-25 >> >> >> >> http://freeby.mesanet.com/5i24_25r.zip >> >> >> >> El sяяяяb., 7 mar. 2020 a las 13:20, Peter C. Wallace (< >> p...@mesanet.com>) >> >> escribiяяяя: >> >> >> >> > On Sat, 7 Mar 2020, Leonardo Marsaglia wrote: >> >> > >> >> > > Date: Sat, 7 Mar 2020 13:02:11 -0300 >> >> > > From: Leonardo Marsaglia <ldmarsag...@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] 6i24 + 7i44 configuration >> >> > > >> >> > > Hello Peter, >> >> > > >> >> > > Thanks for the answer as always. I'll try to change P4 to P1 >> because >> >> in >> >> > the >> >> > > way I'm mounting the boards that's the simpler and less painful >> >> solution >> >> > to >> >> > > plug the 7i52s and 7i44. >> >> > >> >> > >> >> > What model 6I24 do you have? >> >> > >> >> > >> >> > > >> >> > > As you can see in the picture, the 7i52s is on the top plate, and >> the >> >> > 7i44 >> >> > > is placed on the bottom plate next to the motherboard. On the top >> >> plate >> >> > I'm >> >> > > mounting also the 7i70 and 7i71. So to reach the 7i52s the best for >> >> me is >> >> > > to use the P1 connector. I should have thought about this before >> >> > anyway... >> >> > > >> >> > > El sяяяяяяяяb., 7 mar. 2020 a las 12:48, Peter C. Wallace (< >> >> p...@mesanet.com>) >> >> > > escribiяяяяяяяя: >> >> > > >> >> > >> On Sat, 7 Mar 2020, Leonardo Marsaglia wrote: >> >> > >> >> >> > >>> Date: Sat, 7 Mar 2020 10:20:52 -0300 >> >> > >>> From: Leonardo Marsaglia <ldmarsag...@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] 6i24 + 7i44 configuration >> >> > >>> >> >> > >>> Hello again to all, >> >> > >> >> >> > >>> I'm reviving this discussion because I started attempting to >> >> configure >> >> > my >> >> > >>> setup to finally mount it on the machine (once it all works well >> off >> >> > >>> course). >> >> > >>> >> >> > >>> Basically I'm using the 6i24 connected to a 7i52s for step output >> >> and >> >> > to >> >> > >>> read 1 encoder. Here's where I have the first doubts, mostly >> >> because I >> >> > >>> don't do this too often. >> >> > >>> >> >> > >>> If I want to use the full 6 stepgens and 6 encoder inputs of the >> >> > bitfile >> >> > >>> Peter made for my 6i24 I see on the dmesg that the encoder and >> >> stepens >> >> > are >> >> > >>> distributed between P3 and P4 of the board. Is this ok? Because >> the >> >> > 7i52s >> >> > >>> as you know only has one 50 pin flat cable port. I'm not >> planning to >> >> > use >> >> > >>> that much encoders and steppers but this guides me to the next >> >> > question. >> >> > >> >> >> > >> Thats because you are using a SVSTSS12_12_8_7I52SX2 configuration >> >> setup >> >> > >> for >> >> > >> two 7I52S on P4 and P3 (if you just have 1 7I52S, only enable 6 >> >> stepgens >> >> > >> and 6 encoders and the P3 connector will revert to just GPIO) >> >> > >> >> >> > >> >> >> > >>> Is there an easy way to see the correspondence between the pins >> on >> >> the >> >> > >> 6i24 >> >> > >>> and the ones on the 7i52s ? Because if I use only 3 stepgens and >> 1 >> >> > encoder >> >> > >>> I can see they are all in the P4 connector and I have also some >> free >> >> > I/Os >> >> > >>> on that connector too but I don't know how to identify them on >> the >> >> > 7i52s >> >> > >>> other than start probing them one by one. >> >> > >> >> >> > >> You can look at the pinout file and the 7I52S manual but its >> simpler >> >> > than >> >> > >> that, the stepgens and encoders are simply in the 7I52S manual >> order, >> >> > that >> >> > >> is >> >> > >> encoders 0..5 match the manual exactly, and Step0 = TX0A, Dir0 >> =TX0B, >> >> > Step1 >> >> > >> =TX1A, Dir1=TX1B etc etc. >> >> > >> >> >> > >> >> >> > >> >> >> > >>> Besides that, I need to modify the PIN file since I need the >> 7i52s >> >> to >> >> > be >> >> > >>> plugged to P1 connector of the 6i24 (Notice that the 6i24 has >> three >> >> > ports >> >> > >>> labelled P1, P3, P4). I'm downloading Xilinx ISE 14.7 to try to >> >> modify >> >> > the >> >> > >>> original file that Peter made for me. >> >> > >> >> >> > >> You can do this but I'm not sure why you would care about the 6I24 >> >> > >> connector order. >> >> > >> >> >> > >>> Well, that's all for now, if you can help me a little bit I >> surely >> >> can >> >> > >> make >> >> > >>> all this work this weekend hopefully. I also need to try the 7i44 >> >> but I >> >> > >>> need to understand this first. >> >> > >>> >> >> > >>> Thanks as always for your help and patience! >> >> > >> >> >> > >> The 7I44 connects to P1, thats about it >> >> > >> >> >> > >>> >> >> > >> >> >> > >> _______________________________________________ >> >> > >> 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. >> >> > >> >> >> > >> >> >> > >> >> >> > >> _______________________________________________ >> >> > >> 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. >> >> > _______________________________________________ >> >> > Emc-users mailing list >> >> > Emc-users@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/emc-users >> >> > >> >> >> >> _______________________________________________ >> >> 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. >> >> _______________________________________________ >> >> Emc-users mailing list >> >> Emc-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> > >> >> _______________________________________________ >> 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. >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users