This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus and Nibe Modbus40
#1
Hello
Does anyone have an working modbus-profile for Nibe Modbus 40?
I've managed to get all registers except the signed32 registers working.
The response from modbus40 to the LM5 always return an CRC-error.

When testet with the RTU read test it also return CRC error when reading int 32 or when reading 2 int16 registers.......


This code works for 16bit registers:
{ "name": "Degree Minutes 16 bit", "bus_datatype": "int16",   "type": "register", "address": 43005 , "datatype": "int16", "value_multiplier": 0.1, "writable": false },   

But when trying to read a 32 bit it return error:
Tried this:
"name": "Tot optime compr EP14_r1""bus_datatype": "uint32""address": 43420, "read_count":2, "read_offset":43420, "type": "register""datatype": "int16" },

and this:
"name""Tot optime compr EP14_r1""bus_datatype""uint32""address": 43420, "type""register""datatype""int32" },

and a lot of other combinations and everyone returns the same crc error.

When I only read the first register as a 16bit value it return the correct value, and tried to do a word swap and it then reurn the value 0.


The bus is terminated whit 120ohm resistors in both ends, and there is only this device on the bus.

Any ideas????

Help needed Huh

Eirik
Reply


Messages In This Thread
Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 10:34
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 10:42
RE: Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 10:51
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 10:56
RE: Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 11:28
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 11:38
RE: Modbus and Nibe Modbus40 - by merel - 17.07.2017, 15:42
RE: Modbus and Nibe Modbus40 - by eirik - 21.07.2017, 09:14
RE: Modbus and Nibe Modbus40 - by Mrinj - 15.03.2019, 17:42
RE: Modbus and Nibe Modbus40 - by merel - 16.04.2019, 07:28
RE: Modbus and Nibe Modbus40 - by RagingBull - 14.06.2019, 14:52
RE: Modbus and Nibe Modbus40 - by eirik - 15.06.2019, 14:04
RE: Modbus and Nibe Modbus40 - by RagingBull - 20.06.2019, 07:17
RE: Modbus and Nibe Modbus40 - by merel - 21.06.2019, 07:10
RE: Modbus and Nibe Modbus40 - by PassivPluss - 27.06.2019, 17:15
RE: Modbus and Nibe Modbus40 - by merel - 01.07.2019, 06:47
RE: Modbus and Nibe Modbus40 - by PassivPluss - 09.11.2019, 06:43
RE: Modbus and Nibe Modbus40 - by Daniel - 11.11.2019, 09:32
RE: Modbus and Nibe Modbus40 - by admin - 11.11.2019, 09:59

Forum Jump: