HI,
I think problem is simple and lies in lack of my knowledge ;)
My set:
Win7 Pro + USB/RS232 converter + Fatek PLC with Modbus RTU RS232 port (Same set is working fine with Promotic Scada software)
addons:org.openhab.binding.modbus-1.6.1.jar
org.openhab.binding.serial-1.6.1.jar
openhab.cfg:modbus:poll=2000
modbus:serial.slave1.connection=COM4:9600
modbus:
serial.slave1.id=1
modbus:serial.slave1.length=7
modbus:serial.slave1.type=coil
demo.items:Group All
Group gGF (All)
Group GF_Kitchen "Kitchen" <kitchen> (gGF)
Switch sw1 "sw1" (GF_Kitchen, Lights {modbus="slave1:7"}
default.sitemap:sitemap demo label="Main Menu"
{
Frame {
Group item=gGF label="Ground Floor" icon="groundfloor"
}
}
}
starting openhab:2014-12-07 02:40:21.675 [INFO ] [.service.AbstractActiveService] - Modbus Polling Service has been started
Last request: 01 01 00 00 00 04 3d c9
Error reading response
execute try 1 error: I/O exception - failed to read
Last request: 01 01 00 00 00 04 3d c9
Error reading response
execute try 2 error: I/O exception - failed to read
Last request: 01 01 00 00 00 04 3d c9
Error reading response
2014-12-07 02:40:23.453 [INFO ] [.b.modbus.internal.ModbusSlave] - ModbusSlave error getting responce from slave
from openhab.log:2014-12-07 02:40:16.167 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /
openhab.app2014-12-07 02:40:21.675 [INFO ] [.service.AbstractActiveService] - Modbus Polling Service has been started
2014-12-07 02:40:23.453 [INFO ] [.b.modbus.internal.ModbusSlave] - ModbusSlave error getting responce from slave
2014-12-07 02:40:27.744 [INFO ] [.b.modbus.internal.ModbusSlave] - ModbusSlave error getting responce from slave
2014-12-07 02:40:32.051 [INFO ] [.b.modbus.internal.ModbusSlave] - ModbusSlave error getting responce from slave
Any one could give me some hint what should i check? Maybe something is wrong at PLC side?
PLC Station number = 1
RS232 config:Baud Rate: 9600
Parity: None
Data bit: 8
Stop Bit: 1
Reply delay time: 3ms
Transmission Delay: 0x10ms
Receive Time-out interval time: 50x10ms
Protocol: ModBus RTU(Slave)
Any suggestions are welcome ;)