Is a major fault stored in the CPU after someone goes from RUN->PROG->RUN to reset

jendrus

Member
Join Date
Nov 2011
Location
Midwest
Posts
21
Is a major fault stored in the CPU after someone goes from RUN->PROG->RUN to reset

I recently had a CPU go into fault and a worker turned the key to PROG and then back to RUN, is the major fault still stored in the CPU's memory so that I can connect a laptop with RSLogix to it and retrieve the code, or has it been erased?
 
It should still be there. Use the structured view of the Processor Status and go to the errors tab, then hit F1 (Help) for an explanation of S:6 and S:54.
 
Here is the link to the zipped rss file, :

https://docs.google.com/open?id=0B9hqGjG3pF96MlpYOUZqVkJUWTQ

It is a program that uses a serial communications link between the allen bradley and another propriatery logic controller. The protocol is called genisys ( almost identical to rs-232) and the program is suppose to receive and transmit messages, and translate the messages into a bunch of physical inputs and outputs.
 
Last edited:
Can this error be automaticaly reset with software, e.g. fault routine or some other code? And how would this be done? At the moment I have to send someone out to manually turn the key to program and back, and then everything runs good from a week to several months before the processor faults again and we have to repeat this manual reset. This processor is used mainly as a non-vital indication panel, so i'd like for it to just reset by itself if this can done.
 
Something is probably going wrong in the code for a watchdog timeout to occur. I didn't read the whole program yet, but there are JMP/LBL pairs along with loop counters in all of the subroutines I read so far.

I didn't find anything that was a smoking gun yet, but there may be one in there somewhere.

By smoking gun, in this case, I mean conditions that could cause the rung with the backward JMP to never go false, in turn, causing a potentially infinite loop, which gets shut down by the watchdog timer and generates the fault code.

Backward JMPs are a red flag that there is a potential for a watchdog error, but with loop counting to enforce that they cannot become infinite loops, they should always work. What happens if one of those loop counters gets used in another routine or overwritten by an external device?

The power down file:rung numbers can be very useful too. It may not indicate exactly why the watchdog timer elapsed if there are multiple loops running "late" but if you find those values always park you smack in the middle of one of your loops, then it becomes your smoking gun...the shooter will be found nearby.
 
Last edited:
Yes, Some indirect address is pointing to a element which which is larger than what exists in the data table.
 

Similar Topics

Hello, We have a customer with a 1756-L72 ControlLogix PLC. They have recently got a T01:C62 Fault Code. I am trying to figure out how to...
Replies
6
Views
1,037
Hi Guys Today we went through the worst situation that PLC went to major fault Mode due to Trap by one of the Timer with -ve Value Moved into...
Replies
4
Views
1,018
Hello everyone, has anyone had this problem before PLC 5000 Model 1756-L81E Major Fault Type 4 Code 20 (T04:C20)
Replies
9
Views
4,267
On site and another Programmer is getting a Major Fault when downloading code that I gave him to interface withour machines. I have JSRs that...
Replies
3
Views
882
We have an installation with with 6 Compactlogix 5069-L3X0ER PLCs. Within the past week, two of the 6 have crashed with the unrecoverable fault...
Replies
4
Views
2,623
Back
Top Bottom