SocketIODelegate - Socket connection closed, DriverState was Connected. Problem

Hello Everyone,

I'm having some troubles trying to connect to a PLC Productivity P2-550 CPU.

In the Log this is what I see:

In Wire Shark this is what I see:

10.0.0.134 is the PLC
10.0.0.222 Is my Laptop

In the gateway it looks like connected:

But in the log you saw the connection is closed

I tried to create a Tag because i read in this forum a problem with the PLC must be active but I can't see the tag values.

If you know how to handle this I really appreciate that.

Thank you

Your wireshark capture doesn't include the breakage. You will have to capture until you get the breakage to figure this out.

When the log shows the Error, wireshark shows this:

That shows FIN coming from the PLC out of the blue. Your PLC is breaking the connection.

I don't see an actual Modbus request in the few seconds before that point. Are you sure you are requesting something at least every ten seconds? Many devices chop off connections that are "idle" that long.

Are you sure you are requesting something at least every ten seconds?

Not sure to be honest, could you please indicate me how to do that?

Thank you

Make at least one OPC tag with a pace (poll rate) of less than ten seconds.

1 Like

Thank you very much!