Rockwell - Controller Fault Handler

I looked at the topics talking about that and I still cannot understand what it's supposed to accomplish. It looks like it should handle PLC internal faults but I don't know in which fashion.

Here's what they had in the fault section:

1729519446972.png

It doesn't make any sense to me.

Bits are written here, coming from I don't know where.

Thanks.
 
That routine runs when the PLC faults. Basically, if a fault happens. the top bit turns on and the bottom one turns off. What those bits do/mean is up to the programmer.
 
Very likely those are tied to some HMI as an alarm indication that the Controller is faulted. Usually, there is fault logic for recoverable faults that would also log the major fault code, attempt to clear things like subscript array errors or negative timer presets, etc.
 
Yes, this is an alarm provided for a HMI.

So basically the rungs are "energized" when any fault occur within the PLC?, meaning that it will latch the latch on the first bit and unlatch the latch on the second bit?

Then it clears releasing the latch and the unlatch?
 
Lets put this a little more simply...

When a fault occurs that triggers the Controller Fault Handler, the PLC will write a "1" to the first tag and then it will write a "0" to the second tag. If the controller faults after this, which it would appear would happen, then those tags get left in that last state and your HMI would read them in that state.

Is there any other logic after those two rungs? That additional logic could possibly capture what the fault was and possibly clear the fault. If it did clear the fault, those tags would not automatically reset. There would have to be logic to tell them to reset. This would allow your HMI to see that a fault had occurred even if it had been cleared. Look for a GSV instruction that could capture the fault information and an SSV which could be used to clear the controller fault.

OG
 
I looked at the topics talking about that and I still cannot understand what it's supposed to accomplish. It looks like it should handle PLC internal faults but I don't know in which fashion.

Here's what they had in the fault section:

View attachment 73532

It doesn't make any sense to me.

Bits are written here, coming from I don't know where.

Thanks.
Basically, those bits in the fault section are status indicators for different internal faults in the PLC.
 
Yes, this is an alarm provided for a HMI.

So basically the rungs are "energized" when any fault occur within the PLC?, meaning that it will latch the latch on the first bit and unlatch the latch on the second bit?

Then it clears releasing the latch and the unlatch?
This routine itself does nothing once the fault is cleared, so any releasing the latch when not faulted has to be done outside of this routine.

Don't overthink it: all this routine does is run when there's a major fault. It doesn't run when there's no major fault. There's no fancy schmancy magic or anything to it and there's no logic to it that a normal routine has.
 

Similar Topics

Hi Guys.... I am facing one issue. PLC Controller i.e. 1756-L74 is now showing the error as T03:C16 IO connection Failure.... What can be reason...
1
Replies
3,030
Views
Hi everyone. Idiot-grad here so sorry if the answer to this question is really obvious (it has stumped my boss and another coworker so surely it...
18
Replies
807
Views
Question for the Studio 5000 experts out there... Does anyone know where the general setting is for CIP message timeout? At one point I reduced...
5
Replies
1,658
Views
Hy, I have a 45MLA-CTRL-CAN Light Array controller from Rockwell. It uses Canbus protocol. I can not find the EDS file for this controller...
2
Replies
682
Views
Hello everyone, I’m running a FTV studio 8.2 version on a VMware so my PV plus 7 standard hmi runs on a version 11. It’s a new hmi, as you know...
6
Replies
3,502
Views
Top