Reading several bits in 16-bit modbus address, ModBus TCP

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    Reading several bits in 16-bit modbus address, ModBus TCP

    Hi,

    Maybe You can help me with ModBus TCP communication with Loxone Miniserver. I'll be grateful.

    I'm trying to integrate Vitobloc 200 with Loxone Miniserver - for that integration I'm using ModBus TCP interface (I attach an user manual with ModBus registers)
    There's no problem to read hole 16- or 32-bits addresses, but I need to receive values of several bits in addresses with nr 5...12 (errors of Vitobloc, page nr 12-13). How can I do this? Do I need e.g. virtual inputs? Should I use analog or digital ModBus sensors?


    Thank You in advance,
    BB
    Angehängte Dateien
  • Jan W.
    Lox Guru
    • 30.08.2015
    • 1498

    #2
    Hi BB,

    You may try to read the whole value via Modbus TCP and use a binary decoder function block to get the bits from the value. I'm not sure if the binary decoder will just use the lower 8 Bit and a second one with a divider by 256 in front of it the upper 8 Bit. Otherwise you may have to add a formula or some more function blocks in front of the binary decoder.

    Cheers,
    Jan
    Miniserver v14.5.12.7, 2x Ext., 2x Relay Ext., 2x Dimmer Ext., DMX Ext., 1-Wire Ext., Gira KNX Tastsensor 3 Komfort, Gira KNX Präsenzmelder, Fenster- und Türkontakte, Loxone Regen- und Windsensor, Gira Dual Q Rauchmelder vernetzt, 1x Relais-Modul
    Loxberry: SmartMeter, MS Backup, CamConnect, Weather4Lox
    Lüftung: Helios KWL EC 370W ET mit Modbus TCP - via Pico-C
    Heizung: Stiebel Eltron WPF 5 cool (Sole-Wasser WP) mit ISG, FB-Heizung mit 18 Kreisen, Erdsonde - via modbus/TCP
    Node-RED: IKEA Tradfri

    Kommentar

    • Gast

      #3
      Dear Jan,
      Thank You for a quick asnwer. Today I'll check Your idea and give You feedback.

      Best Regards,
      Barbara

      Kommentar

      Lädt...