Skip to content

Read Coil is causing adapter to disconnect from device #626

@turpler

Description

@turpler

I want to control a multi channel relay card. I can connect to the device and control all channels via coil addresses (e.g. 0 to 8). I do not use Aliases. Switching the channels on and off is working well, but I do not get the status reported back. In order to receive the status information and to read the address after activation command, I ticked the box (Poll) in the Coil channel settings.
Activating the adapter it turns green but ends at a orange state after a few seconds.
Looking in the log the adapter reports : Relay1 - started polling -------------- for several lines - then the connection is being closed.

Does anyone know about this issue? What is the problem? How can it be solved?
What happens when the Poll box is ticked? Is it waiting for a response when the activate command is being sent (01 05) or is it a status query (01 01)?

Can anyone help?
Thanxx.

Modbus Adapter 6.3.2
Node.js V20.18.2
NPM 10.8.2
JS Controller ´70.6
IOBroker 7.4.10

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