Hi beerygaz,
This is what I tried today:
- installed the latest version on the downloader 3.1.5848.33860
- changed the baud rate to 9600 (was using 115200)
This is the result:
- if I only have a Coil (register address 1) then the PI works fine
- once I add a Holding Register (register address 40001) then nothing works anymore:
- I can't control the Coil
- the PI hangs as soon as it tries to read the Coil register
- when I change to/from BigEndian, a read does seem to happen - see log file below
I've restarted multiple times etc. I also tried to create ONLY the Holding Register device, but that also doesn't seem to work.
Any suggestions what I can test or do next?
Regards,
Jan
===
2016-01-06 11:05:59.1386| TRACE|HSPI_MODBUS.Utils.RegisterWebPage |Registering Web Page: Modbus_Config
2016-01-06 11:06:01.1937| INFO|HSPI_MODBUS.plugin.InitailiseAllGateways|Initalising modbus master gateways
2016-01-06 11:06:02.5178| INFO|HSPI_MODBUS.plugin.PopulateRegisters |Populating register database for gateway Modbus RTU Gateway
2016-01-06 11:06:02.5458| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Found 2 devices associated with this gateway.
2016-01-06 11:06:02.5638| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:1:Coil:Bool to Modbus RTU Gateway
2016-01-06 11:06:02.5988| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:40001:HoldingRegister:Int16 to Modbus RTU Gateway
2016-01-06 11:06:02.6868| WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Connected
2016-01-06 11:06:02.6958| INFO|HSPI_MODBUS.Gateway.InitTimer |Start poll timer for Modbus RTU Gateway every 60 seconds
2016-01-06 11:07:02.7179| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:07:02.7179| DEBUG|HSPI_MODBUS.Gateway.Read
==> First read from the Coil register works
|Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:07:02.7779| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
==> Read from Input Register does not work
2016-01-06 11:07:02.7879| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:08:02.7330| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
==> Now read from Coil also does not work anymore, so the first read of the Input Register seems to have created a problem
2016-01-06 11:08:02.7330| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:09:02.7481| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:09:02.7481| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
==> At this stage I switch to BigEndian
2016-01-06 11:09:41.9831| DEBUG|HSPI_MODBUS.Gateway.CloseSerial |Closing serial port
2016-01-06 11:09:41.9831| WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Unavailable
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadBoolean |Error in ReadBoolean: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadDiscretes(ReadCoilsInp utsRequest request)
at Modbus.Device.ModbusMaster.ReadCoils(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadBoolean(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadBoolean |Error in ReadBoolean: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadDiscretes(ReadCoilsInp utsRequest request)
at Modbus.Device.ModbusMaster.ReadCoils(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadBoolean(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.0131| INFO|HSPI_MODBUS.plugin.PopulateRegisters |Populating register database for gateway Modbus RTU Gateway
==> Now the Read does seem to work, both for the Coil and the Input Register
2016-01-06 11:09:42.0131| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:09:42.0131| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.0331| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:09:42.0441| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters
|Found 2 devices associated with this gateway.
2016-01-06 11:09:42.0601| DEBUG|HSPI_MODBUS.Gateway.Read
|Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:09:42.0601| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.0441| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:09:42.0731| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:1:Coil:Bool to Modbus RTU Gateway
2016-01-06 11:09:42.0731| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.0731| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.0931| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:40001:HoldingRegister:Int16 to Modbus RTU Gateway
2016-01-06 11:09:42.1061| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.0931| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.1301| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.1301| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.1751|
WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Connected
2016-01-06 11:09:42.1751| INFO|HSPI_MODBUS.Gateway.InitTimer |Start poll timer for Modbus RTU Gateway every 60 seconds
==> but then when it starts to poll again, things get stuck again when it read the Holding Register
2016-01-06 11:10:42.1962| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:10:42.1962| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:10:42.2162| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:10:42.2162| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
==> at this stage I try to change the status of the coil which does not work (get an error in the HS Log:
Jan-06 11:11:37 Error Calling SetIOMulti in plugin Modbus:Object reference not set to an instance of an object.)
2016-01-06 11:11:07.4812| DEBUG|HSPI_MODBUS.plugin.SetIOMulti |SetIOMulti set value: 1->ref:708
==> and then continues without results, also PI has become non-responsive: from HS Log:
Jan-06 11:11:37 Warning Plugin Modbus is not responding but it is still running, not restarting yet.
2016-01-06 11:11:42.2143| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:11:42.2143| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:12:42.2294| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:12:42.2294| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:13:42.2365| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:13:42.2365| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
This is what I tried today:
- installed the latest version on the downloader 3.1.5848.33860
- changed the baud rate to 9600 (was using 115200)
This is the result:
- if I only have a Coil (register address 1) then the PI works fine
- once I add a Holding Register (register address 40001) then nothing works anymore:
- I can't control the Coil
- the PI hangs as soon as it tries to read the Coil register
- when I change to/from BigEndian, a read does seem to happen - see log file below
I've restarted multiple times etc. I also tried to create ONLY the Holding Register device, but that also doesn't seem to work.
Any suggestions what I can test or do next?
Regards,
Jan
===
2016-01-06 11:05:59.1386| TRACE|HSPI_MODBUS.Utils.RegisterWebPage |Registering Web Page: Modbus_Config
2016-01-06 11:06:01.1937| INFO|HSPI_MODBUS.plugin.InitailiseAllGateways|Initalising modbus master gateways
2016-01-06 11:06:02.5178| INFO|HSPI_MODBUS.plugin.PopulateRegisters |Populating register database for gateway Modbus RTU Gateway
2016-01-06 11:06:02.5458| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Found 2 devices associated with this gateway.
2016-01-06 11:06:02.5638| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:1:Coil:Bool to Modbus RTU Gateway
2016-01-06 11:06:02.5988| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:40001:HoldingRegister:Int16 to Modbus RTU Gateway
2016-01-06 11:06:02.6868| WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Connected
2016-01-06 11:06:02.6958| INFO|HSPI_MODBUS.Gateway.InitTimer |Start poll timer for Modbus RTU Gateway every 60 seconds
2016-01-06 11:07:02.7179| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:07:02.7179| DEBUG|HSPI_MODBUS.Gateway.Read
==> First read from the Coil register works
|Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:07:02.7779| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
==> Read from Input Register does not work
2016-01-06 11:07:02.7879| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:08:02.7330| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
==> Now read from Coil also does not work anymore, so the first read of the Input Register seems to have created a problem
2016-01-06 11:08:02.7330| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:09:02.7481| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:09:02.7481| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
==> At this stage I switch to BigEndian
2016-01-06 11:09:41.9831| DEBUG|HSPI_MODBUS.Gateway.CloseSerial |Closing serial port
2016-01-06 11:09:41.9831| WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Unavailable
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadBoolean |Error in ReadBoolean: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadDiscretes(ReadCoilsInp utsRequest request)
at Modbus.Device.ModbusMaster.ReadCoils(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadBoolean(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:41.9831| ERROR|HSPI_MODBUS.Gateway.ReadBoolean |Error in ReadBoolean: The port is closed.
System.InvalidOperationException: The port is closed.
at System.IO.Ports.SerialPort.DiscardInBuffer()
at Modbus.IO.SerialPortAdapter.DiscardInBuffer()
at Modbus.IO.ModbusSerialTransport.Write(IModbusMessage message)
at Modbus.IO.ModbusTransport.UnicastMessage[T](IModbusMessage message)
at Modbus.Device.ModbusMaster.PerformReadDiscretes(ReadCoilsInp utsRequest request)
at Modbus.Device.ModbusMaster.ReadCoils(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadBoolean(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.0131| INFO|HSPI_MODBUS.plugin.PopulateRegisters |Populating register database for gateway Modbus RTU Gateway
==> Now the Read does seem to work, both for the Coil and the Input Register
2016-01-06 11:09:42.0131| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:09:42.0131| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.0331| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:09:42.0441| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters
|Found 2 devices associated with this gateway.
2016-01-06 11:09:42.0601| DEBUG|HSPI_MODBUS.Gateway.Read
|Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:09:42.0601| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.0441| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
2016-01-06 11:09:42.0731| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:1:Coil:Bool to Modbus RTU Gateway
2016-01-06 11:09:42.0731| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.0731| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.0931| DEBUG|HSPI_MODBUS.plugin.PopulateRegisters |Adding 1:40001:HoldingRegister:Int16 to Modbus RTU Gateway
2016-01-06 11:09:42.1061| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.0931| ERROR|HSPI_MODBUS.Gateway.ReadInt16 |Error in ReadInt16: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Modbus.Device.ModbusMaster.PerformReadRegisters(ReadHoldingI nputRegistersRequest request)
at Modbus.Device.ModbusMaster.ReadHoldingRegisters(Byte slaveAddress, UInt16 startAddress, UInt16 numberOfPoints)
at HSPI_MODBUS.Gateway.ReadInt16(Int32 address, Int32 SlaveID, AddressTypes AddressType)
2016-01-06 11:09:42.1301| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40001 HoldingRegister:Int16 as 0
2016-01-06 11:09:42.1301| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 1 as Coil:Bool to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.1351| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device Modbus Device : Address 40001 as HoldingRegister:Int16 to 0
2016-01-06 11:09:42.1751|
WARN|HSPI_MODBUS.plugin.UpdateGatewayDevice |Gateway status has changed to Connected
2016-01-06 11:09:42.1751| INFO|HSPI_MODBUS.Gateway.InitTimer |Start poll timer for Modbus RTU Gateway every 60 seconds
==> but then when it starts to poll again, things get stuck again when it read the Holding Register
2016-01-06 11:10:42.1962| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:10:42.1962| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:10:42.2162| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 1 Coil:Bool as 0
2016-01-06 11:10:42.2162| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40001 HoldingRegister:Int16
==> at this stage I try to change the status of the coil which does not work (get an error in the HS Log:
Jan-06 11:11:37 Error Calling SetIOMulti in plugin Modbus:Object reference not set to an instance of an object.)
2016-01-06 11:11:07.4812| DEBUG|HSPI_MODBUS.plugin.SetIOMulti |SetIOMulti set value: 1->ref:708
==> and then continues without results, also PI has become non-responsive: from HS Log:
Jan-06 11:11:37 Warning Plugin Modbus is not responding but it is still running, not restarting yet.
2016-01-06 11:11:42.2143| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:11:42.2143| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:12:42.2294| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:12:42.2294| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
2016-01-06 11:13:42.2365| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 2 registers from slaves
2016-01-06 11:13:42.2365| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 1 Coil:Bool
Comment