Sorry. I should have been more precise. What edition of RSL5000? Starter, Professional, etc.
Also, in RSL5000, ladder logic is the type of subroutine which is added under the Program which is under the Task.
So, you are attempting to add a subroutine under what type of program?