Logic Machine Forum
ModBus Idegis DOM-24 can´t write - 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: ModBus Idegis DOM-24 can´t write (/showthread.php?tid=5130)



ModBus Idegis DOM-24 can´t write - jpnordexpert - 04.12.2023

Hello, i have a problem with An Idegis equipment DOM-24. I can read all without problem but it is imposible to write to it.

This is the mapping
{
  "manufacturer": "Idegis",
  "description": "Dom-24",
  "mapping": [
    { "name": "Alarma Caudal", "bus_datatype": "bool", "type": "discreteinput", "address": 16 },
    { "name": "Alarma Baja salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 17 },
    { "name": "Alarma Alta salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 18 },
    { "name": "Alarma Celula de electrolisis", "bus_datatype": "bool", "type": "discreteinput", "address": 19 },
    { "name": "Alarma pH bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 20 },
    { "name": "Alarma pH alto", "bus_datatype": "bool", "type": "discreteinput", "address": 21 },
    { "name": "Alarma Sobredosis min pH", "bus_datatype": "bool", "type": "discreteinput", "address": 23 },
    { "name": "Alarma Valor ORP bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 24 },
    { "name": "Alarma Valor ORP alto", "bus_datatype": "bool", "type": "discreteinput", "address": 25 },
    { "name": "Alarma Valor Cloro bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 26 },
    { "name": "Alarma Valor Cloro alto", "bus_datatype": "bool", "type": "discreteinput", "address": 27 },
    { "name": "Producción de Cloro", "bus_datatype": "uint16", "type": "inputregister", "address": 5, "units": "g/h" },
    { "name": "Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 6, "units": "%" },
    { "name": "Consigna Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 7, "units": "%" },
    { "name": "Resulta test de sal", "bus_datatype": "uint16", "type": "inputregister", "address": 8, "units": "mV" },
    { "name": "Consigna producción W", "bus_datatype": "uint16", "type": "register", "address": 38, "writeable":true, "write_multiple":true}

   

  ]
}
The last line is where is the problem. I don`t know what is wrong?

the desciption of the Idegis only allows to write multiple coil and multiple register.
.pdf   IDEGIS modbus v1.3.0 ES.pdf (Size: 408.31 KB / Downloads: 6)



RE: ModBus Idegis DOM-24 can´t write - admin - 04.12.2023

Incorrect spelling: field name must be writable not writeable


RE: ModBus Idegis DOM-24 can´t write - jpnordexpert - 13.12.2023

(04.12.2023, 12:54)admin Wrote: Incorrect spelling: field name must be writable not writeable

Uffff, sorry...Thankyou,,but do the same...imposible to write...some idea?

{
  "manufacturer": "Idegis",
  "description": "Dom-24",
  "mapping": [
    { "name": "Alarma Caudal", "bus_datatype": "bool", "type": "discreteinput", "address": 16 },
    { "name": "Alarma Baja salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 17 },
    { "name": "Alarma Alta salinidad", "bus_datatype": "bool", "type": "discreteinput", "address": 18 },
    { "name": "Alarma Celula de electrolisis", "bus_datatype": "bool", "type": "discreteinput", "address": 19 },
    { "name": "Alarma pH bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 20 },
    { "name": "Alarma pH alto", "bus_datatype": "bool", "type": "discreteinput", "address": 21 },
    { "name": "Alarma Sobredosis min pH", "bus_datatype": "bool", "type": "discreteinput", "address": 23 },
    { "name": "Alarma Valor ORP bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 24 },
    { "name": "Alarma Valor ORP alto", "bus_datatype": "bool", "type": "discreteinput", "address": 25 },
    { "name": "Alarma Valor Cloro bajo", "bus_datatype": "bool", "type": "discreteinput", "address": 26 },
    { "name": "Alarma Valor Cloro alto", "bus_datatype": "bool", "type": "discreteinput", "address": 27 },
    { "name": "Producción de Cloro", "bus_datatype": "uint16", "type": "inputregister", "address": 5, "units": "g/h" },
    { "name": "Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 6, "units": "%" },
    { "name": "Consigna Producción", "bus_datatype": "uint16", "type": "inputregister", "address": 7, "units": "%" },
    { "name": "Resulta test de sal", "bus_datatype": "uint16", "type": "inputregister", "address": 8, "units": "mV" },
    { "name": "Consigna producción W", "bus_datatype": "uint16", "type": "register", "address": 38, "writable":true, "write_multiple":true}
   
  ]
}


RE: ModBus Idegis DOM-24 can´t write - Daniel - 13.12.2023

Did you delete device and add it again after uploading new profile?


RE: ModBus Idegis DOM-24 can´t write - jpnordexpert - 13.12.2023

(13.12.2023, 13:09)Daniel Wrote: Did you delete device and add it again after uploading new profile?

Yes. i do.


RE: ModBus Idegis DOM-24 can´t write - Daniel - 13.12.2023

Can't really check manuals as they in Spanish, are sure write multiple is necessary?


RE: ModBus Idegis DOM-24 can´t write - jpnordexpert - 18.12.2023

(13.12.2023, 13:55)Daniel Wrote: Can't really check manuals as they in Spanish, are sure write multiple is necessary?

i translate the manual. In the  Supported Features it is only posible to write multiple.


RE: ModBus Idegis DOM-24 can´t write - Daniel - 18.12.2023

Can you read this register correctly?


RE: ModBus Idegis DOM-24 can´t write - jpnordexpert - 22.01.2024

Yes the read funtion is correct


RE: ModBus Idegis DOM-24 can´t write - Daniel - 22.01.2024

You didn't specify datatype, try uint16


RE: ModBus Idegis DOM-24 can´t write - jpnordexpert - 24.01.2024

Yes it was the problem, now work correctly. Thank you very much..