RSLinx Loses Connection when OPC Server Enable

willsee

Member
Join Date
Jul 2015
Location
Kentucky
Posts
10
One of our machines is acting up and we cannot figure out where the issue lies.

Our server running RSLinx has a hundred or so PLC's connected by Ethernet driver. One of our machines appears to be functional from everything we can tell.

Configure drivers and let RSLinx find the PLC. Configure the topic and link to the PLC. Set up OPC Test Client and add data points everything is ok. Enable the topic on our OPC Client and we stay connected about 30 seconds then get a red X in RSLinx. If I disable in the OPC client the PLC will come back.

The other thing is if I manually delete all data blocks within the database and recreate them, the controller will stay online. If we reboot our server then the controller will get a red X through it.

Anyone have any ideas? We've been racking our brains with this. Luckily this is just a secondary machine but we would like to switch to it.
 
If you wanted to really dig deep into it, you can run a WireShark packet capture, filter it to the IP Address of your PLC, then look at the requests and responses. You may find long delays or missing responses.
 
Have you test that your comm is solid between opc server and your plc ??
I believe? it is. From our server to the PLC we have <1ms response time when I ping. Unless you're asking something else.

If you wanted to really dig deep into it, you can run a WireShark packet capture, filter it to the IP Address of your PLC, then look at the requests and responses. You may find long delays or missing responses.
Will try.

I have no good reason to say this,
but I wonder if you are sharing that PLC Ethernet address with something else
I don't think so but we also have about 130 IP addresses talking to the server. I will try a different one I know we aren't using. This is a machine we've had installed for 6 or 7 years that has gone offline. The only changes we've made have been updating the gateway of all controllers from a .1 to .2.
 
If you wanted to really dig deep into it, you can run a WireShark packet capture, filter it to the IP Address of your PLC, then look at the requests and responses. You may find long delays or missing responses.

I've run wireshark on my controller and while interesting, I have no clue what I'm looking at.
 
In the filter box at the top enter ip.addr==192.168.0.1 (substituting for the IP address of the PLC giving problems)

Now look through the packets and you will be able to see from the source and destination columns, request packets from the PC and response packets. Look for requests with no corresponding response or a long delay of maybe several seconds or more. You may also see some retransmits.
 
I attached a snippet of the wireshark output.

The .32 is the machine we're having trouble with
The .30 is the machine that is working fine (exact same machine, setup, program, everything)

When I look at the output in the info column to me I would think neither is working. At about the 10second mark is where I enable .32 on the OPC server. .30 was enabled the whole time.

We have wonderware HMI connected to both of these machines, yesterday we were tinkering around and actually had both machines online with OPC server enabled. The HMI had been disconnected so when we plugged the HMI back in it kicked the .32 machine out of RSLinx. Unplugged the HMI and it came back. Same thing happened if we hopped on a programming laptop and went online with the code to make edits, it would kick it off RSLinx on the server.

This is all baffling since we have the exact same machine running fine. Maybe a bad switch?
 
I'm not really able to tell what is completely happening without the Wireshark file. The Wireshark file allow you to view it in Wireshark and it formats the packets to be able see what belongs where.
 
So I believe we found our issue.

Where are troubled machine is located we have two additional machines. We connect over fiber to these machines. Saturday morning I received a phone call that we were no longer communicating with any of the machines. Started digging into it, swapped out a fiber media converter, and lo and behold our troubled machine came back online.

It's been up and running for a couple of days down with no issues while testing it. So looks like that converter was flaking out then finally crapped out.
 

Similar Topics

Hi, I am working on a project, where I face a issue with respected to Network Dropout. The PLC is connected to a 16 port unmanaged switch, where...
Replies
7
Views
186
Does Rockwell still offer reset codes for old school Master Disk floppy's? In a bind and need to reset the activation disk soon and to be pointed...
Replies
9
Views
230
Anyone have issues with RSLinx being very slow to open. It sometimes will say "Checking Activation" at the bottom for what seems like an...
Replies
2
Views
146
I need to support some old data collection that is running on Excel, but I need to get it running on LibreOffice. The following statement works...
Replies
0
Views
85
Hey All, I am sorry to ask this, but i still gotta do it. What happens if I close RS linx? Will it cause network interruption and PLCs will lose...
Replies
5
Views
155
Back
Top Bottom