Jump to content

RS485 communication useing Modbus master


Recommended Posts

Hi,

This is senthil. I do the program in LabVIEW for modbus RS485 communication. I use LabVIEW 2012 full development system. i also install modbus master from VIPM. I did the program using Modbus master. I using read holding register to read the data. But in excution time data didn't show.

Modbus master.PNG

Link to comment

it looks wrong from scratch that you're repeatedly initializing and closing the port in a full throttled loop. Anyway, first things first, not knowing what your device is, and whether the communication parameters and the register address are the right ones, there is little we can say beyond "ah, it doesn't work". It might even be that you didn't wire the device correctly. Is that 2 wire RS485 or 4? Are you positive about polarities? Do the VIs give some error?

Link to comment

Hello Senthil,

I would recommend trying the "MB_Master Comm Tester" (you can find this in LabVIEW's example finder) to test the communication with the device. This way you can just focus on the testing the serial port settings and register addresses before writing your own code.

Link to comment

hi,

 i use schneider electric energy meter Model:EM:1200. which is come with RS485 communication port. my program is to read the power and power factor using RS485 communication in LabVIEW. I try to program using modbus master, but values didn't shown. please help me.

Link to comment
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.