From the course: PLC Program Flow and Control Instructions

Unlock the full course today

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

Subroutine (SBR) instruction

Subroutine (SBR) instruction - Ladder Logic Tutorial

From the course: PLC Program Flow and Control Instructions

Start my 1-month free trial

Subroutine (SBR) instruction

- [Instructor] The subroutine instruction is an input instruction, and it is the first input instruction on the first rung in the subroutine file. It serves as an identifier to indicate that the program in this file is a subroutine. It includes the file number, use, and the JSR instruction to identify the target to which the program should jump into. Since it is an input instruction, an output instruction must be connected to the SBR instruction in that rung.

Contents