Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Modbus: write registers

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Modbus: write registers

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mirage last edited by

      Hello, everyone,

      I am new to the forum and need your help.
      I am currently trying to get a ventilation system with Modbus connection into the ioBroker.

      The reading of the values worked at first go, but now I have the problem of writing values into the system.
      Unfortunately there is no separate tab in the Modbus adapter for this, but as far as I understood, you just write back into the corresponding values of the "holding" register.
      When I try to do this, the adapter always crashes with the following error message:
      Cannot write [257]: {"errorCode":134, "exceptionCode":1, "message": "ILLEGAL FUNCTION"}

      With a Modbus tool on my Windows PC writing works without problems.

      I have already collected the following contributions:
      https://github.com/ioBroker/ioBroker.modbus/issues/23
      Unfortunately I don't know where I could set the value "Set maxBlock to 1" to try this.

      also here in the forum there was already a discussion, unfortunately without solution:
      https://forum.iobroker.net/topic/26151/modbus-fc16-write-multiple-registers/4

      Any help is appreciated.

      Greetings,
      Mirage

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Synology NAS
      Arbeitsspeicher: 4GB
      Festplattenart: HDD
      Betriebssystem: Linux
      Nodejs-Version: v10.19.0
      NPM-Version: 6.13.4
      Installationsart: Doker
      Image genutzt: Ja
      Ort/Name der Imagedatei: buanet/iobroker:latest
      adavt created this issue in ioBroker/ioBroker.modbus

      closed Write holding registry doesn't work #23

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      764
      Online

      31.9k
      Users

      80.1k
      Topics

      1.3m
      Posts

      modbus
      1
      1
      420
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo