Pages: [1]   Go Down
Author Topic: Modbus library with 4-byte types support  (Read 510 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 200
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello.

I'm using jpmzometa's modbus library with xbee and Mango M2M. It works very well but it has a problem. The library only supports 2-byte types. Does anyone know a modbus library for arduino with 4-byte tipes support?

Thanks.
Logged

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I believe 4 byte is non-standard. You may have to rewrite the library to implement that.
Logged

If it was designed by man it can be repaired by man.

0
Offline Offline
Full Member
***
Karma: 0
Posts: 200
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes. You're right. I'm thinking that the fastest and easiest way is to convert float numbers to a equivalent integer.

Thank you.
Logged

Pages: [1]   Go Up
Jump to: