Jump to content

Reading floats through Modbus IP


Recommended Posts

HI,

I'm trying to communicate with another device via my V350. I'm using Modbus IP and I can successfully connect and read the 16-bit registers.

However when I try to read the 32-bit registers I get either some very small numbers, below was my best guess, but as you can see I get a very small number. (should be 32856.876) 

I would also like to be able to read the 64-bit registers if possible

 

Thanks 

 

All the best,

Palsson

image.png.1061edf9de6d679ddf9cd22212b51792.png

image.png.52cf3593d284ffa5f587bda3db01e7cf.png

Link to comment
Share on other sites

  • MVP 2023

464525156_08-Jun-1822_19.gif.87183af7691948c8eb6eaac4e8fb1e02.gif

Decision at 1015 makes no sense to me given the number relationships in the table at the top.  I would be expecting the decision at 1014 if the values are 32-bit.  Is this perhaps a typo? Or am I missing something?  It wouldn't be the first time I've seen wrong info from a maker that completely screws up attempts to read things correctly.

I'd be doing Joe's thoughts but as 2 steps, with the 2nd step being the decision block into the MI as you have already done successfully.

But Joe does way more of this sort of thing than me, so will likely have a much better way.

cheers,

Aus

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...