Can't Delete a Task
I know this is an old topic, but since I ran across it while trying to delete a task I know others will still need this info. First off there seems to be confusion in this thread between what a Task is and a program. Tasks are the folders that contain programs, they are either continuous, event, or periodic type. Programs are the folders that you place in a task. Both have issues that make them a little difficult to delete but in shot you start at the bottom and delete from the bottom up, you also have to make sure that programs are not scheduled in their parent task. Now my problem was I was converting a PLC 5 project to Logix and when you do that they create a bunch of Event tasks rather than putting it all in continuous like it was in PLC 5. So like everyone else I move them BUT the big problem was there is an instruction that I had never seen that is an event instruction and it is used like a JSR anyway the way I figured out why my Task could not be deleted was I right clicked on my Task and did a cross reference and that is how I found the Event instruction within my Main continuous task. If the task is referenced at all you can't delete it. so I deleted the Event instruction that referenced my task and bang Right click, click delete and your done. Hope this helps someone get this done MUCh faster than I.
I know this is an old topic, but since I ran across it while trying to delete a task I know others will still need this info. First off there seems to be confusion in this thread between what a Task is and a program. Tasks are the folders that contain programs, they are either continuous, event, or periodic type. Programs are the folders that you place in a task. Both have issues that make them a little difficult to delete but in shot you start at the bottom and delete from the bottom up, you also have to make sure that programs are not scheduled in their parent task. Now my problem was I was converting a PLC 5 project to Logix and when you do that they create a bunch of Event tasks rather than putting it all in continuous like it was in PLC 5. So like everyone else I move them BUT the big problem was there is an instruction that I had never seen that is an event instruction and it is used like a JSR anyway the way I figured out why my Task could not be deleted was I right clicked on my Task and did a cross reference and that is how I found the Event instruction within my Main continuous task. If the task is referenced at all you can't delete it. so I deleted the Event instruction that referenced my task and bang Right click, click delete and your done. Hope this helps someone get this done MUCh faster than I.