LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview to control a furnace via an RS485 port

Hello all,

I am a novice Labview user with all of a couple weeks of experience under my belt. I am creating a Labview VI to automate the operation of our research group's CVD reactor. I have already used Fieldpoint units to control valves and flow controllers, but I'm not sure how to interface with the furnace. The furnace uses a Yokogawa UP150 temperature controller and has a RS485 communication port. The manual for the temperature controller says that the RS485 communication protocols can be either PC link, ladder, or MODBUS, but I would prefer to control the entire reactor within the Labview VI.

What are my options for interfacing with the furnace and what hardware/software would be required?

Any help is much appreciated.

Thanks,
Eric
0 Kudos
Message 1 of 5
(4,868 Views)
You might be able to test the communication by using examples on serial communication already included with LabVIEW. For instance, check the one called "LabVIEW <-> Serial.vi".

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 5
(4,847 Views)
The thing you need first is a way for your computer to speak RS485.  NI has a variety of boards and boxes that can handle that.  The next thing you need is some description of how the Yokogawa controller is controlled.  The PC Link, ladder, and MODBUS refer to protocols on the serial RS485 connection.  I am familiar with Modbus on Eurotherm controllers, so that might be my first choice for this situation, but it really comes down to getting the commands and responses from Yokogawa.  The command syntax will tell you what strings to send from LabVIEW (using VISA) and the responses will tell you what the response string you will have to parse will look like.  As a general statement, you will format a string with temperature setpoints and send that with VISA Write, and then you will send some command to have the controller respond with current process value, current setpoint, or whatever you want to know.  You will use VISA Read to get that string, and you will have to parse or convert that string into something meaningful to display or log.  The Yokogawa manual should also tell you what to set up for parameters on the RS485 link such as 2 wire or 4 wire mode, baud rate, and so on.  That stuff goes into the setup of the computers 485 device in MAX and the parameters for the VISA Open command that gets the serial port ready for use.  This is all pretty plain vanilla for LabVIEW, if you can get the right info from Yokogawa.
Bart
Message 3 of 5
(4,845 Views)

"a Yokogawa UP150 temperature controller "

.... and once you have implemented the basic comm to that widget, watch your time units!

If memory serves me correctly, it will accept time values as seconds but will report the current values in the units configured by the user. So if you set it for 300 seconds and the units displays the time in minutes it will report the time as "5".

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 5
(4,832 Views)
Great help! Thanks for the quick response!
0 Kudos
Message 5 of 5
(4,801 Views)