From the course: PLC Program Flow and Control Instructions

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Jump to subroutine (JSR) instruction

Jump to subroutine (JSR) instruction - Ladder Logic Tutorial

From the course: PLC Program Flow and Control Instructions

Jump to subroutine (JSR) instruction

- [Instructor] The jump to subroutine instruction is an output instruction. When it's true, it redirects the program execution from the current ladder logic file to a specific subroutine file. It is a block type instruction, and simply specifies the file to jump to. You can see here in the example, I have two JSR instructions, and each is meant to take the program to a different subroutine, one to file three and one to file four.

Contents