Temperature Control Using Labview and PLC
Temperature Control Using Labview and PLC
Abstract— Remotely controlled applications over a wide area have been commonly used in the industries today. In most of the industries direct
temperature measurement is not possible. Most of the processes for various applications require control action by using Programmable Logic
Controller (PLC) or LabVIEW. In this paper we are monitoring and controlling the process by establishing communication between PLC and
LabVIEW. This can be done by Ethernet module of PLC and used for remote control of process. Nowadays PLC can not only control by its
original software but also by third party software such as LabVIEW. The model developed and mentioned in this paper uses LabVIEW software
which provides programming, monitoring, logging and human machine interface for the temperature control of process. It is easy to integrate
different hardware simultaneously which exploits the multitasking and multiprocessing environment of LabVIEW in order to achieve the control
objective.
Keywords- Programmable Logic Controller, LabVIEW, Human machine interface.
__________________________________________________*****_________________________________________________
326
IJFRCSCE | April 2018, Available @ http://www.ijfrcsce.org
_______________________________________________________________________________________
International Journal on Future Revolution in Computer Science & Communication Engineering ISSN: 2454-4248
Volume: 4 Issue: 4 325 – 330
_______________________________________________________________________________________________
7. Save the project as Modbus Demo Project and the 4. In the Project Explorer right click on 000001 and
library as Modbus Demo Library by selecting select Rename. Rename the variable to Coil1.
File»Save All from the project explorer window. You now have access to Modbus data natively in LabVIEW through
the shared variables.
1. Your configuration window should now have variable Here a process of simple reactor tank measurement
000001 in the Added variables section. and control operation is considered. In this process all
2. Click OK. This creates a shared variable that is bound to necessary control signals are generated by PLC, but
the Modbus address and loads it into the Multiple Variable monitoring, Logging and recording the whole process from
Editor. LabVIEW.[5]
3. In the Multiple Variable Editor, select Done. This adds the Sequence of Operation:
new shared variables to the library that was created earlier.
327
IJFRCSCE | April 2018, Available @ http://www.ijfrcsce.org
_______________________________________________________________________________________
International Journal on Future Revolution in Computer Science & Communication Engineering ISSN: 2454-4248
Volume: 4 Issue: 4 325 – 330
_______________________________________________________________________________________________
1. When start button is pressed the analog value from R
to V converter of RTD will be displayed in the form
of bit register in PLC
2. In this condition Heater will be on.
3. As given set point is reached the bit value is reset and
Heater is turned off.
4. Now if temp goes below set point bit value is set and
heater is turned on this process is continuous and a
continuous control and monitoring of temperature is
achieved.
328
IJFRCSCE | April 2018, Available @ http://www.ijfrcsce.org
_______________________________________________________________________________________
International Journal on Future Revolution in Computer Science & Communication Engineering ISSN: 2454-4248
Volume: 4 Issue: 4 325 – 330
_______________________________________________________________________________________________
VI. LABVIEW PROGRAMMING The figure 10 shows the Block diagram of the Temperature
LabVIEW is a powerful and versatile analysis and control and monitoring system. The block diagram contains
instrumentation software system for measurement and the graphical source code of a LabVIEW program.
automation. It is used for communicating with devices such as
process instruments, PLCs, smart sensors, or single-loop
controllers. LabVIEW offers a variety of reliable and easy-to-
use tools to meet any of the communication needs. LabVIEW
supports Object linking and Embedding (OLE) for Process
Control (OPC) for information exchange among disparate
automation devices. LabVIEW includes compatibility with
OPC Data Access 3. OPC specification increases performance
and reliability for accessing real-time data from process
control hardware and software. With the MODBUS library for
National Instruments LabVIEW, or the built in MODBUS I/O
server in the DSC module you can use any Ethernet or serial
port as a Modbus TCP or Modbus serial master or slave. Using
the Modbus I/O server with communication gateways, you can
easily incorporate existing equipment on any industrial
network to LabVIEW application. [9]
Figure 9 shows front panel of the LabVIEW where the
temperature is measured by RTD and its analog value which is
controlled by PLC, is displayed in LabVIEW by Modbus
communication. The front panel also shows the status of Heater
whether it is on or off. If heater is on then GREEN indication
displayed and if heater is off then RED indication is displayed. Figure 10: Block diagram of LabVIEW Program
The temperature is also displayed in degree Celsius. This
shows the temperature of the process. The graph shows the VII. RESULT
changing of temperature of amplitude versus time.[10] In the industrial control process, Temperature control is a
very important especially in Interacting systems. It can have a
very good effect in quality control of products and chemical
processes Figure 9 shows, attractive
GUI based Front Panel for Temperature control application usi
ng PLC and LabVIEW integration. This Front Panel indicators
turn ON and OFF as per the process changes. This shows the
proper execution of LabVIEW program and obtains the
desired results. These ON-OFF operations are visualized on
the front panel in the form of ignition of LEDs and waveform
chart. This represents the successful communication of the PC,
PLC and Prototype setup using LabVIEW via Modbus.
VIII. CONCLUSION
The LabVIEW and PLC integration for monitoring
and controling parameter provides high-speed monitoring and
connectivity to enterprise level systems or plant. The
schneider PLC is generating actual control signal but the entire
things are monitored from the graphical user software like
LabVIEW. The design of the temerature control system is
successfully implementaed in our Labortary.
Figure 9: Front panel of LabVIEW coding for temperature
LabVIEW software enhances the performance of
monitoring and control.
systems without spending development time and enables to
handle the complexity of application. Thus the PLC can be
329
IJFRCSCE | April 2018, Available @ http://www.ijfrcsce.org
_______________________________________________________________________________________
International Journal on Future Revolution in Computer Science & Communication Engineering ISSN: 2454-4248
Volume: 4 Issue: 4 325 – 330
_______________________________________________________________________________________________
integrated with LabVIEW for controlling several real time VIEW for Real Time Process Control”, IJESE ISSN: 2319–
applicationsin industry for effective control of parameters. 6378, Volume-1, Issue-11, September 2013.
[6] Mohamed Endi, Y. Z. Elhalwagy and Attalla hashad, “Three-
REFERENCES Layer PLC/SCADA System Architecture in Process Automation
[1] Fanjie Wei, “The PLC-based Industrial temperature Control and Data Monitoring”, IEEEC – 2010,Volume 2, 978-1-4244-
System: Design and Implementation”, MATEC Web of 5586, pp 774-779.
Conferences 100:03031 · January 2017. [7] Xiaolong Li, Munigala S., Qing-An Zeng, “Design and
[2] Gray Johanson, “Labview graphical programming”, second Implementation of a Wireless Programmable Logic Controller
edition, MC Graw Hill, New york,1997. System”, Electrical and Control Engineering (ICECE),
[3] Hossain A., Rashid Muhammed H., “The hardware and software International Conference, ISBN: 978-1-4244-6880-5, pp. 3138 –
interface of a programmable logic controller to an industrial 3141, 25-27 June 2010.
grade process control system”, Industry Applications Society [8] Nargalkar Akshay, K. Uday Sravanth, Rahul Varanasi and J.
Annual Meeting, IEEE, ISBN: 0-87942-553-9, Vol.-2, pp.- 1862 Ankitha Reddy, “Real Time Automated Control of Industrial
– 1868, 7-12 Oct. 1990. Processes with PLC –LABVIEW Communication”, IJRSAT
[4] “A case study of modern PLC and LabVIEW controls” ISSN: 2319-2690 Issue-1, Volume-1, pp 035-038.
Published in: FIIW, 2011 7-8 Nov. 2011 [9] www.ni.com.
[5] Anjali S. Ashtekar, Bhagsen J.Parvat, Chandrakant B. Kadu, [10] Schneider PLC Manual.
“Application of MODBUS to Communicate the PLC and Lab
330
IJFRCSCE | April 2018, Available @ http://www.ijfrcsce.org
_______________________________________________________________________________________