Hallo,
Ich habe mir das USR-W610 Seriell zu WiFi Ethernet Drahtloser Konverter RS232 RS485 Serieller Server Unterstützt WatchDog Modbus Gateway TCP UDP besorgt um damit den RS485 Bus von einem Energiezähler auszulesen.
Mit dem Janitza Tool kann ich die Daten mittlerweile auslesen nach etwas rumprobieren - als Modbus TCP oder auch als Modbus RTU
momentan hab ich Modbus TCP eingestellt siehe Anhang -> Janitza4.2.png
Habe dann die Brigde modbus, Brigde poller und Thing Data erstellt entsprechend der Beschreibung
Bridge modbus:tcp:localhostTCP [ host="192.168.10.199", port=502, id=1 ] {
Bridge poller inputRegisters [ start=18, length=4, refresh=1000, type="input" ] {
Thing data input1500 [ readStart="18", readValueType="float32" ]
}
}
sobald ich das things File abspeicher hagelt es nur so von Fehlermeldungen
2022-01-19 18:31:58.772 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model '199.things'
==> /var/log/openhab2/events.log <==
2022-01-19 18:31:58.799 [hingStatusInfoChangedEvent] - 'modbus:poller:localhostTCP:inputRegisters' changed from UNINITIALIZED to INITIALIZING
2022-01-19 18:31:58.819 [hingStatusInfoChangedEvent] - 'modbus:poller:localhostTCP:inputRegisters' changed from INITIALIZING to ONLINE
2022-01-19 18:31:58.827 [hingStatusInfoChangedEvent] - 'modbus:data:localhostTCP:inputRegisters:input1500' changed from UNINITIALIZED to INITIALIZING
2022-01-19 18:31:58.841 [hingStatusInfoChangedEvent] - 'modbus:data:localhostTCP:inputRegisters:input1500' changed from INITIALIZING to ONLINE
==> /var/log/openhab2/openhab.log <==
2022-01-19 18:31:58.995 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusReadRequestBlueprint@246bed7b[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=18,length=4,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: EOFException null [operation ID 2838c4e5-c48b-47ae-b419-677e54dc93ea]
2022-01-19 18:31:59.135 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusReadRequestBlueprint@246bed7b[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=18,length=4,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: EOFException null [operation ID 2838c4e5-c48b-47ae-b419-677e54dc93ea]
2022-01-19 18:31:59.274 [ERROR] [rt.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusReadRequestBlueprint@246bed7b[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=18,length=4,maxTries=3]). Aborting. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: EOFException null [operation ID 2838c4e5-c48b-47ae-b419-677e54dc93ea]
==> /var/log/openhab2/events.log <==
2022-01-19 18:31:59.279 [hingStatusInfoChangedEvent] - 'modbus:data:localhostTCP:inputRegisters:input1500' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusReadRequestBlueprint@246bed7b[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=18,length=4,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: EOFException null', cause2=null). Message: Modbus IO Error with cause=ModbusIOException, EOF=false, message='I/O exception: EOFException null', cause2=null
2022-01-19 18:31:59.282 [hingStatusInfoChangedEvent] - 'modbus:poller:localhostTCP:inputRegisters' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error with read: org.openhab.io.transport.modbus.internal.ModbusSlaveIOExceptionImpl: Modbus IO Error with cause=ModbusIOException, EOF=false, message='I/O exception: EOFException null', cause2=null
2022-01-19 18:31:59.285 [hingStatusInfoChangedEvent] - 'modbus:data:localhostTCP:inputRegisters:input1500' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusReadRequestBlueprint@246bed7b[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=18,length=4,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: EOFException null', cause2=null). Message: Modbus IO Error with cause=ModbusIOException, EOF=false, message='I/O exception: EOFException null', cause2=null to OFFLINE (BRIDGE_OFFLINE): No online bridge
Hat jemand die Kombination USR-W610 mit dem Modbus Binding zum laufen bekommen?
Wenn ja mit welchen Einstellungen?
mit dem Thema Modbus TCP wo der USR-W610 kurz benannt wird komme ich auch nicht wirklich weiter
MfG
Klaus
Modbus mit USR-610 problem
-
- Beiträge: 3
- Registriert: 19. Jan 2022 16:29
Modbus mit USR-610 problem
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
-
- Beiträge: 3
- Registriert: 19. Jan 2022 16:29
Re: Modbus mit USR-610 problem
Schon erledigt
bei der Brigde Poller ist der type="holding" notwendig und nicht input
Manchmal klapps es auch mal so
MfG
Klaus
bei der Brigde Poller ist der type="holding" notwendig und nicht input
Manchmal klapps es auch mal so
MfG
Klaus