Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria

First steps using Labview with an PLC Arduino

Controlling a digital PWM Output with Labview

 Introduction


In this post we will make the first program with Labview using the Arduino based industrial controller Industrial Shields. To do this, you must have Labview installed and all the necessary add-ons as well. If you do not have the entire programming environment installed yet, please visit this post.

In this first example, we will control a digital output of our industrial PLC from Labview. For this, we have chosen a digital output with PWM to be able to modify the clock cycles from the Labview interface by creating our own application.


Requirements


In this first example we have used an M-Duino 21+, but the following industrial Arduino PLCs can also be used to perform the same example (check the user guide to see which Arduino pins are related to a PWM output of your PLC).

You can browse our website to find the available devices which can be used in LabView platform:


- WiFi & Bluetooth Controller Family

- 20 I/Os Controller Family 

- Ethernet Controller Family

- GPRS / GSM Controller Family



Preparing the environment

We will use Labview to help us program graphically in a simple way. In addition, you have got integrated and specific libraries for engineering software functions and hardware interface and features for analysis, visualization and data sharing among other options.

We will use the tools provided to control our Arduino-based PLC from the monitor of our PC with the graphical interface that we are going to create. National Instruments offer us the Arduino toolkit for Labview, which we have already downloaded in the previous Labview post.





From this point, we have already installed all the programs that are required to use our Industrial Shields equipment in Labview. 

Next Steps

In the following blog post related to Labview, you will find a first example controlling a digital output with PWM of our Arduino-based PLC and we will see the different possibilities offered by Labview. 



Do you want more information?

Open Source technology allows you to develop your installations.

Just fill the form and we will contact you as soon as we can.

Send