Routines in RSLogix 5000 are the executable code for a project in a controller.
- A routine is similar to a program file or subroutine in a PLC or SLC processor.
- Each program must have a main routine.
- The main routine is the only routine executed from the program. To access the other routines in the same program then we have to use a logic such as JSR to call the routines.
- You can have as many routines per program as the controller memory allows.
- Any fault within a routine will trigger the Program Fault routine.