Skip to content

Write Multiple Coils #60

@psystein

Description

@psystein

Hello,

Am rather new to the embedded programming world.
I come from the LabView Graphical Programming Dimension.

At present Building a Hobby Project.
Trying to Control multiple Relays on a ModBus RTU Slave using a Arduino Mega.
On the Slave Relay Board, the relays are controller using the Coils assigned to each relay.

The system am building, demands me to turn On Multiple Relays (Write Multiple Coils).
However, Even though i have defined a Telegram with the appropriate function code (15) and the required address, the multiple relays don't turn onn.

I digged into the library and found a comment that write multiple coils are yet to be implemented.
I tried understanding the code and it looks like the functionality has been implemented.

So am now confused and would appreciate someone to clarify if this library can be used to write multiple coils in a single query.

Thanks.

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