Studio 5000 Version 35 "Stuck Logic/Bits"

Hello, I have noticed that in version 35 of Studio there are times that XIC/XIO bits get stuck and will not function properly. After toggling them, they seem to work without an issue. I have also noticed that DINT or STRING tags also get stuck and will not load the correct data into them. I have to manually enter data into them to get it to function as normal (just have to change and it loads the correct data in after). I have noticed it across compact and control logix PLCs, and it seems to only happen in v35. It is extremely common when they lose power (which is expected), but during normal run time this happens frequently enough to cause issues. Anyone else have the same issue in the past? Thank you.
 
I thought it was a programming problem since I've never encountered it, but it sounds like you may need to do a patch roll up to get it working right.

If you have already done the latest patch roll up, then you should at a minimum try to reinstall factorytalk services/FTlinx, or defaulting FTlinx, since any tag information passes through there first, and most issues lately have been through that link (that i've experienced)
 
I thought it was a programming problem since I've never encountered it, but it sounds like you may need to do a patch roll up to get it working right.

If you have already done the latest patch roll up, then you should at a minimum try to reinstall factorytalk services/FTlinx, or defaulting FTlinx, since any tag information passes through there first, and most issues lately have been through that link (that i've experienced)
I wouldn't be as concerned if it was just XIO/XICs, but other data tags have the same problem. I will have to try reinstalling at some point when I get some down time. From what google said, it could also be a timing issue, but I wouldn't think I would have timing issues since I can toggle/change the data and it just work. Also, have seen some other examples of people having issues where scans may not happen in certain ladders (for whatever reason), and then it doesn't realize that it still has a JSR to that ladder/rung. Toggling/Changing the data makes it realize that it is enabled and then it picks right back up.
 
I’ve seen similar on V30 or V31. There was an advisory or tech note that indicated the problem was triggered by a specific sequence of events that included downloading a saved but unassembled edit. I would be surprised if that made it as far as an early V35, but it’s worth updating 35 to the latest and flash to the latest 35 too if you can.

If you can do a download, maybe rebuild the project and download fresh. Make sure you have no pending edits, save as L5X, import that to a new project, then download that.

Beyond that, I would suspect programming that doesn’t actually cover all bases.

Edit for more: another possibility that comes to mind is an HMI or SCADA system is interfering with proper operation by writing when it shouldn’t be or something else bizarre that’s messing up the works.
 
It is irresponsible to speculate about what "stuck" means in this context, and useless to say "oh, that's a specific firmware bug !".

Post details about what you think you're observing. Poor programming, race conditions, and dodgy communications network hardware are far, far more likely to be responsible for inconsistent PLC program operation than a firmware bug that causes data to be "stuck" or causes an instruction to malfunction.
 
First thing I would be looking around for are the following instructions:
JSR
SUB
JMP
MCR :sick:
RET

Every time I've encountered a line of code "not executing" or being skipped was because the program was being told to skip it at the time.

Have you tried sticking an OTL test bit in front of the logic not being scanned when it gets stuck like that? Always a sure fire way to see if that line is actually being scanned.


Also, just an opinion but my distaste for the MCR instruction is DEEP. :ROFLMAO:
 
It is irresponsible to speculate about what "stuck" means in this context, and useless to say "oh, that's a specific firmware bug !".

Post details about what you think you're observing. Poor programming, race conditions, and dodgy communications network hardware are far, far more likely to be responsible for inconsistent PLC program operation than a firmware bug that causes data to be "stuck" or causes an instruction to malfunction.

Inside of studio 5000, controller scope bool tags do not change state when an OTE is powered at irregular time intervals. The tags are not involved with anything network wise and remain on one PLC. Given rockwell's history of bugs, it doesn't seem uncommon to find anomalies in their software. I use versions 32 to 36, and I have only seen this happen in version 35. This is across several different PLCs spanning control and compact logix.

A lot of times when I run into issues with Studio behaving like it shouldn't, an export and import (.L5K) fixes it 90% of the time. Asking if other users experience this issue isn't "irresponsible" and brings light to issues that others have faced before.
 
Inside of studio 5000, controller scope bool tags do not change state when an OTE is powered at irregular time intervals. The tags are not involved with anything network wise and remain on one PLC. Given rockwell's history of bugs, it doesn't seem uncommon to find anomalies in their software. I use versions 32 to 36, and I have only seen this happen in version 35. This is across several different PLCs spanning control and compact logix.

A lot of times when I run into issues with Studio behaving like it shouldn't, an export and import (.L5K) fixes it 90% of the time. Asking if other users experience this issue isn't "irresponsible" and brings light to issues that others have faced before.


I agree with Steve, Ken and the others. you need to set something up to happen with these tags so you can verify if it's just your viewing that is stuck on a value due to not being updated through your communications, or if the value is actually not updating in the program.

you need to tie the status of these tags to some kind of operation that can be observed, ie, an output or something internal that doesn't require an outside communication driver like an HMI or PC would use to see the status.
 
Inside of studio 5000, controller scope bool tags do not change state when an OTE is powered at irregular time intervals. The tags are not involved with anything network wise and remain on one PLC. Given rockwell's history of bugs, it doesn't seem uncommon to find anomalies in their software. I use versions 32 to 36, and I have only seen this happen in version 35. This is across several different PLCs spanning control and compact logix.

Can you replicate on a test bench/plc? Do you use bitoverlay? Is this a continuous routine or timed routine? What is your fix besides getting on the PLC and toggling all the bits that don't update. (How are you toggling?)

edit - I haven't seen this issue on v35 but I have seen issues that sound a lot like it.
 
I’ve seen similar on V30 or V31. There was an advisory or tech note that indicated the problem was triggered by a specific sequence of events that included downloading a saved but unassembled edit. I would be surprised if that made it as far as an early V35...
I doubt that unassembled edits would be the culprit because of a published bug. [It's late here, but I do think it was only v35 and not 34 or 36 - but could be wrong]

If v35 has any unassembled edits [accepted or being tested] and Studio5K is disconnected [goes offline, network failure, PC blue screen's, Studio5K closes, RSLinx/FTLinx loses comm's - any reason] then the CPU will fault

If 35 is the wrong version I'm sure someone here will correct me.
 
I found the anomaly I encountered and it does apply to 35.00:

ID: PN1620 | Access Levels: Everyone Product Notice 2023-04-002 - Studio 5000 Logix Designer V31 through V35 Ladder Diagram Routines May Stop Execution After Download

The basic sequence to trigger the anomaly:
- edit rung online
- go offline with rung in edit
- delete edited rung
- download project to controller

When I experienced it on V31, things would work for a few hours to a few days, then at some point the sequencing that should have been happening would just stop. Toggling bits would bump start it again. My fix was flashing to V34.

I have not encountered a fault from disconnecting with unassembled edits.
 
I have had issues with floats when adding a fractional value

Results like:
3.065 + 0.025 = 3.09068431

Where did the .00068431 come from?

Then I have to multiply by 1000 and then divide by 1000 to truncate the extra decimal digits, but that could round up to 3091 during MUL with a result of 3.091 not 3.09 (which might make a difference in a space shuttle, nuclear reactor or other critical safety process)
 

Similar Topics

Good Afternoon, I’m beginning a retirement career teaching high school students about industrial automation and PLC’s . Our High School...
16
Replies
997
Views
Does anyone have any contact info for a company that can do a Direct Logic 6 to Studio 5000 rewrite. They arent crazy complex programs just on the...
1
Replies
307
Views
Good Afternoon, We have a wide range of Rockwell Automation PLC’s with various versions of Studio 5000 from 24.00 to 36.0 . With your...
4
Replies
1,022
Views
Good Evening , It has been awhile since I installed Rockwell Studio 5000 software . I installed version 23.00 , and that is the only version...
1
Replies
551
Views
I am needing help to fix a problem I keep having. I am running RA studio 5000 version 24 (24.02) and windows 11 (v.24H2). Every time I try to open...
4
Replies
1,535
Views
Top