News:

  • February 05, 2023, 06:34:15 PM

Login with username, password and session length

Author Topic: TCP layer Timeout  (Read 288 times)

scottsutton

  • Full Member
  • ***
  • Posts: 33
TCP layer Timeout
« on: December 01, 2022, 10:48:42 AM »
I have a BRX that is using ModbusTCP to connect to various devices within a machine (Machine A). This layout has worked well in this machine for over a year with no issues like all my other implementations of ModbusTCP with a BRX PLC. However, the customer recently added a separate machine (Machine B) in the assembly line and they wanted to control it through ModbusTCP from Machine A. Machine B can power up and down independently of Machine A and that is the issue. The TCP layer times out if they do not power up the machines at the same time or power Machine B before powering Machine A. Once the timeout happens I cannot get the BRX to reestablish the connection. Is there a work-around for this unique situation or do they have to power down Machine A to get the connection back?

Thanks!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5793
  • Yes Pinky, Do-more will control the world!
Re: TCP layer Timeout
« Reply #1 on: December 01, 2022, 11:01:33 AM »
I have a BRX that is using ModbusTCP to connect to various devices within a machine (Machine A). This layout has worked well in this machine for over a year with no issues like all my other implementations of ModbusTCP with a BRX PLC. However, the customer recently added a separate machine (Machine B) in the assembly line and they wanted to control it through ModbusTCP from Machine A. Machine B can power up and down independently of Machine A and that is the issue. The TCP layer times out if they do not power up the machines at the same time or power Machine B before powering Machine A. Once the timeout happens I cannot get the BRX to reestablish the connection. Is there a work-around for this unique situation or do they have to power down Machine A to get the connection back?

Thanks!

What firmware version is the BRX running?

And so I can better understand what you are doing, are you using MRX/MWX instructions to talk to the devices, or the Modbus scanner?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

scottsutton

  • Full Member
  • ***
  • Posts: 33
Re: TCP layer Timeout
« Reply #2 on: December 01, 2022, 11:41:45 AM »
The PLC OS is version 2.8.6, so I could update that. Yes, I am using the MRX/MWX.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5793
  • Yes Pinky, Do-more will control the world!
Re: TCP layer Timeout
« Reply #3 on: December 01, 2022, 01:52:20 PM »
The PLC OS is version 2.8.6, so I could update that. Yes, I am using the MRX/MWX.

There was a bug in the firmware that could hang TCP client devices indefinitely. Updating to the latest should fix the issue.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

scottsutton

  • Full Member
  • ***
  • Posts: 33
Re: TCP layer Timeout
« Reply #4 on: December 01, 2022, 02:12:08 PM »
Updating did correct the issue!

Thanks!