Jump to content

write multiple register using modbus library


gdah

Recommended Posts

  • 2 weeks later...

QUOTE(gdah @ Nov 19 2007, 11:39 PM)

hi...i have some problem when write multiple register using modbus library. I realize that when I send more that 1 data ther will be error out and no receive frame from device. my LV is ok when i only send 1 data. plz view my attchments files. tq

Do you know how modbus works? Your data is heavily laden with a header and footer, address information, possibly a checksum and even a 2's compliment flux capacitor on the end. Point is, One packet expects One message, so don't send more than "1 data". I hope my answer is at least as clear as your question.

Link to comment

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.