From the course: PLC Program Flow and Control Instructions

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Nested subroutines

Nested subroutines - Ladder Logic Tutorial

From the course: PLC Program Flow and Control Instructions

Start my 1-month free trial

Nested subroutines

- [Instructor] Nested subroutines allow you to direct program flow from the main program to a subroutine, and then to another subroutine. Nested subroutines make complex programming easier and program operation faster, because the programmer does not have to continually return from one subroutine to enter another. One thing to note that programming nested subroutine may cause delay in the scanning of the main program, because while the subroutine is being scanned, the main program is not.

Contents