In our daily activities, we may add things in our head to estimate some value to maybe stay within budget or just find some roundabout price.
In this lesson, we are going to show you how to use one of the many instructions included in STEP 7 to do the everyday rounding that you may need inside of your PLC Program.
We have different instructions to round a real value or a value with a fraction to an integer. The different instructions may round your real value up or down depending on the need of your application.
Let’s get rounding shall we!
At times, we may need to convert a real or fraction value to an integer for use in our programs. In this lesson we will explain a simple trick to get the result that we are looking for. The first step in the process of this conversion process is truncation. We will then simply use the 16 bit lowe...
Sometimes we need to get data from one place in our PLC Program to another. Oftentimes, to do this, we will use the Move instruction. In this lesson we will discuss what parameters are needed to fulfill the instruction, what the Move instruction does, and what you can’t do with the Move instructi...
In some instances, you may want to energize multiple outputs using a single input. We discuss different ways to do this and settle on a particular method. While there are many ways to handle this task, we demonstrate the easiest integration of this feature. This method is not only easy to employ,...
6 Comments