Slc 5/02

tommy t

Member
Join Date
Apr 2005
Posts
1
In Using A Slc 5/02 I Have Experienced That The Program Will Only Run In File 2.there Are No Jump Routines In The Program And When Other Files Are Used For Simplicity Of Keeping Timers ,counters Etc
Together It Will Not Even Look At Them.have Tried 2 Slc 5/02.both The Same.any Thoughts? Thanks
 
The first thing that pops into my head is that the other subroutines are not being called....

By default, ladder 2 is the only ladder that runs by itself...

All other ladders need a jump to subroutine command (jsr) to perform any of the logic in those subroutines.


On another note, (just for future reference), this area of the forum is for "practicing posts". Not everyone checks this area for questions, so you may want to put any further questions in the "Live Q&A" area.

Welcome aboard!:)
 
It's best to start out with unconditional subroutine calls, just use the subs to organize your code in logical segments. The use of conditional subroutines can lead to undesired results, and is not for the beginner. The attached photo shows a couple of unconditional subroutine calls to execute the logic in ladders 15 & 7.



subcall.jpg
 

Similar Topics

I’m attempting to send a temperature from a SLC-5/02 to an EZiMarquee display. The vendor said to use a MSG instruction to send the data to the...
Replies
1
Views
81
Hello all. I have a few SLCs in my plant and of late we've seen a weird issue: The system will be running normally and then randomly the outputs...
Replies
2
Views
93
I am working on setting up a Prosoft Datalogger model PLX51-DLplus-232. This unit will be collecting data from a SLC 5/05 on the DB9 port set to...
Replies
3
Views
101
I have a redundant ControlLogix being set up. This program reads a value from a remote site which happens to be SLC PLC. Rockwell mentions SLC...
Replies
2
Views
95
Hello, I have a ControlLogix redundant controller being set up. The program reads a value from a remote site which hosts a SLC PLC. Rockwell...
Replies
0
Views
77
Back
Top Bottom