Skip to content

A violation regarding the specifications for the Read Exception Status. #813

@ProtocolSpecCheck

Description

@ProtocolSpecCheck

Hi,

I noticed a violation regarding the specifications for the Read Exception Status.

In the MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b3, there is one specification of Read Exception Status in the Page 21:

Precondition - !(Function code support)

Postcondition - ExceptionCode == 0x01

Image

However, libmodbus does not return the expected response with "ExceptionCode == 0x01." Instead, it provides no response.

Steps to reproduce(after installation):

1)Terminal-1 (Server: bandwidth-server-many-up)
./libmodbus/tests/bandwidth-server-many-up

  1. Terminal-2 (Client: sends a request message with the function code for Read Exception Status)
    b"\x00\x01\x00\x00\x00\x02\xff\x07"

  2. Observe and found that there is no response from the server.

Related Code:

case MODBUS_FC_READ_EXCEPTION_STATUS:

Thank you for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions