gdah Posted November 21, 2007 Report Share Posted November 21, 2007 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 Quote Link to comment
BrokenArrow Posted November 30, 2007 Report Share Posted November 30, 2007 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.