Compactlogix L32 Major Fault Recording

learner

Lifetime Supporting Member
Join Date
Apr 2007
Location
British Columbia
Posts
81
Hi Guyss:

I was given a PLC program to take to the site and start up a system. there is one Rung in this progam that tries to use GSV to record controller Powerup and I/O fault. It uses a DINT and monitors the second (PLC ALARM.1) and fourth (PLC ALARM.3) bits of it using XIO type of contacts.

it doesn't seem to be working, probably due to the wrong type of contact, as when I checked the DINT it was all zero.

The GSV parameters are as follows:

Class Name: Fault Log
Attribute Name: Major Faults bit
Dest: PLC_ALARM

Any Idea if this is is how we can get those faults?

Regards

Faults.jpg
 
Is this code inside a Fault Routine, inside a Powerup Routine, or inside a normal Routine that's part of a normal Task ?

That timer .DN bit that conditions the GSV won't turn on in a Fault or Powerup routine; those routines are executed only once.
 
Logic like this is placed in the Fault Routine or in the Powerup Routine because those are executed in times that the controller can be in a fault mode.

Since the controller does not run any of its normal program when it is in Fault mode, this logic will never capture a fault code.

I don't use Fault Routines often, but it is my impression that the Major Fault Bits tag only contains the current fault, not the previous one that's recently been cleared.

I'd recommend placing this code into a Fault Routine.
 

Similar Topics

Does anyone knows if RsLogix 5000 version 16.03 (CPR 9) is capable of programming the new CompactLogix PLC L23 and L32? Or do I need to do an...
Replies
2
Views
3,770
Hi Guys, I have a CompactLogix L32-CR PLC installed on site and for some strange reason it takes up to 30 seconds for it to switch between Run...
Replies
2
Views
105
Hi everyone, i have a compact logic 1769-L18 PLC and I'm using FTalk View ME for the display. I wanted to do some visualization on Grafana. At...
Replies
1
Views
95
Does anyone know what the data transfer rate for this series of CompactLogix PLC's? 1769-L24ER-QB1B to be exact. Cheers.
Replies
1
Views
98
Does this instruction calculate values during a single scan, or does it require number of scans based on element count in the array? For Example...
Replies
3
Views
114
Back
Top Bottom