Content area

Abstract

LabVIEW and Arduino as a gateway to PLC programmingThe key topics of an instrumentation and controls course are a) the transducers that convert thephenomenon of interest into a predictable signal b) the actuators that influence the process inquestion and c) the hardware and software that control these outputs based the measured inputs. Common candidates for these control systems are data acquisition (DAQ) systems,microcontrollers, and programmable logic controllers (PLCs). Outside of the electricalengineering technology curriculum, engineering technology students at UNC Charlotte do notcover any of these devices until senior year (if then). In a graduate course focused on facilitiesinstrumentation and controls, National Instruments DAQ systems, Arduino microcontrollers, andAllen Bradley PLCs were introduced in that order to quickly bring students up to speed on thestrengths, weaknesses, and suitable applications for each device.The graduate students in the class came from both civil engineering and constructionmanagement undergraduate programs. As such, they had limited backgrounds in electronics andprogramming. This assessment was reflected in an initial course survey where students ratedtheir abilities in electronics theory, electronics hands on, LabVIEW, and MATLAB as beingweak, slightly weak, or average (the three lowest categories on the survey). Conversely, theyrated their abilities in math and physics as being average, strong, or very strong (the three highestcategories on the survey).National Instruments LabVIEW and a NI USB-6009 multifunction DAQ were chosen as astarting platform given the graphical programming environment, readily available tutorials, andintegration with the hardware. Students were shown demonstrations involving simplebreadboard circuits before the students worked in small groups to replicate and extend theLabVIEW code and breadboard wiring to include measurements circuits with voltage dividers,RC filters, thermocouples, operational amplifiers, and controlling outputs with pulse widthmodulation and transistors.After completing the breadboard exercises with LabVIEW and the USB DAQ, they werereplicated using the Arduino 1.0 Integrated Development Environment (IDE) and an ArduinoUno microcontroller. As a high level programming language, students viewed the Arduinosketches as easy to follow given a limited introduction in lecture and access to the the Arduinowebsite (www.arduino.cc ). The abundance of published sketches made it easy for students tosee the versatility of the microcontroller platform. Other key skills that were acquired throughthe Arduino exercises included effective documentation of code, addressing inputs and outputs,and understanding the difference between analog outputs (available on the NI USB DAQ) andthe emulated analog outputs utilizing PWM (available on the Arduino Uno).Allen Bradley PLCs programmed with RSLogix software were the third platform introduced tothe students. Relay ladder logic was presented with a focus on the similarities to the graphical,‘wiring’ approach to programming. The Arduino skills of addressing inputs and outputs anddocumenting code were also reemphasized. Finally, relays were compared and contrasted to thetransistors used with Arduino, and the utility of normally open (NO) and normally closed (NC)contacts in relay ladder logic was highlighted.

Details

Title
LabVIEW and Arduino as a gateway to PLC programming
Source details
Conference: 2013 ASEE Annual Conference & Exposition; Location: Atlanta, Georgia; Start Date: June 23, 2013; End Date: June 26, 2013
Pages
23.846.1-23.846.12
Publication year
2013
Publication date
Jun 23, 2013
Publisher
American Society for Engineering Education-ASEE
Place of publication
Atlanta
Country of publication
United States
Source type
Conference Paper
Language of publication
English
Document type
Conference Proceedings
Publication history
 
 
Online publication date
2015-07-02
Publication history
 
 
   First posting date
02 Jul 2015
ProQuest document ID
2317874775
Document URL
https://www.proquest.com/conference-papers-proceedings/labview-arduino-as-gateway-plc-programming/docview/2317874775/se-2?accountid=208611
Copyright
© 2013. Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the associated terms available at https://peer.asee.org/about .
Last updated
2025-11-16
Database
ProQuest One Academic