As you may know, there are several conversion instructions for use in most PLC programming softwares however, sometimes they can be a bit tricky to use.
In this lesson we are going to discuss converting and integer value to a real value using conversion instructions. However, there is no direct way to do this because, as you will soon see, there is no conversion instruction that directly converts an integer to a real. We will demonstrate the use of an intermediate instruction that will allow you to first convert the integer to a datatype that can be successfully converted into a real value.
Open up this lesson to find out how to solve this conversion problem.
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 insid...
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...
2 Comments