Apologies. It is a 7i74 not a 7i84. On Wed, Mar 25, 2020 at 1:47 PM Peter C. Wallace <p...@mesanet.com> wrote:
> On Wed, 25 Mar 2020, Curtis Dutton wrote: > > > Date: Wed, 25 Mar 2020 12:10:22 -0400 > > From: Curtis Dutton <curtd...@gmail.com> > > Reply-To: EMC developers <emc-developers@lists.sourceforge.net> > > To: EMC developers <emc-developers@lists.sourceforge.net> > > Subject: [Emc-developers] pktuart -> rs-485 > > > > My current project is connecting a pktuart -> 6i25 -> 7i84 ->yaskwa > rs-485 > > encoder. > > Did you mean 7I85? > > > > > 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. > > Are the RS-485 enables connected to PktUART TXEN pins and do they have the > correct polarity? (Active low) > > > Note that there is a fairly recent fix in the TXEN delay function of the > PKtUART > so it should probably be set to 0 for testing > > > > > 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. > > > > 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 > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > Peter Wallace > Mesa Electronics > > (\__/) > (='.'=) This is Bunny. Copy and paste bunny into your > (")_(") signature to help him gain world domination. > > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers