Chapter 8. Jump and Call
This chapter considers the jump instruction, which enables part of a program to be jumped over, and the way in which subroutines in ladder programs can be called up. Subroutines enable commonly occurring operations in a program to be repeatedly called up and used over again.
A function often provided with PLCs is the conditional jump. We can describe this as:
IF (some condition occurs) THEN
perform some instructions
perform some other instructions
Such a facility enables programs to be designed such that if certain conditions are met, certain events occur, and if they are not met, other events occur. Thus, for example, we might need to design a system so that if the temperature is above 60°C a fan is switched on, ...