News:

  • April 29, 2026, 09:33:07 AM

Login with username, password and session length

Author Topic: MRX Errors but Exception is 0  (Read 10083 times)

belias

  • Full Member
  • ***
  • Posts: 36
MRX Errors but Exception is 0
« on: November 21, 2024, 07:57:46 PM »
I have an MRX instruction inside a stage program that will run fine for months, and then all of a sudden it begins to error.  It's not obvious what's causing the error, but restarting the PLC will correct it.

Tonight, I was able to troubleshoot while the error was happening.  I see the instruction stage running, and then it jumps to the error stage.  I have the exception response set to go to D24, however D24 always remains 0.  According to the help table, 0 isn't an option.

What am I missing?



Thanks.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: MRX Errors but Exception is 0
« Reply #1 on: November 21, 2024, 08:07:06 PM »
Exception Response contains the Modbus exception code returned by the server, but the instruction is failing, so there can't be a response from the server. The relevant error in the case is the system error. You can view that from the Sys Info dialog.
"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

belias

  • Full Member
  • ***
  • Posts: 36
Re: MRX Errors but Exception is 0
« Reply #2 on: November 22, 2024, 01:10:44 PM »
OK that makes sense, thanks.

I wish I had taken a screenshot of that page, but I'm fairly sure it showed an operation timeout at the MRX rung.  I'll check this closer next time the error happens.

Also, this time I didn't fully reboot the PLC.  I only ran the PLC --> Re-initialize PLC I/O and that fixed the problem.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: MRX Errors but Exception is 0
« Reply #3 on: November 22, 2024, 01:44:17 PM »
OK that makes sense, thanks.

I wish I had taken a screenshot of that page, but I'm fairly sure it showed an operation timeout at the MRX rung.  I'll check this closer next time the error happens.

Also, this time I didn't fully reboot the PLC.  I only ran the PLC --> Re-initialize PLC I/O and that fixed the problem.

What firmware version are you running? While we have had our share of issues with the Modbus server, I'm unware of any client side issues. I would like to better understand what might be going on.
"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

belias

  • Full Member
  • ***
  • Posts: 36
Re: MRX Errors but Exception is 0
« Reply #4 on: November 23, 2024, 04:05:05 PM »
Hi Bob,

FW is 2.10.2

If you let me know what to check next time, I'll make sure to do that prior to restarting.