Jump to content

Recommended Posts

Posted (edited)
Hi Gents, I am having the following problem. I hvae a FX3u-Enet module that communicates to a 3rd part pc. Underneath is my config. Initially after power up when i connect to my communication pair both connections are opened(Connection 2 & 3). The problem comes when this connection falls away and then tries to reopen these connection. At first it would only connect to the send connection when i disconnect and reconnect it only connects to the receive connection. I have attached Ethernet diagnostics. The screens are under following conditions. NXAutoConfigure.jpg -- Configuration settings NXAutoConnect.jpg -- Initial connection. Works 100%. Send and Receive NXAutoDisConnect.jpg -- Initial Disconnect from 3 rd party NXAutoConnect2.jpg -- When connecting a second time. Only Receive works. NXAutoConnect3.jpg -- When connecting a 3rd time. Only Send works. Afterwards it toggls between the two and i cannot get both open. I have tried to re-initialize using code but it does not make a difference. Any idea what could be causing this? Edited by RheinhardtP27

Posted (edited)
The ports are probably still open. You should turn on "existence confirmation" so the Enet module will close his ports when he cannot reach PC for a while. Edited by Gambit
Posted (edited)
Hi Gambit, I have done this setting but it makes no difference the only time i am able to connect properly is after a power down and up. Any other possible ideas /routes. It even happens when i re-initialize the the Ethernet card. Rheinhardt Edited by RheinhardtP27
Posted
When I look at your screencaptures when everything is working ok. It only shows port2. When your trying to connect again after a disconnection. You see port 2 and 3. It lookes like your paring is not working anymore. I think there might be something wrong in your reinitiallisation code.
Posted
Besides you should delete this FB because you are already using the FX configurator EN. Using this FB is redundant and might change some setting which are set correctly
Posted (edited)
Hi Thank you for the advice. I dont initialize the port communication the 3rd party software initiates this. Do i not have to close this port using programming? Rheinhardt Edited by RheinhardtP27
Posted
OK i found something very strange. When i download my settings and do a verify it seems not all parameters are being changed. How can i clear this data to ensure there are no mismatches. I think this might be part of my problem. Unless i completely leave out FX configurtor and do all this setup within the code.?? Attached is my verify screen
Posted
FYI, I found the problem is using a seperate send and receive block.After using theFX3FixedBufferPairingUNpassive block all issues were resolved. i misunderstood gambit when he said port initialization as this still gets done by the 3rd part pc. Rheinhardt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...