On Wednesday 25 March 2020 12:10:22 Curtis Dutton wrote: > My current project is connecting a pktuart -> 6i25 -> 7i84 ->yaskwa > rs-485 encoder. > > I was able to compile custom hostmot2 firmware with 4 pktuart and 4 > sserial components. > > I have a provisional hal component that is able to send data through 2 > pktuart modules that wired together via the 7i84 and send bits back > and forth at 2 Mbps which is the frequency that yaskawa encoders > function at. > > The encoders use a 2 wire bi-directional rs-485 protocol so I > purchased some mesa 485x1 Rs-485/RS-422 adaptors. > > I can't seem to get them to work. > > My testing plan is to get pktuart 0 to communicate with pktuart 1 with > 2 of the RS-485 adapters in between them. This will give me confidence > that everything is working properly and can then move on to > communicating with the yaskawa encoders. > > I'm not sure exactly how to wire the adapters and I haven't gotten > lucky yet with my attempts. > Those may be bidirectional adapters. I got some of them from an ebay vendor for about $2 each to put between the diff outputs of my spindle motor encoder, another ebay $20 purchase, and found I had to bias them out of doing both directions at which point they turned into perfect diff to ttl signalers which could be fed directly into a 5i25's encoder inputs as rail to rail ttl signals.
I wrote some notes at the time as to how I did it and will attempt to find them next time I'm out there but am under the weather with a kidney infection ATM. > Does anyone have a diagram or information on how to use these > adaptors? > > Do I even have the correct approach here? > > > Thanks, > Curtis > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
