Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

modbus rtu - Can't see decimals on tags - ni opc server/client

Status
Not open for further replies.

dsasorin

Automotive
Jan 23, 2011
1
Hi. I use labview 8.6 + dsc module.
I want to read tags from a power analyzer (ion 7650) on modbus rtu protocol. i have the register map of the device. I configured ni opc server and tags needed. The problem is that i don't know how to read the entire value from register. For exemple, U12 is 217.45 Volts. My tag is configured to read a word (16bit) register, but the value that i see with opc client is just 217. I can't see decimals. If it was 21745, then it was an easy job to scale that value (divide by 100).
So, how can i see decimals ? Were should i look for ?

I tried to read the next register, but it is 0.
I tried to format the register to 32bit, but no succes, i have the same issue.
 
Replies continue below

Recommended for you

Start by sending this question to the support people for the power analyzer. It is up to them as to how/if to support "Real" values on the RTU protocol, generally they are 32bits long, and do not fit in the 16bit 4xxxxx registers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor