News:

  • April 30, 2026, 12:07:52 PM

Login with username, password and session length

Author Topic: BRX Program Run Issue  (Read 38563 times)

pbw

  • Hero Member
  • *****
  • Posts: 127
BRX Program Run Issue
« on: December 16, 2022, 09:43:51 AM »
Hi, I have a BRX..(Firmware and OS see attached)...running a compressor Condenser Control, and after 2 yeas a Code block quit executing.
I attached a few snips, I assume If I rebooted the system it would start executing again, however I'd really like to know why it quit after 2 years of flawless operation.
I think I can justify 30-60 minutes of downtime. Can somebody help me try to indentify what might be going on?
Can we check some system bits to gain in-depth knowledge of behind-the-scene activity?

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #1 on: December 16, 2022, 09:47:17 AM »
The Code Block in Question is "Fan_Cycle"
I posted the Run instruction which is in the Main Porgram, and then the terminating "Exit" instruction, which is in the Code Block itself.

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #2 on: December 16, 2022, 09:50:54 AM »
I updated the conditional logic to the attached snip, sent the updates (Run Mode Edit), but still nothing.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: BRX Program Run Issue
« Reply #3 on: December 16, 2022, 10:11:39 AM »
Is X7 twitchy?  Stick a delta contact of X7 to an INC D42 (or some other unused D) at the top of $Main and see if it's flaky.

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #4 on: December 16, 2022, 10:41:41 AM »
Good Idea...wil do

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #5 on: December 16, 2022, 10:54:29 AM »
Nope...not flaky at all.

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #6 on: December 16, 2022, 11:39:18 AM »
Stop mode to Run mode and it's executing again. Weird....do not like these unexplained issues, maybe I'm causing it but....
Are there any bits or messages to check that would help identify the cause?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: BRX Program Run Issue
« Reply #7 on: December 16, 2022, 11:48:40 AM »
I remember we had some issue where some memory was getting overwritten.  Can't remember the cause or when it was addressed.

If you are able, you could try the latest 2.9.6 firmware and GA 1.1.0.  You can continue to use 2.7 Designer with the latest firmware.

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #8 on: December 16, 2022, 11:55:19 AM »
Yes, I'll upgrade

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: BRX Program Run Issue
« Reply #9 on: December 19, 2022, 11:46:19 AM »
There is a possible issue if you are utilizing C-more that any C-more STRING TAG defined MUST have the CORRECT MATCHING Max Length between Designer and C-more.  So if the Max Length of the actual string in the PLC is 256 characters, then the TAG definition in C-more better be ASCII (TEXT) with a Field Width of 256 characters (not the default 40).

Double check ALL your string Tags in C-more (SS, SL, LastError block, system heap item strings, user string blocks, user heap items).

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #10 on: December 19, 2022, 01:09:54 PM »
I imported them all so they should match. I'll check.

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Program Run Issue
« Reply #11 on: December 19, 2022, 01:11:27 PM »
All of them are the correct lenght.