Logic Machine Forum
LM und Daikin RTD-W - Modbus - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: LM und Daikin RTD-W - Modbus (/showthread.php?tid=2907)

Pages: 1 2


RE: LM und Daikin RTD-W - Modbus - admin - 19.10.2020

for signed registers use int16 type, keep in mind that you have to create device again from scratch after uploading new profile


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

I think datatype is int16 for this register, Each time you change something in profile you must delete the device, delete the old profile, then add new profile and add device and map objects.


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

I have now changed the profile, deleted the old one, added the device with the new profile and now under Objects on the GA I have e.g. B. 2150 sent = should stand for 21.50 degrees, when the holding register is queried, but 32767 is still there. No change.

However, no more error messages.


Here is a picture for the changed values


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

Pate your profile again


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

look here

Code:
{
  "product_code": "RT",
  "manufacturer": "Realtime",
  "name": "RTD-W Control",
  "product_range": "Realtime Modbus",
  "description": "Realtime Modbus RT ",
  "mapping": [
    {
      "name": "Sollwert Wasservorlauf Heizen",
      "address": 1,
      "bus_datatype": 7,
      "datatype": "int16",
      "type": "register",
      "units": "Grad",
      "value_multiplier": "0.01"
    },
    {
      "name": "Sollwert Wasservorlauf Kuehlen",
      "address": 2,
      "bus_datatype": 7,
      "datatype": "int16",
      "type": "register",
      "units": "Grad",
      "value_multiplier": "0.01"
    },
    {
      "name": "Sensoreingang Heizen ein",
      "address": 10001,
      "bus_datatype": 7,
      "datatype": "int16",
      "type": "register",
      "units": "ein/aus"
     }
  ]
}

The "datatype" agrees with 7 ?? just took it over without knowing exactly whether it would fit?

I also included the last part "Sensor input" as an example. This is about the input register I10001.


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

For the temp objects use bus_datatype 9 as this is floating value


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

I changed the Datatype to 9 for holding registers 1 and 2, but what I transfer to Modbus with KNX is not changed when I run the RTU read test - it remains at 32767.

Code:
{
  "product_code": "RT",
  "manufacturer": "Realtime",
  "name": "RTD-W Control",
  "product_range": "Realtime Modbus",
  "description": "Realtime Modbus RT ",
  "mapping": [
    {
      "name": "Sollwert Wasservorlauf Heizen",
      "address": 1,
      "bus_datatype": 9,
      "datatype": "int16",
      "type": "register",
      "units": "Grad",
      "value_multiplier": "0.01"
    },
    {
      "name": "Sollwert Wasservorlauf Kuehlen",
      "address": 2,
      "bus_datatype": 9,
      "datatype": "int16",
      "type": "register",
      "units": "Grad",
      "value_multiplier": "0.01"
    },
    {
      "name": "Sensoreingang Heizen ein",
      "address": 10001,
      "bus_datatype": 7,
      "datatype": "int16",
      "type": "register",
      "units": "ein/aus"
     }
  ]
}
I send z. B. 2150 and 32767 remains.

Any idea why that is? or am I wrong here?


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

you are not transferring anything from KNX yet as write is not enabled Smile
To write add "writable": 1

For the sensor it should automatically convert to boolean so you can change bus_datatype to 1. Delete the units and if you want to change it to something else use custom value in objects. Otherwise you can add enumeration.


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

My profile now looks like this - should it be describable, right? So far nothing has changed!
sri, but i am more than grateful for your help!

Enclosed the profile.


Code:
{
  "product_code": "RT",
  "manufacturer": "Realtime",
  "name": "RTD-W Control",
  "product_range": "Realtime Modbus",
  "description": "Realtime Modbus RT ",
  "mapping": [
    {
      "name": "Sollwert Wasservorlauf Heizen",
      "address": 1,
      "bus_datatype": 9,
      "datatype": "uint16",
      "type": "register",
      "value_multiplier": "0.01",
      "writable": 1
    },
    {
      "name": "Sollwert Wasservorlauf Kuehlen",
      "address": 2,
      "bus_datatype": 9,
      "datatype": "uint16",
      "type": "register",
      "value_multiplier": "0.01",
      "writable": 1
    },
    {
      "name": "Sensoreingang Heizen ein",
      "address": 10001,
      "bus_datatype": 1,
      "datatype": "int16",
      "type": "register",
      "writable": 1
     }
  ]
}



RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

The sensor is type inputregister and you can't write to it.


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

(19.10.2020, 13:49)Daniel. Wrote: The sensor is type  inputregister and you can't write to it.
ok deleted ;-) but why don't the values in holding registers 1 and 2 change? As soon as I insert the device and link it with GAs, I get the values 327.56

If I enter 250 or the like, it remains at 327.56.

According to the instructions, the holding register can be written to and read - so it should be possible to specify a setpoint, right?


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

Most likely this is what the slave has in the register. I would check your device if it doesn't have some errors as this is maximum value.


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

would it also be conceivable because I only have the Modbus gateway, but no air conditioning machine behind it, so that the values are not changed because of it?

(because there is no control behind it?)


RE: LM und Daikin RTD-W - Modbus - Daniel - 19.10.2020

Most likely yes.


RE: LM und Daikin RTD-W - Modbus - mkoermer - 19.10.2020

ok, then we have circled the current problem ;-)
Then we'll try it out for life soon ...

thank you for your help!

Best regards
Michael