Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66755

Modbus - Issues with Reading Holding Registers

$
0
0

I am trying to read the holding registers on a RS485 2 wire modbus power monitor (Veris Industries E50C2).I am receiving bytes from the device so there appears to be communication. However, the response string is the exact same string as my command string. For instance, I am sending the hexadecimal string 0103 0000 0005 in order to read the first 5 holding registers, but I am receiving this exact same string back via the read VISA read function. I have attached an image of my VI. I would expect to see the response as "0103 (the device ID and command) followed by the number of bytes to follow and the contents of the holding registers.

 

The VI is running on a cRIO 9012 with 9111 chassis. I am using the 9871 c-series RS485/RS422 interface module.

 

Any ideas what the issue may be?

 

Kind Regards

 

Adam

 

 


Viewing all articles
Browse latest Browse all 66755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>