Delete Subroutine RSlogix5000?

johnfarrugi

Member
Join Date
Mar 2008
Location
London
Posts
99
How do I delete a subroutine? Delete is always grayed out.

untitled.jpg
 
You are attempting to delete a program, not a subroutine. The control logix PLC supports multiple tasks. Each task can have multiple programs, and each program can have multiple subroutines. In the screen shot you posted, there are three programs in the main task. Each program will have its own local tags, its own main routine, and its own subroutines. Right click the main task and unschedule the program so that the task no longer runs the program. The program will disappear from under the task and reappear under the unscheduled programs tab. Once it unscheduled then you can delete it.

A030408J.JPG






A030408K.JPG
 
Last edited:
Operaghost said:
More importantly. If you are not aware of these things, don't delete ANYTHING!!

OG

Very good point.

When you delete a program you not only delete the rungs but you also delete the tags and data assoicated with that program. The program may also contain multiple subroutines. It is not the same thing as deleting a subroutine.
 
Power-Up Handler

I created a program in the Power-Up Handler. If it doesn't have a routine under it how do I get it to go to the unscheduled tasks?
 
Okay I figured it out!!.. lol
I had to go to the controller and under properties--> advanced tab, unselect the program as the power-up handler. : /
 

Similar Topics

Hello, someone have experience about how to delete an alarm message(alarm already solved) from alarm viewer with something coming from PLC? THANKS
Replies
3
Views
816
Hello, someone have experience about how to delete an alarm message(alarm already solved) from alarm viewer with something coming from PLC? THANKS
Replies
0
Views
369
In my project, I've set up a few user accounts (Operator, Technician, Admin). The person assigned as Admin has said "I want to be able to...
Replies
8
Views
1,083
In the Communications > Network > Protocol 1 - AB Tag Names > PLC10 configuration page there is a Tag Names section (not the same as the separate...
Replies
4
Views
2,454
Hi , How can I remove this tag without affect the instruction, i mean is only a tag with 0-1 value and I want that my instruction has only ins...
Replies
5
Views
1,607
Back
Top Bottom