LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to comunicate with a Mitsubishi E150 HMI through RS232

 
I am trying to get data from a Mitsubishi E150 HMI.
 
Can I do this using LabVIEW?
It comunicates through RS232C and I I only have the register addresses: register D12 for pressure and D22 for temperature
 
 
 
0 Kudos
Message 1 of 3
(3,118 Views)

Hello,
If you can read from the instrument through the serial port, you shouldn't have any trouble reading that data in LabVIEW.  All you need to do is configure the port in MAX (or the device manager if you are using a built in serial port) to set the baud rate, termination, etc.  It will show up in the VISA Resource Control/Constant in LabVIEW as COMx (by default), where x is the port number.  In LabVIEW, go to Help>>Finder Examples and from the folder tree, browse to Hardware Input and Output>>Serial>>Basic Serial Write and Read.vi to find an quick example of serial communication.  All port configuration can actually be done through this example in LabVIEW.  All you do is send a command to the instrument (with proper termination) and read back the response.  Please try this out and see if are able to read from your instrument.  Please post back to this forum if you have any trouble!

Have a great day!

Chris R.
Applications Engineer
National Instruments

Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,105 Views)
You could use an OPC server program and the LABVIEW DSC module, or you have to make LABVIEW emulate the protocol used to talk to the device. There are modbus vi's available for talking to a bunch of stuff. I'm not sure what protocol the E150 uses.
0 Kudos
Message 3 of 3
(3,101 Views)