GSV instruction

Join Date
Nov 2009
Location
India
Posts
116
Hi

I am using GSV instruction to read the controller Fault status in Logix. I did this routine in Main program.

Do i need to copy paste the same routine in Fault Handler also. So that the routine will be executed if its not executed in Main program during faulty condition. Kindly clarify.
 
Only if you need to clear the faults, thus allowing the controller to continue execution. The fault info will still be accessible via the RSLogix software.

Tip : do not just clear all faults in a fault routine, inspect to see what faults are present, and only clear those you are content to.
 
How to read major and minor fault details. I used GSV instruction with classname faultlog and attribute name as Majorfaultbits. I generated io error, but i could able to see any fault status in destination which is a DINT. Bit 3 should shold be ON to show io error, but i donot get any status. I did this logic in main routine.
 
Have you set the i/o module property to create a major fault ?
 
you need to set module properties "Generate Major Fault if module faults"

if you don't, an i/o module fault is a Minor fault
 
Last edited:

Similar Topics

Hello Experts ! I'm making improvement in old program with rslogix5000 v20 and L72S controller. I want getting the real system hour and there is...
Replies
9
Views
3,444
Hello all, Looking for a bit of help with a some programming I'm working on. I'm probably missing something simple. I've got a routine setup for...
Replies
0
Views
1,102
Hello everyone, I am having an issue with random I/O faults on a ControlNet network. In the logic, there is a GSV instruction with LedStatus as...
Replies
3
Views
5,306
Hi, I would like to know if using too many GSV instruction in a continous routine for a 1756 Control logix would be an issue. I know it is not...
Replies
6
Views
5,454
All I am studying a PLC program from another facility. It uses an SSV instruction and a GSV. Data in SSV, GSV as follows...
Replies
4
Views
7,333
Back
Top Bottom