Jump to content

Modbus addressing


ASTDan

Recommended Posts

Posted

Hello,

I am using NI's Modbus Library and am having a problem. I am trying to read data at Modbus address 404198. However the address input is 16 bit and can only accept a maximum number of 65535.

Any sugestion?

post-8614-1213975922.gif?width=400

Posted

404198 is really address 4198 of the holding registers. 4 = holding registers.

Most Modbus servers are one based so 400001 is this first holding register (offset 0).

In your picture you going to read 365535 because your trying to read input registers, 3 = input registers.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.