Problem with a constant connection with NModbus4 · Issue #178 · NModbus4/NModbus4 · GitHub
Skip to content
This repository was archived by the owner on Jul 24, 2022. It is now read-only.
This repository was archived by the owner on Jul 24, 2022. It is now read-only.

Problem with a constant connection with NModbus4  #178

Description

@magicBanana3

Hello,

I use NModbus4 as a master, with the master I write and read coils of a plc-slave over TCP/IP. All of this is working, my problem is, that I don't have a constant connection. The connection of the master with the slave exist just at the moment I write or read the coils.
I tried to use the client and the master as global objects and stared a connection of the master to the slave at the beginning of my program, but this also doesn't work.
Is there a possibility to implement this idea?

I already thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions