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 communication problems
#1
Hi

I have made this modbus script i jason format, and when I add it in the SpaceLynk I did not get values on "discrete input" and there was some scaling error, i deleted the device and corrected the errors, saved file as gold_rev2, and added it to spaceLynken. 
Now I only get value at address 63, all the others there is no commutation to. When I look at objects they are link to to, only 63 are uppdate.
Using Modbus TCP, what can be wrong here?

{"product_code":"Swegon_Gold","mapping":[
{ "name": "SA Temperature", "bus_datatype": "float16", "type": "inputregister", "address": 63,"units": "°C","value_multiplier": 0.01},
{ "name": "Damper operation active ", "bus_datatype": "bool", "type": "discreteinput", "address": 1},
{ "name": "A-Alarm", "bus_datatype": "bool", "type": "discreteinput", "address": 12},    
{ "name": "B-Alarm", "bus_datatype": "bool", "type": "discreteinput", "address": 13},
{ "name": "EA Air flow", "bus_datatype": "float16", "type": "inputregister", "address": 5,"units": "m3/h","value_multiplier": 3.6},    
{ "name": "EA Fan level", "bus_datatype": "float16", "type": "inputregister", "address": 37,"units": "%","value_multiplier": 0.01},        
{ "name": "Outdoor temperature ", "bus_datatype": "float16", "type": "inputregister", "address": 72,"units": "°C" , "value_multiplier": 0.01},
{ "name": "Heat exchanger regulator level  temperature ", "bus_datatype": "float16", "type": "inputregister","address": 90, "units": "°%","value_multiplier": 0.01},
{ "name": "SA Air flow ", "bus_datatype": "float16", "type": "inputregister", "address": 3,"units": "m3/h","value_multiplier": 3.6},    
{ "name": "SA Fan level", "bus_datatype": "float16", "type": "inputregister", "address": 36,"units": "%","value_multiplier": 0.010},
{ "name": "Reheat regulator level ", "bus_datatype": "float16", "type": "inputregister","address": 93,"units": "°%","value_multiplier": 0.01},
{ "name": "EA Temperature", "bus_datatype": "float16", "type": "inputregister", "address": 65,"units": "°C" ,"value_multiplier": 0.01},
{ "name": "Cool regulator level ", "bus_datatype": "float16", "type": "inputregister", "address":100,"units": "°%","value_multiplier": 0.01},
{ "name": "Communication operation level  ", "bus_datatype": "float16", "type": "register", "address": 792},
{ "name": "SA temperature set point ", "bus_datatype": "float16", "type": "inputregister", "address": 86,"units": "°C","value_multiplier": 0.01}

]
,"manufacturer":"Swegon","name":"Gold","product_range":"Ventilation","description":"Ventilasjon"}
Reply


Messages In This Thread
Modbus communication problems - by oyvindnordbo - 26.11.2018, 14:18
RE: Modbus communication problems - by admin - 26.11.2018, 14:36
RE: Modbus communication problems - by admin - 27.11.2018, 08:05
RE: Modbus communication problems - by Daniel - 27.11.2018, 08:24
RE: Modbus communication problems - by Daniel - 27.11.2018, 10:34
RE: Modbus communication problems - by admin - 27.11.2018, 11:20
RE: Modbus communication problems - by admin - 17.12.2018, 12:26

Forum Jump: