stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.33k stars 1.71k forks source link

Not able to find modbus version #515

Open phy455 opened 4 years ago

phy455 commented 4 years ago

Hello,

I am using libmodbus version 3.1.4.

In this library I am not able to identify which modbus protocol version is supported..

Could you please provide modbus protocol version?

Also in latest release which modbus protocol version is supported?

karlp commented 4 years ago

what versions of modbus protocol are you looking for? there's "only one"

Ritesh236 commented 4 years ago

@karlp ,

Thanks for your feedback.

We just want to know more information including version information about modbus protocol which is being used.

Ritesh236 commented 4 years ago

@karlp ,

I just want to know like "MODBUS APPLICATION PROTOCOL SPECIFICATIONV1.1b3" or any other as per information provided over Modbus

karlp commented 4 years ago

that one then.

Ritesh236 commented 4 years ago

@karlp ,

so libmodbus library is following MODBUS APPLICATION PROTOCOL SPECIFICATIONV1.1b3. correct?

So that we can have idea to move further for that.

Please confirm from your end and also if possible then let us know how i can check into libmodbus library

Regards, Ritesh Prajapati

david-glover commented 4 years ago

@Ritesh236,

Yes, libmodbus should conform to that specification. In the documentation, under external documentation, it links to the Modbus page, http://www.modbus.org/specs.php. The 1.1b3 is the most recent document (2012). Modbus is not like BACnet, which has multiple protocol revisions that add new features.

If you want to try out the library, I suggest you clone the git and examine the tests. There are client/master and server/slave examples that can be used for either TCP or serial / RS-485.

Regards, David

On Thu, Jan 16, 2020 at 1:50 PM Ritesh236 notifications@github.com wrote:

@karlp https://github.com/karlp ,

so libmodbus library is following MODBUS APPLICATION PROTOCOL SPECIFICATIONV1.1b3. correct?

So that we can have idea to move further for that.

Please confirm from your end and also if possible then let us know how i can check into libmodbus library

Regards, Ritesh Prajapati

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stephane/libmodbus/issues/515?email_source=notifications&email_token=AIFBDENPWZMOAVTASIEMJ73Q57YSZA5CNFSM4KFCU2PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJC3TEY#issuecomment-574994835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFBDEP7Z5AMTLGD36EPMTLQ57YSZANCNFSM4KFCU2PA .

Ritesh236 commented 4 years ago

@david-glover ,

Thanks for your feedback and quick response for same.

Yes. We have already taken that library with version which I have mentioned earlier and also validated client/master and server/slave with examples.

So, Thanks again for confirmation about that and will let you know if any further query regarding that

Regards, Ritesh Prajapati

karlp commented 4 years ago

@Ritesh236 can we close this issue then?

Ritesh236 commented 4 years ago

@karlp ,

Yes. We can close this issue now. Thanks for your kind support for that.

I will raise new issue if any related to this.

Regards, Ritesh Prajapati