How to Use Jump Instruction in PLC Programming

How to Use Jump Instruction in PLC Programming

Jump instruction allows you to execute a network or networks in an order of your choosing. For instance, you may have a comparison instruction in network 7 that, when equal, needs to do a particular math instruction located in network 14 or network 3. The jump instruction, when encountered, will execute the network designated in the jump instruction.

Subscribe Watch Trailer Share
How to Use Jump Instruction in PLC Programming
  • 192. Introduction to Jump Instruction in PLC Programming

    In this lesson, we are going to introduce you to the instructions that exist in the “program controls operations” folder. Those are the Jump, Jump Not, and Label instructions. These instructions allow you to execute a network or networks in an order of your choosing. For instance, you may have a ...

  • 193. Using a Jump Instruction to Perform Exponential Math – Part 1

    In the previous lesson, we got you familiar with the Jump, Jump Not, and Label instructions. In this lesson, we are going start writing some code that uses a Jump instruction, in a creative way, to perform an Exponential math function. We start the lesson by adding a couple of move instructions t...

  • 194. Using a Jump Instruction to Perform Exponential Math – Part 2

    In the previous lesson, we began writing some code that would perform an Exponential math function. We will continue, in this lesson, writing the rest of the code and insert a Jump instruction to loop through some of the networks that will produce our desired result. We will download the code to ...

  • 195. What is a Watchdog timer in a PLC?

    In this lesson, we are going to familiarize you with a process called a watchdog. In all computers, including PLC’s, there is a background process that ensures that the logic solve or processing of all of the needed functions occurs in a timely manner. We describe exactly how this background proc...

  • 196. Avoiding a PLC Stop Mode While Using the Jump Instruction

    In a previous lesson we explained the purpose of the watchdog timer. In this lesson, we will expand that lesson a little further and demonstrate the function of the watchdog timer. We are going to modify a previous program that contains a properly executed jump instruction such that it creates a ...

  • 197. Infinite Loop Error in PLC Programming

    In the previous lesson, we had a program that contained a comparator instruction and it properly executed our jump instruction. We then changed that instruction to a field input. When we forced that input to true in the simulator, we managed to put our program in an infinite loop, causing a Stop ...