Has anyone had success creating a working device connection to an IDEC FL1F ‘Smart Relay’? I can add a new device using Modbus TCP, but it won’t maintain the connection. It just gets stuck in what appears to be a connect/disconnect loop, with the log reading “java.net.SocketException: Connection reset…[hostname=192.168.1.3,port=502] Socket connection closed, DriverState was Connected.” And it records this same log message over and over every couple of seconds. Any help/info is greatly appreciated.
Check your firewall settings and see if port 502 is being blocked.
Have you subscribed to at least one register in that device? Many devices will forcibly close idle connections after ten seconds. Resulting in exactly that pattern of log messages.
1 Like
Thank you for the reply. Negative, I have only ever gotten as far as the ‘disconnect loop.’
Thank you for the reply. I’ll be sure to check that out.
1 Like
Don't wait to set up a tag subscribed to a device register. Use manual addressing. Try with the default 1000ms tag group. If I'm right, the disconnect/reconnect loop will magically fix itself.
1 Like
Thanks again. I’ll give that a shot.