when I try to include them in the main (JSR) the PLC faults

jen

Member
Join Date
May 2002
Posts
1
Help! I've created extra files online with Logix500, but when I try to include them in the main (JSR) the PLC faults. Any suggestions?
 
When the thing faults, click "go to fault" from the pull down in the top left corner where it says "faulted". It will tell you where and why.

Sounds like you've included some math things that the processor don't like in the new files. But if you click go to faulr, or look at faults under processor status, it'll tell you why it faulted. The thing I see most in my code is "math overflow trap". And the where faulted is at the last rung of file 2. The culprit rung sets the overflow bit, but the processor won't fault till the last rung, if the bit's still set. You could put an unconditional "unlatch" of the bit as the last rung of your program, but that's cheating. Besides if the bit gets set, something's not gonna work right, anyhow.

Another reason could be a negative timer or counter preset.

There's lots of things that will fault the SLC, but it's always programming errors in my case.
 

Similar Topics

Hi everybody, I have about three Red Lion HMI's, the calibration on the screens seems correct but where I'm using the pop up keypad to enter...
Replies
1
Views
114
Hello, So i managed to read the string coming from control logix and put a string display in PanelView 800. Now I am struggling to do the other...
Replies
1
Views
139
I'm running into a problem when trying to use the RSLinx Backup Restore Utility where it throws an error when it tries to restore a backup. The...
Replies
6
Views
569
Hello colleagues Anybody knows, what could be the best or a better option to bring with you when you are in service at factory to connect via...
Replies
1
Views
261
Hi all, This is my 2nd post and I just want to say thanks for your feedback! I appreciate every single one of your responses! I have been...
Replies
17
Views
1,782
Back
Top Bottom