In the previous lesson, we had our PLC software connected to the Factory I/O software. We were able to start and stop the equipment, verify product counts passing by the retro reflective sensors, all using the Factory I/O animated simulation and our program.
One thing that we have not yet discussed is the lamps that were provided with our switches inside of Factory I/O. In this lesson, we’re going to write some additional code that will light the lamps. We will light the red lamp, or stop switch lamp, when the equipment is stopped and the green lamp, or the start switch lamp, when the equipment is running. We will also light the reset lamp when the reset button is pressed. This reset lamp will remain lit until the counters accumulated value is greater than zero.
Let’s get started and write some code!
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 direc...
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...
26 Comments