ModbusTCP relay board errors

Tags: #<Tag:0x00007fc8ff020fb0> #<Tag:0x00007fc8ff020ec0>

I got a ModbusTCP relay board working, but I get an error every few minutes. Don’t know where to look for the cause. Someone who can help me?

2020-03-17 09:09:41.677 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@100d852 (unit id 3 & transaction 23248). Address: /192.168.0.14:502

2020-03-17 09:09:41.680 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@100d852 (unit id 3 & transaction 23248). Address: /192.168.0.14:502

2020-03-17 09:09:41.683 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@45a957[slaveId=3,functionCode=READ_COILS,start=0,length=24,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID ef52667b-d5b8-4350-a73a-af47d583d599]

Things

Bridge modbus:tcp:rail3 [ host="192.168.0.14", port=502, id=3 ]
{
		Bridge poller relayRegisters [ start=0, length=24, refresh=100, type="coil" ]
{
         Thing data ro301 [ readStart="0", readValueType="bit", writeStart="0", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro302 [ readStart="1", readValueType="bit", writeStart="1", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro303 [ readStart="2", readValueType="bit", writeStart="2", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro304 [ readStart="3", readValueType="bit", writeStart="3", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro305 [ readStart="4", readValueType="bit", writeStart="4", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro306 [ readStart="5", readValueType="bit", writeStart="5", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro307 [ readStart="6", readValueType="bit", writeStart="6", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro308 [ readStart="7", readValueType="bit", writeStart="7", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro309 [ readStart="8", readValueType="bit", writeStart="8", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro310 [ readStart="9", readValueType="bit", writeStart="9", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro311 [ readStart="10", readValueType="bit", writeStart="10", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro312 [ readStart="11", readValueType="bit", writeStart="11", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro313 [ readStart="12", readValueType="bit", writeStart="12", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro314 [ readStart="13", readValueType="bit", writeStart="13", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro315 [ readStart="14", readValueType="bit", writeStart="14", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro316 [ readStart="15", readValueType="bit", writeStart="15", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro317 [ readStart="16", readValueType="bit", writeStart="16", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro318 [ readStart="17", readValueType="bit", writeStart="17", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro319 [ readStart="18", readValueType="bit", writeStart="18", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro320 [ readStart="19", readValueType="bit", writeStart="19", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro321 [ readStart="20", readValueType="bit", writeStart="20", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro322 [ readStart="21", readValueType="bit", writeStart="21", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro323 [ readStart="22", readValueType="bit", writeStart="22", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]
         Thing data ro324 [ readStart="23", readValueType="bit", writeStart="23", writeValueType="bit", writeType="coil", writeMultipleEvenWithSingleRegisterOrCoil=true ]

}
}

Does the retry work? (i.e. no “Try 2 out 3” errors)

You might try the TCP tuning tips in part 2 of this post

Sorry, i don’t understand what you mean.
It does respond to the commands. Only the error messages is a question mark for me.

You also helped me with my previous modbus configuration with Railduino and I never get any error messages from that. Or is it due to an overloaded data connection?

I don’t know what it’s due to. Every Modbus device is different, there are a great many different variations and limitations. All we can tell from the log is that it didn’t answer when spoken to.

Some possible limitations are pointed out in that post I suggested; also some things for you to try out with the settings in your TCP Thing, to see if you can work around possible limitations of your device

If you knew that it recovered the errors on a retry, you’d be able to tell that you were trying to fix some minor issue. I can’t tell from here because you haven’t said if you ever see error messages in your log with "Try 2 out 3 …” or whatever.

By the way, this poller parameter -

is walloping your device. Why so fast? Your realys change several times a second without openHAB knowing about it?

If I change to refresh=500 then my Railduino fails:

2020-03-17 19:06:27.103 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - connect try 1/1 error: connect timed out. Connection TCPMasterConnection@8b7fbd[socket=Socket[unconnected]]. Endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.112 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - re-connect reached max tries 1, throwing last error: connect timed out. Connection TCPMasterConnection@8b7fbd[socket=Socket[unconnected]]. Endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.116 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - Error connecting connection TCPMasterConnection@8b7fbd[socket=Socket[unconnected]] for endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]: connect timed out

2020-03-17 19:06:27.133 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Could not connect to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] -- aborting request ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3] [operation ID ce80f652-196c-4849-b7a7-82beb40c81d3]

2020-03-17 19:06:27.152 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di201 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.174 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di202 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.176 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di201' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.188 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di203 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.192 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di202' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.199 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di204 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.208 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di205 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.214 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di203' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.215 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di206 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.220 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di207 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.225 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di209 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.231 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di204' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.230 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di210 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.241 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di205' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.244 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di211 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.251 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di206' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.253 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di212 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.260 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di207' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.261 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di213 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.266 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di209' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.268 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di210' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.272 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di211' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.269 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di214 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.274 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di212' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.276 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di213' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.283 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di215 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.283 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di214' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.287 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di215' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.287 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di216 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.292 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di217 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.292 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di216' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.301 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di218 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.300 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di217' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.306 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di218' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.308 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di219 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.322 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di220 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.326 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di221 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

2020-03-17 19:06:27.329 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di223 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.333 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di219' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.335 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di220' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.337 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di221' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.336 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di224 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.340 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di223' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.342 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:rail2:digitalInputs:di222 'Modbus Data' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502])

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.351 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di224' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.353 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di222' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.356 [hingStatusInfoChangedEvent] - 'modbus:poller:rail2:digitalInputs' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error with read: org.openhab.io.transport.modbus.ModbusConnectionException: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]

2020-03-17 19:06:27.378 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di201' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.383 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di205' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.387 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di209' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.391 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di210' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.394 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di212' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.396 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di202' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.399 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di204' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.401 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di206' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.403 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di211' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.407 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di213' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.409 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di214' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.413 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di215' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.416 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di216' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.419 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di203' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.422 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di217' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.424 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di218' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.426 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di219' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.430 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di221' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.432 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di220' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.435 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di222' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.436 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di223' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.439 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di207' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

2020-03-17 19:06:27.443 [hingStatusInfoChangedEvent] - 'modbus:data:rail2:digitalInputs:di224' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusConnectionException) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@11d4f95[slaveId=2,functionCode=READ_MULTIPLE_REGISTERS,start=5,length=24,maxTries=3]. Description: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502]). Message: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

==> /var/log/openhab2/openhab.log <==

2020-03-17 19:06:27.500 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@1df7de1 (unit id 3 & transaction 19129). Address: /192.168.0.14:502

2020-03-17 19:06:27.502 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@1df7de1 (unit id 3 & transaction 19129). Address: /192.168.0.14:502

2020-03-17 19:06:27.508 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@177266[slaveId=3,functionCode=READ_COILS,start=0,length=24,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID e842d7fd-a146-4747-9312-4349896dd5ef]

==> /var/log/openhab2/events.log <==

2020-03-17 19:06:27.601 [hingStatusInfoChangedEvent] - 'modbus:poller:rail2:digitalInputs' changed from OFFLINE (COMMUNICATION_ERROR): Error with read: org.openhab.io.transport.modbus.ModbusConnectionException: Error connecting to endpoint ModbusTCPSlaveEndpoint@13a8094[address=192.168.0.12,port=502] to ONLINE

Your network’s a bit messed up, then. What are you going to do now?

Try dividing the problem up a bit. Turn off the relay device, disable its Modbus Things. Everything left still working?

Uh, did you change the railduino poll refresh? If so, why, and what was it before?

1 Like

The Railduino’s (2x) works fine, and then I started expending. The Railduino’s is on refresh=200.
I’m going to try some, maybe my router is faulty.
Thank you for your input.

What can I best use as a refresh time for a relay board?
Can also be adjusted on hardware.

If the relays are only controlled from openHAB, you don’t need any read polling refresh at all. Have a think about what you want to read from the board, and why.

I tried without refreshing. Status is not updated by openHAB. He does well with refresh=500