- Platform information:
- OS: debian 10
- Java Runtime Environment: docker image
- openHAB version: 3.1.0
- ISG version. 12.1.0
- Issue of the topic: i cannot connect to ISG. I got the error " Error with read: org.openhab.core.io.transport.modbus.internal.ModbusSlaveErrorResponseExceptionImpl: Slave responsed with error=2". The TCP Modbus is online with default parameters.
UID: modbus:tcp:1fcbeb88fd
label: Modbus TCP Slave
thingTypeUID: modbus:tcp
configuration:
rtuEncoded: false
timeBetweenTransactionsMillis: 60
connectMaxTries: 3
reconnectAfterMillis: 0
port: 502
timeBetweenReconnectMillis: 0
host: xxx.xxx.xxx.xxx
connectTimeoutMillis: 30000
id: 1
enableDiscovery: false
UID: modbus:heatpump:1fcbeb88fd:139079e891
label: StiebelEltron
thingTypeUID: modbus:heatpump
configuration:
refresh: 60
maxTries: 10
bridgeUID: modbus:tcp:1fcbeb88fd
18:42:25.467 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=500, length=36, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 1f5321fc-0fd1-4748-baa9-208c4aea01fb]
18:42:25.530 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=500, length=36, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 1f5321fc-0fd1-4748-baa9-208c4aea01fb]
18:42:25.592 [ERROR] [ort.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=500, length=36, maxTries=3]). Aborting. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 1f5321fc-0fd1-4748-baa9-208c4aea01fb]
18:42:25.656 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=3500, length=16, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 35351b00-de66-4713-8537-a8d3a4f0543f]
18:42:25.734 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=3500, length=16, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 35351b00-de66-4713-8537-a8d3a4f0543f]
18:42:25.797 [ERROR] [ort.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=3500, length=16, maxTries=3]). Aborting. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID 35351b00-de66-4713-8537-a8d3a4f0543f]
18:42:25.862 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_MULTIPLE_REGISTERS, start=1500, length=11, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID b35cee45-9ea3-4042-90dc-3ffd1f25eac6]
18:42:25.924 [WARN ] [ort.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_MULTIPLE_REGISTERS, start=1500, length=11, maxTries=3]). Will try again soon. Error was: net.wimpi.modbus.ModbusSlaveException Error Code = 2 [operation ID b35cee45-9ea3-4042-90dc-3ffd1f25eac6]
i have created a pooler and it can read register from ISG
18:48:57.807 [DEBUG] [dbus.handler.ModbusPollerThingHandler] - Thing modbus:poller:760fc1a197:4b8e348131 received response PollResult(result=AsyncModbusReadResult(request = ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=1, length=1, maxTries=3], registers = ModbusRegisterArray(00D2)))
18:49:02.813 [DEBUG] [dbus.handler.ModbusPollerThingHandler] - Thing modbus:poller:760fc1a197:4b8e348131 received response PollResult(result=AsyncModbusReadResult(request = ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_INPUT_REGISTERS, start=1, length=1, maxTries=3], registers = ModbusRegisterArray(00D2)))