RSLogix5000 allows programmers to create new program to group subroutines on the same function together. This makes trouble shooting much easier. However, I ran to a situation that I could not add new program into a task as shown in the picture below.
Each RSLogix5000 task allows 32 programs for CompactLogix. You have to delete a program to add a new program if you reach the limit. Or you can add another task and move some programs to the new task. However, ControlLogix allows up to 100 programs per task after firmware vision 15. CompactLogix allows 16 tasks with one continuous tasks. ControlLogix allows 32 tasks with one continuous task.