News:

  • October 12, 2025, 07:18:02 PM

Login with username, password and session length

Author Topic: MWX Hang up  (Read 7702 times)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #15 on: December 02, 2020, 04:22:09 PM »
Did you receive it?

I did. Been fighting fires.
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #16 on: December 02, 2020, 06:55:30 PM »
Great!   Let me know if you see anything.  Don't burn your fingers.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #17 on: December 03, 2020, 10:41:20 AM »
Great!   Let me know if you see anything.  Don't burn your fingers.

How do these program blocks re-RUN once they've complete?
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #18 on: December 03, 2020, 10:54:52 AM »
STAGE 0 in the CLX modules monitor a word in the Data Packet being sent to the BRX from the Rockwell PLC via EIP.  The Rockwell PLC reads that word back and looks for it to be cleared by the BRX when its done. The EIP explicit message server is enabled.
« Last Edit: December 03, 2020, 11:10:47 AM by ATU »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #19 on: December 03, 2020, 11:24:21 AM »
I'm wondering if somehow the Modbus driver thinks it's locked by an instruction. I think the wait for driver to become available has no timeout, so it would sit there indefinitely. The Device status view might you you a sense of that.
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #20 on: December 03, 2020, 11:36:14 AM »
They needed to run the machine this morning, I rebooted and it cleared this time.  Is there any way for me to check that programmatically and clear it  without a reboot? I think there should be some kind of timeout or else it sits there for days stuck.  I can look next time it does it. I should of thought to look this time, I just didn't see any system faults.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #21 on: December 03, 2020, 11:44:56 AM »
They needed to run the machine this morning, I rebooted and it cleared this time.  Is there any way for me to check that programmatically and clear it  without a reboot? I think there should be some kind of timeout or else it sits there for days stuck.  I can look next time it does it. I should of thought to look this time, I just didn't see any system faults.

If it is doing what I described, the firmware is broken. A timeout is just masking that, and probably making it worse, since there is never a good time to steal a locked driver from another instruction. No way to know programmatically right now, other than timing the program. If (when) it happens again, please pull up the Device status view and see what the device thinks it's doing. I don't envision this to be a particularly difficult thing to fix if it can be duplicated, or can learn something about how it got where it did.
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #22 on: December 03, 2020, 12:14:42 PM »
Is that the button that says devices? You get a list.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: MWX Hang up
« Reply #23 on: December 03, 2020, 12:23:12 PM »
Is that the button that says devices? You get a list.
double click on the specific device in that list

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #24 on: April 27, 2022, 03:05:31 PM »
I had this happen again. Unfortunately, they needed the machine to run and I couldn't debug it. However, I did reboot the device that it was talking to and no change. I tried putting a long watchdog timer on the rung and restart the instruction but no effect. No faults nothing. It just doesn't move on until I do a Pgm/Run transition. I did put the new firmware in. It is just so infrequent. It has been months since it happened last and the machine ships to Mexico next week. Have you seen anything like this? Why doesn't it reset when I break the input line? Sorry I didn't check the device status, it has been so long I forgot to look for it.

« Last Edit: April 27, 2022, 03:07:36 PM by ATU »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #25 on: April 27, 2022, 03:19:48 PM »
I had this happen again. Unfortunately, they needed the machine to run and I couldn't debug it. However, I did reboot the device that it was talking to and no change. I tried putting a long watchdog timer on the rung and restart the instruction but no effect. No faults nothing. It just doesn't move on until I do a Pgm/Run transition. I did put the new firmware in. It is just so infrequent. It has been months since it happened last and the machine ships to Mexico next week. Have you seen anything like this? Why doesn't it reset when I break the input line? Sorry I didn't check the device status, it has been so long I forgot to look for it.

Are you running 2.9.x firmware?
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #26 on: April 27, 2022, 03:27:00 PM »
I upgraded now, but I think it was 2.8.  I would have upgraded the firmware the prior time it happened with the latest. 12/2/2020.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #27 on: April 27, 2022, 03:32:26 PM »
I upgraded now, but I think it was 2.8.  I would have upgraded the firmware the prior time it happened with the latest. 12/2/2020.

2.8.x had client issues that were resolved in 2.9.1.
"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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: MWX Hang up
« Reply #28 on: April 27, 2022, 03:35:48 PM »
Fingers crossed that fixes it amigo.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: MWX Hang up
« Reply #29 on: April 27, 2022, 03:43:10 PM »
Fingers crossed that fixes it amigo.

The symptom you describe sounds exactly like it.

When establishing a TCP connection to the server, there were situations where a failure would cause a permanent driver level hang. Once established it continued to work fine, so it tended not to show up in clean networks. Radios and other semi-reliable networks demonstrated it pretty quickly. Once we knew that it was pretty easy to dupe and fix.
"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