Skip to content

tcp.write_multiple_registers command is unable to write more than 3 registers, in modbus TCP #120

Description

@Abolohit

I have used your library in my umodbus python program to write to 4 holding registers on my modbus slave. The slave recieved only the first 3 registers successfully. The last register gets a garbage value.

To successfully write the last register, I have to use the tcp.write_single_register command seperately to send the last register after the first 3 registers have been sent over TCP.

Thus, I am able to write 4 holding registers only when I used this workaround. Please fix it to make this library perfect!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions