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 that will set our base and power numbers. Following that, we will add some math instructions and show you how we are going to get the code to execute some of the instructions, multiple times, in order to achieve our desired results. Let’s get started with this informative lesson.
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 ...
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...
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 ...