Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement missing (serial) functions (7,8,12,20,21,24,43) #55

Open
aldas opened this issue Apr 12, 2020 · 5 comments
Open

Implement missing (serial) functions (7,8,12,20,21,24,43) #55

aldas opened this issue Apr 12, 2020 · 5 comments

Comments

@aldas
Copy link
Owner

aldas commented Apr 12, 2020

Implement missing serial functions (7,8,11,12,17,20,21,24,43)

Modbus spec: http:https://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf

  • 07 (0x07) Read Exception Status (Serial Line only)
  • 08 (0x08) Diagnostics (Serial Line only)
  • 11 (0x0B) Get Comm Event Counter (Serial Line only)
  • 12 (0x0C) Get Comm Event Log (Serial Line only)
  • 17 (0x11) Report Server ID (Serial Line only)
  • 20 (0x14) Read File Record
  • 21 (0x15) Write File Record
  • 24 (0x18) Read FIFO Queue
  • 43 ( 0x2B) Encapsulated Interface Transport
    • 43 / 13 (0x2B / 0x0D) CANopen General Reference Request and Response
      PDU
    • 43 / 14 (0x2B / 0x0E) Read Device Identification

If anyone needs some of them let me know

@aldas aldas pinned this issue Jan 20, 2021
@aldas aldas changed the title Implement missing (serial) functions (7,8,11,12,17,20,21,22,24,43) Implement missing (serial) functions (7,8,11,12,17,20,21,24,43) Apr 11, 2022
@thanhnvh01
Copy link

i need 17 (0x11)

@aldas aldas changed the title Implement missing (serial) functions (7,8,11,12,17,20,21,24,43) Implement missing (serial) functions (7,8,12,20,21,24,43) Jan 1, 2024
@aldas
Copy link
Owner Author

aldas commented Jan 1, 2024

This may not be relevant anymore for you @thanhnvh01 but FC17 is implemented now: ReportServerIDRequest / ReportServerIDResponse

@thanhnvh01
Copy link

This may not be relevant anymore for you @thanhnvh01 but FC17 is implemented now: ReportServerIDRequest / ReportServerIDResponse

Can you do FC17 with go https://github.com/aldas/go-modbus-client.git
I want scan slave id but i dont find any library in golang to do this

@aldas
Copy link
Owner Author

aldas commented Jan 5, 2024

Yes, I can add FC there.

@aldas
Copy link
Owner Author

aldas commented Jan 7, 2024

@thanhnvh01 I have added FC17 also to Go library. Try it out and report problems in that repository. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants